| 1 |
# Copyright 1999-2004 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gai-album/gai-album-0.6.ebuild,v 1.5 2004/10/08 17:11:09 lordvan Exp $
|
| 4 |
|
| 5 |
MY_PV="${PV}"
|
| 6 |
MY_P="${PN}-${MY_PV}"
|
| 7 |
DESCRIPTION="Displays the CD cover of the album that XMMS is playing"
|
| 8 |
HOMEPAGE="http://gai.sourceforge.net/"
|
| 9 |
SRC_URI="mirror://sourceforge/gai/${MY_P}.tar.bz2"
|
| 10 |
LICENSE="GPL-2"
|
| 11 |
SLOT="0"
|
| 12 |
KEYWORDS="~x86 ppc"
|
| 13 |
IUSE=""
|
| 14 |
DEPEND=">=x11-libs/gai-0.5.3
|
| 15 |
>=media-sound/xmms-1.2.10"
|
| 16 |
|
| 17 |
S=${WORKDIR}/${MY_P}
|
| 18 |
|
| 19 |
src_compile() {
|
| 20 |
econf ${MY_CONF} || die
|
| 21 |
# fixing install location for ROX panel stuff
|
| 22 |
# if this doesn't work as expected please report a bug at bugs.gentoo.org
|
| 23 |
mv ${S}/Makefile ${S}/Makefile.orig
|
| 24 |
sed s%\"/usr/share%\"${D}/usr/share%g ${S}/Makefile.orig > ${S}/Makefile
|
| 25 |
emake || die
|
| 26 |
}
|
| 27 |
|
| 28 |
src_install() {
|
| 29 |
# small hack so the gnome stuff gets installed in place
|
| 30 |
mv ${S}/Makefile ${S}/Makefile.orig
|
| 31 |
sed s%"GNOMEDIR = /usr"%"GNOMEDIR = ${D}/usr"% ${S}/Makefile.orig | \
|
| 32 |
sed s%" /usr/share/apps"%" ${D}/usr/share/apps%" \
|
| 33 |
> ${S}/Makefile
|
| 34 |
einstall || die
|
| 35 |
dodoc BUGS COPYING CHANGES INSTALL README README.gai TODO ALBUMART xmms-song-change.sh
|
| 36 |
}
|