diff options
Diffstat (limited to 'media-sound/gbsplay')
-rw-r--r-- | media-sound/gbsplay/Manifest | 1 | ||||
-rw-r--r-- | media-sound/gbsplay/gbsplay-0.0.91-r1.ebuild | 54 | ||||
-rw-r--r-- | media-sound/gbsplay/metadata.xml | 5 |
3 files changed, 60 insertions, 0 deletions
diff --git a/media-sound/gbsplay/Manifest b/media-sound/gbsplay/Manifest new file mode 100644 index 000000000000..49776a398e01 --- /dev/null +++ b/media-sound/gbsplay/Manifest @@ -0,0 +1 @@ +DIST gbsplay-0.0.91.tar.gz 61071 SHA256 1b0eeb17fe4bde5fbc473457f9a27ba60947a03833b29bf5e4da86c42f2e91c4 SHA512 94a5acd892740f2443fbc5455a190cba2aefddf3608a6f59213175bb8985d21d4f2cb4011e332756ae2bf977432e03be53014f203d7b9edc572048e2a6124f08 WHIRLPOOL 5bd33fe126732ddaaaaf134b0e4b90ae34203fb748a728b6bd33bcbf84a48407be39cb22b67b6bd8f9156db37ff14d3820b33a54a6f0ab3f1ef4fa6b7fd0fcd2 diff --git a/media-sound/gbsplay/gbsplay-0.0.91-r1.ebuild b/media-sound/gbsplay/gbsplay-0.0.91-r1.ebuild new file mode 100644 index 000000000000..7dfafd835b22 --- /dev/null +++ b/media-sound/gbsplay/gbsplay-0.0.91-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +IUSE="+alsa nas nls oss" +PLOCALES="de en" + +inherit l10n toolchain-funcs + +DESCRIPTION="Nintendo Gameboy sound player for GBS format" +HOMEPAGE="http://gbsplay.berlios.de" +SRC_URI="mirror://berlios/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="alsa? ( media-libs/alsa-lib:0 ) + nas? ( media-libs/nas:0 )" + +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext:0 )" + +src_configure() { + tc-export AR CC + + # No econf, because "unknown option '--build=x86_64-pc-linux-gnu'" + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --docdir=/usr/share/doc/${PF} \ + --without-xmmsplugin \ + --without-test \ + $(use_enable nls i18n) \ + $(use_enable oss devdsp) \ + $(use_enable alsa) \ + $(use_enable nas) || die "Configure failed." +} + +src_compile() { + emake CC="$(tc-getCC)" SPLINT="true" +} + +remove_disabled_locale() { + rm -rf "${D}"/usr/share/locale/$1 +} + +src_install() { + default + + l10n_for_each_disabled_locale_do remove_disabled_locale +} diff --git a/media-sound/gbsplay/metadata.xml b/media-sound/gbsplay/metadata.xml new file mode 100644 index 000000000000..ae573a60407f --- /dev/null +++ b/media-sound/gbsplay/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sound</herd> +</pkgmetadata> |