diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-06-06 11:04:52 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-06-06 11:04:52 +0000 |
commit | 40d42379573b93f43e2c6791aeeb345d46f57b18 (patch) | |
tree | 609aaa3efff399dfee79ff38dcb27250861a8b59 /media-sound/trommler | |
parent | amd64/x86 stable, bug #271889 (diff) | |
download | gentoo-2-40d42379573b93f43e2c6791aeeb345d46f57b18.tar.gz gentoo-2-40d42379573b93f43e2c6791aeeb345d46f57b18.tar.bz2 gentoo-2-40d42379573b93f43e2c6791aeeb345d46f57b18.zip |
Some EAPI2 love before opening stable bug.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/trommler')
-rw-r--r-- | media-sound/trommler/metadata.xml | 2 | ||||
-rw-r--r-- | media-sound/trommler/trommler-3.8.ebuild | 27 |
2 files changed, 15 insertions, 14 deletions
diff --git a/media-sound/trommler/metadata.xml b/media-sound/trommler/metadata.xml index e1774e3d9ad7..ae573a60407f 100644 --- a/media-sound/trommler/metadata.xml +++ b/media-sound/trommler/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>sound</herd> + <herd>sound</herd> </pkgmetadata> diff --git a/media-sound/trommler/trommler-3.8.ebuild b/media-sound/trommler/trommler-3.8.ebuild index 66a080772002..52ca9ce60780 100644 --- a/media-sound/trommler/trommler-3.8.ebuild +++ b/media-sound/trommler/trommler-3.8.ebuild @@ -1,9 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/trommler/trommler-3.8.ebuild,v 1.2 2008/02/01 20:57:17 drac Exp $ - -EAPI=1 +# $Header: /var/cvsroot/gentoo-x86/media-sound/trommler/trommler-3.8.ebuild,v 1.3 2009/06/06 11:04:52 ssuominen Exp $ +EAPI=2 inherit eutils toolchain-funcs DESCRIPTION="GTK+ based drum machine." @@ -15,7 +14,7 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" IUSE="+sox" -RDEPEND=">=x11-libs/gtk+-2 +RDEPEND="x11-libs/gtk+:2 sox? ( media-sound/sox )" DEPEND="${RDEPEND} x11-misc/makedepend @@ -24,21 +23,23 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${PN/t/T} src_compile() { - emake export.h || die "emake export.h failed." + emake export.h || die "emake export.h failed" emake CFLAGS="${CFLAGS} $(pkg-config --cflags gtk+-2.0)" \ - CC="$(tc-getCC)" || die "emake failed." + CC="$(tc-getCC)" || die "emake failed" } src_install() { exeinto /usr/libexec - doexe ${PN} - newbin "${FILESDIR}"/${PN}.wrapper ${PN} - dobin wav2smp playsample - use sox && dobin smp2wav + doexe ${PN} || die "doexe failed" + newbin "${FILESDIR}"/${PN}.wrapper ${PN} || die "newbin failed" + dobin wav2smp playsample || die "dobin failed" + if use sox; then + dobin smp2wav || die "dobin failed" + fi insinto /usr/share/${PN}/Drums - doins Drums/*.smp + doins Drums/*.smp || die "doins failed" insinto /usr/share/${PN}/Songs - doins Songs/*.sng + doins Songs/*.sng || die "doins failed" dodoc CHANGES README dohtml index.html style.css make_desktop_entry ${PN} Trommler |