diff options
author | Harald van Dijk <truedfx@gentoo.org> | 2006-02-18 23:42:52 +0000 |
---|---|---|
committer | Harald van Dijk <truedfx@gentoo.org> | 2006-02-18 23:42:52 +0000 |
commit | 30efb9171600609d1c7d766fe32a152210bf1875 (patch) | |
tree | c99c0335fa1da60a855807be20e3fd87e2f20366 /media-sound/sexypsf/sexypsf-0.4.7.ebuild | |
parent | Fixed the build procedure, so we don't need to sed the Makefile. Added a warn... (diff) | |
download | gentoo-2-30efb9171600609d1c7d766fe32a152210bf1875.tar.gz gentoo-2-30efb9171600609d1c7d766fe32a152210bf1875.tar.bz2 gentoo-2-30efb9171600609d1c7d766fe32a152210bf1875.zip |
Get rid of bmp support, and fix warnings
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'media-sound/sexypsf/sexypsf-0.4.7.ebuild')
-rw-r--r-- | media-sound/sexypsf/sexypsf-0.4.7.ebuild | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/media-sound/sexypsf/sexypsf-0.4.7.ebuild b/media-sound/sexypsf/sexypsf-0.4.7.ebuild index 3b5a0b6a7e3e..074f60362f94 100644 --- a/media-sound/sexypsf/sexypsf-0.4.7.ebuild +++ b/media-sound/sexypsf/sexypsf-0.4.7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/sexypsf/sexypsf-0.4.7.ebuild,v 1.4 2006/01/26 06:32:23 truedfx Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/sexypsf/sexypsf-0.4.7.ebuild,v 1.5 2006/02/18 23:42:52 truedfx Exp $ inherit eutils @@ -13,10 +13,9 @@ SLOT="0" #-sparc: 0.4.5: Couldn't load minispf KEYWORDS="~amd64 ~ppc -sparc ~x86" -IUSE="bmp xmms" +IUSE="xmms" DEPEND="sys-libs/zlib - bmp? ( media-sound/beep-media-player ) xmms? ( media-sound/xmms )" S=${WORKDIR}/${PN} @@ -36,29 +35,18 @@ src_compile() { emake CPU="${CPU}" || die "emake failed" - if use bmp || use xmms; then - if ! use xmms; then - local XMMSCONF=beep-config - else - local XMMSCONF=xmms-config - fi - + if use xmms; then cd "${S}" # do make clean to force rebuild with -fPIC make clean || die "make clean failed" # don't generate separate xmms and bmp plugins; they're compatible - emake CPU="${CPU}" XMMSCONF="${XMMSCONF}" sexypsf || die "building plugin failed" + emake CPU="${CPU}" sexypsf || die "building plugin failed" fi } src_install() { dobin Linux/sexypsf - if use bmp; then - exeinto "$(beep-config --input-plugin-dir)" - doexe libsexypsf.so - fi - if use xmms; then exeinto "$(xmms-config --input-plugin-dir)" doexe libsexypsf.so |