diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-sound/adplay |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/adplay')
-rw-r--r-- | media-sound/adplay/Manifest | 6 | ||||
-rw-r--r-- | media-sound/adplay/adplay-1.7.ebuild | 31 | ||||
-rw-r--r-- | media-sound/adplay/files/adplay-1.7-fix-c++14.patch | 22 | ||||
-rw-r--r-- | media-sound/adplay/metadata.xml | 11 |
4 files changed, 70 insertions, 0 deletions
diff --git a/media-sound/adplay/Manifest b/media-sound/adplay/Manifest new file mode 100644 index 000000000000..22f8970ca007 --- /dev/null +++ b/media-sound/adplay/Manifest @@ -0,0 +1,6 @@ +AUX adplay-1.7-fix-c++14.patch 615 SHA256 4c52c03b32c9ca8f94bb568d3f88f09d42884e661881a9865b5f4daf8d14f913 SHA512 aa18046f09493ae98ea2bfa6b2f3b39a4ccc8e24c5dbf584a90765b8962dbc6b037100844d0ad63b57e1ff60e78b45cc02dc10c9ca374d661d6caa87abfcd5ec WHIRLPOOL dd5efd1764cce68a8553201c8ca32a7ae9e471578bab9708c3ec3dea0b0f160566f866f12e59a540fa932335afdca99018200aeac7564d81d9d1ca9d9ff2fbdf +DIST adplay-1.7.tar.bz2 264340 SHA256 2c62cf763de301a05d446655380465743c5b81fb027d9791996e5eac5bf6fdc6 SHA512 854a9bee1057d3a42308d9149e74a8abae0b6bdfda5e1466086df9d6aeed4bbc92a045bca02917fc699b43195572b39c6316ddf56ee3441add1a01d6cbbdfcbe WHIRLPOOL 2b8c657803ea102fd8b5461325bf022f4ea29ea6ed9ab6e1a05668423d1ec23e8f70b0e3b3462d56bfbfb73f4a439a25ec1e35ec15a1973280d13f6b12384ed7 +EBUILD adplay-1.7.ebuild 749 SHA256 6bf6a23561ab2c1395877cd0cc9d3b988df872bfafb42b027d044e72dcdc36dd SHA512 b54d9e6672fbe0cd86fe86fc33bda8159e016c9a8d06198b4a0dd0a42dd2651ebfe13421e16de3d655c89ae2d319cd0309c2faddec12bb3102a2ad832a2a4a56 WHIRLPOOL 8c59810aa08051622039527fa83283ca19f786bd8e8634697ac0395c70f9010978ea972618f6590d99971ebcf4e2b4355f0ca7d2a4914ed7c3894a60456e1ecb +MISC ChangeLog 2616 SHA256 c2a52540da17999a5959e5aa756636cd385f8371b00839f7299d9ee170f2f246 SHA512 240ac5d4a087f281a5832e40c3bf97a68569242ee793add53d6cf43f5db7f07f09433805f96d8ffe7efc5f3de9a7273d2e6b33b3314d47b3734d247553c2b884 WHIRLPOOL b0a6a482bfd445c5dd43d8d176cc5d9c0b711fd6f6c2a00445c6b962e53eed4a14b01f87b1c08695f719db62b460bebac57bee5d4d9fd46a3971eb7e58ecf5e1 +MISC ChangeLog-2015 3382 SHA256 0b842d4ebdf557d23eb17c16cb9c65f596d6834e047adc3e9ed4ae9c8a664cd1 SHA512 2e8e145ab8555293a34e04345ed3cfc2a0edc91b3f5ccea10239348acf9a9f816eab18a85addf13610f433ba33a878b30d114a6f24afa5963d1e014bc57cf8a3 WHIRLPOOL af8dc00c9e5262e34bde53206ddf9129dd490b893eb96df98868c7a647385d9046ccbe3d50d8d2417846de65b22436a3a4687eb4a8fec47b9dd837b0c5da5eaa +MISC metadata.xml 329 SHA256 cfc5475682e64822374960c3dcd2ca07acc5ff73a68026c58a417b24d3da9d28 SHA512 a865c199afa30a18b4b810b4bdd981dfd77fd5843740a43dffc59c10b2e151c66a8e39d73bea04024f544e83f24400ae10aedc9ae3e93db9a67694adf886a073 WHIRLPOOL 0ed02ed1a2ac6ee25d834fa08b00e48ed6630c43c2a01ec1e06f3d507a697812c4f4cacb4363c40b40270c1bc0ae1dcc78be32e93e929792763bf8516e04050f diff --git a/media-sound/adplay/adplay-1.7.ebuild b/media-sound/adplay/adplay-1.7.ebuild new file mode 100644 index 000000000000..f74ad97918ce --- /dev/null +++ b/media-sound/adplay/adplay-1.7.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="A console player for AdLib music" +HOMEPAGE="http://adplug.sourceforge.net" +SRC_URI="mirror://sourceforge/adplug/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="alsa ao oss sdl" + +RDEPEND=">=media-libs/adplug-2.2.1 + dev-cpp/libbinio + alsa? ( media-libs/alsa-lib ) + ao? ( media-libs/libao ) + sdl? ( media-libs/libsdl )" +DEPEND="${RDEPEND} + virtual/pkgconfig" +PATCHES=( "${FILESDIR}/${PN}-1.7-fix-c++14.patch" ) + +src_configure() { + econf \ + --disable-output-esound \ + $(use_enable alsa output-alsa) \ + $(use_enable ao output-ao) \ + $(use_enable oss output-oss) \ + $(use_enable sdl output-sdl) +} diff --git a/media-sound/adplay/files/adplay-1.7-fix-c++14.patch b/media-sound/adplay/files/adplay-1.7-fix-c++14.patch new file mode 100644 index 000000000000..aedbbc0ab1c5 --- /dev/null +++ b/media-sound/adplay/files/adplay-1.7-fix-c++14.patch @@ -0,0 +1,22 @@ +From 48dcaa87ff91369eb41998abd72e226fe138b528 Mon Sep 17 00:00:00 2001 +From: Adam Nielsen <malvineous@shikadi.net> +Date: Sun, 22 May 2016 08:49:47 +1000 +Subject: [PATCH] Cast -1 to unsigned int to prevent compiler error + +--- + src/adplay.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/adplay.cc b/src/adplay.cc +index d73ec25..da00730 100644 +--- a/src/adplay.cc ++++ b/src/adplay.cc +@@ -90,7 +90,7 @@ static struct { + 1, 16, 0, // Else default to mono (until stereo w/ single OPL is fixed) + #endif + MSG_NOTE, +- -1, ++ (unsigned int)-1, + NULL, + NULL, + true, false, false, false, diff --git a/media-sound/adplay/metadata.xml b/media-sound/adplay/metadata.xml new file mode 100644 index 000000000000..3be2784242d4 --- /dev/null +++ b/media-sound/adplay/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">adplug</remote-id> + </upstream> +</pkgmetadata> |