mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-04-10 08:53:33 +02:00
initial import
This commit is contained in:
60
media-plugins/xmms-shell/xmms-shell-0.99.3-r3.ebuild
Normal file
60
media-plugins/xmms-shell/xmms-shell-0.99.3-r3.ebuild
Normal file
@@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2006 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-shell/xmms-shell-0.99.3-r3.ebuild,v 1.11 2006/05/23 19:48:26 corsair Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="simple utility to control XMMS externally"
|
||||
SRC_URI="mirror://sourceforge/xmms-shell/${P}.tar.gz"
|
||||
HOMEPAGE="http://www.loganh.com/xmms-shell/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ppc64 sparc x86"
|
||||
IUSE="readline"
|
||||
|
||||
RESTRICT="primaryuri"
|
||||
|
||||
RDEPEND=">=media-sound/xmms-1.2.7
|
||||
readline? ( >=sys-libs/readline-4.1 )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/automake
|
||||
sys-devel/autoconf"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
cd ${S}
|
||||
|
||||
# Fix configure.in to detect readline
|
||||
epatch ${FILESDIR}/${PN}-readline.patch
|
||||
|
||||
# Fix null pointer when default skin
|
||||
epatch ${FILESDIR}/${PN}-null-skin.patch
|
||||
|
||||
# Remove unnecessary playlist exception
|
||||
epatch ${FILESDIR}/${PN}-playlist.patch
|
||||
|
||||
WANT_AUTOCONF=2.5
|
||||
WANT_AUTOMAKE=1.4
|
||||
aclocal
|
||||
automake --gnu --include-deps Makefile
|
||||
autoconf
|
||||
|
||||
# Fix compilation in gcc3.3
|
||||
sed -i -e 's/<string>/<string.h>/' ${S}/src/getline.cc
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf \
|
||||
$(use_with readline) \
|
||||
|| die "Configuration failed."
|
||||
|
||||
emake || die "Make failed."
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR=${D} install || die "Install failed."
|
||||
dodoc AUTHORS ChangeLog README
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user