summaryrefslogtreecommitdiff
path: root/media-sound/gbsplay
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-sound/gbsplay
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/gbsplay')
-rw-r--r--media-sound/gbsplay/Manifest7
-rw-r--r--media-sound/gbsplay/files/gbsplay-0.0.91-fix-buildsystem.patch32
-rw-r--r--media-sound/gbsplay/gbsplay-0.0.91-r1.ebuild54
-rw-r--r--media-sound/gbsplay/gbsplay-0.0.91-r2.ebuild56
-rw-r--r--media-sound/gbsplay/metadata.xml8
5 files changed, 157 insertions, 0 deletions
diff --git a/media-sound/gbsplay/Manifest b/media-sound/gbsplay/Manifest
new file mode 100644
index 000000000000..1ccf1685bc3d
--- /dev/null
+++ b/media-sound/gbsplay/Manifest
@@ -0,0 +1,7 @@
+AUX gbsplay-0.0.91-fix-buildsystem.patch 824 SHA256 bb8ac34b4e8a90aab838578a7e85972dedea243fb1cc932001f8d52adfbdc1cf SHA512 f794afcfa72c53382f48c7418d939f999f553f4db8a5eb2b90ccbeaaf261681bd9f016aeeae5e1245f4c4e3817bd9badaafbdaaa614042c3353f7d643d44331e WHIRLPOOL 491f532c3e1eaa3eb26e9450de43aaff0f071a1c03327680421f6a383feb680edcf7ea3c3599453d10df8a7d46fb3eda4118dbb8e72f9ede5f3564cd266e3bd8
+DIST gbsplay-0.0.91.tar.gz 61071 SHA256 1b0eeb17fe4bde5fbc473457f9a27ba60947a03833b29bf5e4da86c42f2e91c4 SHA512 94a5acd892740f2443fbc5455a190cba2aefddf3608a6f59213175bb8985d21d4f2cb4011e332756ae2bf977432e03be53014f203d7b9edc572048e2a6124f08 WHIRLPOOL 5bd33fe126732ddaaaaf134b0e4b90ae34203fb748a728b6bd33bcbf84a48407be39cb22b67b6bd8f9156db37ff14d3820b33a54a6f0ab3f1ef4fa6b7fd0fcd2
+EBUILD gbsplay-0.0.91-r1.ebuild 1121 SHA256 e61852df09c0b3190390da7c6ae07eaea9b3a0987af47ab61d9babd56d2ebed2 SHA512 7b6857e089919c0f6aea5af97a7fc901cbd7045f462ae68b18a8e3754021494190f466f6c4c8f8035ea6227ede4959648b9cc102e5569af2e624c8935504bdd2 WHIRLPOOL 0921e8620fc1c3426fe34183a6a3766dd48a5b57ca11b464e2a12f27463dde7a5bf97f5e2b775dd3b916c1d5f6e78fb724e60cc81cd4954623ca8519a551eb66
+EBUILD gbsplay-0.0.91-r2.ebuild 1145 SHA256 fceecb51317328d364d49bcd2bddcf9a2d42f5551d71c7958a245c60d5b6a8c0 SHA512 75b4add25d82e2009486d8988300964b5c44ceb231a1fdace32a096c6aac0281153cf2cb2b66a95d1c9d731559b3d276b55cd65acf334eb05b979df8b7d16457 WHIRLPOOL de7c2d24cbb8bceef92de41c4511039b92e07873be7f5bda41b30ca8ba0aeda2a6a28b6f4f36888be7037623684aaba0f2cacd05cda169697e1bc8bd31955c2c
+MISC ChangeLog 3120 SHA256 4d6f8ac27694275952b9723e6ef777ec17f8a1e9476b3640d7ee0643a440a368 SHA512 58b05d1ae7540ff2d978dc6d466947c05a0c7e1c916dfe17824831a10f22ebf3f56c90c0656ae07bec130c5dca5637646a86a2eb3e7385156c7bf23e9eaf0f17 WHIRLPOOL adde15974ed724a8b4fac1e889d2154a30d0334f917edfd1c7a728066bd77700cbc38b79e15e427258c8f4639450e22265535d4ac6907cc44c9c7a81b76f1198
+MISC ChangeLog-2015 841 SHA256 3913456f29672d9bd1c2fb68824c388fd05e2a61b4a4550ce998e65219e2e0df SHA512 13b18747cccda7a1caa7248e34569b604ed0d06af45ba8c0f5240f1dc381c2a2a4da6a4c5843be38560d515198a8c2fbd43fe834db41c0f3a09774cc65901fa4 WHIRLPOOL 99b4d2944e4dcd04e2f3d67e29e7bb4c142891435f956b5707977b1ccaf838cef322d79ac32cddc55e9f07e72ff38f4c56cca641ea27804e726686aaa929245a
+MISC metadata.xml 253 SHA256 6b992cbf9f9d479cdf83d3f9a1ec920aa0be988f39ee4f1f41fd12b917f1b36b SHA512 78b724be3e1dbd6fc3c2e92cdbacc15ea4b0e8ee6fa22f76ebdd882b3a7bbedeaf8f80a29e36ec67e0432d2dfad3f57de4bc46480f92c8e544322755292df894 WHIRLPOOL 73df5c8f06d7079d8407b50207f0c217cf57ae161fbaf3c39e168b6f11b2bfac4f61b6191a5b9beecc981c003191844660c330dc8679580e1d2d336ff4e38e00
diff --git a/media-sound/gbsplay/files/gbsplay-0.0.91-fix-buildsystem.patch b/media-sound/gbsplay/files/gbsplay-0.0.91-fix-buildsystem.patch
new file mode 100644
index 000000000000..82089f9553a5
--- /dev/null
+++ b/media-sound/gbsplay/files/gbsplay-0.0.91-fix-buildsystem.patch
@@ -0,0 +1,32 @@
+Fix linking failure due to different GCC5 inline semantics
+https://bugs.gentoo.org/show_bug.cgi?id=571000
+
+In addition, fix QA warnings caused by passing
+an unformatted string to printf().
+
+--- gbsplay-0.0.91/Makefile
++++ gbsplay-0.0.91/Makefile
+@@ -35,7 +35,7 @@
+ -predboolothers \
+ -shiftnegative \
+ -shiftimplementation
+-GBSCFLAGS := -Wall -fsigned-char -D_FORTIFY_SOURCE=2
++GBSCFLAGS := -Wall -fsigned-char -std=gnu89
+ GBSLDFLAGS := -Wl,-O1 -lm
+ GBSPLAYLDFLAGS :=
+
+--- gbsplay-0.0.91/plugout.c
++++ gbsplay-0.0.91/plugout.c
+@@ -55,10 +55,10 @@
+ {
+ long idx;
+
+- printf(_("Available output plugins:\n\n"));
++ fputs(_("Available output plugins:\n\n"), stdout);
+
+ if (plugouts[0] == NULL) {
+- printf(_("No output plugins available.\n\n"));
++ fputs(_("No output plugins available.\n\n"), stdout);
+ return;
+ }
+
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..3b74a80e008e
--- /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
+
+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"
+SRC_URI="mirror://gentoo/${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/gbsplay-0.0.91-r2.ebuild b/media-sound/gbsplay/gbsplay-0.0.91-r2.ebuild
new file mode 100644
index 000000000000..7738a213805d
--- /dev/null
+++ b/media-sound/gbsplay/gbsplay-0.0.91-r2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PLOCALES="de en"
+inherit l10n toolchain-funcs
+
+DESCRIPTION="Nintendo Gameboy sound player for GBS format"
+HOMEPAGE="https://www.cgarbs.de/gbsplay.en.html"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+alsa nas nls oss"
+
+RDEPEND="alsa? ( media-libs/alsa-lib:0 )
+ nas? ( media-libs/nas:0 )"
+
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext:0 )"
+
+PATCHES=(
+ "${FILESDIR}/${P}-fix-buildsystem.patch"
+)
+
+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 -r "${D}"/usr/share/locale/$1 || die
+}
+
+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..ee7258ac28eb
--- /dev/null
+++ b/media-sound/gbsplay/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sound@gentoo.org</email>
+ <name>Gentoo Sound project</name>
+ </maintainer>
+</pkgmetadata>