Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/adplay/
Date: Wed, 12 Dec 2018 23:49:03
Message-Id: 1544658529.c0fe1489af29c9159ec8709779e7a56cbd657047.slyfox@gentoo
1 commit: c0fe1489af29c9159ec8709779e7a56cbd657047
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 12 23:48:43 2018 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 12 23:48:49 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0fe1489
7
8 media-sound/adplay: bump up to 1.8, bug #638580
9
10 New release fixes build failure against modern glibc.
11
12 Reported-by: Steffen 'j0inty' Stollfuß
13 Closes: https://bugs.gentoo.org/638580
14 Package-Manager: Portage-2.3.52, Repoman-2.3.12
15 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
16
17 media-sound/adplay/Manifest | 1 +
18 media-sound/adplay/adplay-1.8.ebuild | 30 ++++++++++++++++++++++++++++++
19 media-sound/adplay/metadata.xml | 1 +
20 3 files changed, 32 insertions(+)
21
22 diff --git a/media-sound/adplay/Manifest b/media-sound/adplay/Manifest
23 index 0bb775e5a85..95a5684f778 100644
24 --- a/media-sound/adplay/Manifest
25 +++ b/media-sound/adplay/Manifest
26 @@ -1 +1,2 @@
27 DIST adplay-1.7.tar.bz2 264340 BLAKE2B ea9231c66a8233ee1d026bccd073440cbbc0e8868469aee33ec0e18c7d893fa24dd20bb4fe960f908db0666e7ee5c6a4afd14051b851b011418796cc0cc2c939 SHA512 854a9bee1057d3a42308d9149e74a8abae0b6bdfda5e1466086df9d6aeed4bbc92a045bca02917fc699b43195572b39c6316ddf56ee3441add1a01d6cbbdfcbe
28 +DIST adplay-1.8.tar.bz2 333582 BLAKE2B e5d0e3baf3f37adb1a2f42eee368fbbcb3947b0c651415b60d5f1d648d004789eae0ef75b7e6ac8ad9f90ac9941332e713e36555167648a40a871659083d1b59 SHA512 6a82b10fa73ad9317303da03d2fcb1fa97772d850f3f78f53c554b9daaa9ae5d04bc2f0a1b1d25fd5d3a1eab073641d6fa0589070721612987d57762f03363c7
29
30 diff --git a/media-sound/adplay/adplay-1.8.ebuild b/media-sound/adplay/adplay-1.8.ebuild
31 new file mode 100644
32 index 00000000000..76afd8fa9a6
33 --- /dev/null
34 +++ b/media-sound/adplay/adplay-1.8.ebuild
35 @@ -0,0 +1,30 @@
36 +# Copyright 1999-2018 Gentoo Authors
37 +# Distributed under the terms of the GNU General Public License v2
38 +
39 +EAPI=7
40 +
41 +DESCRIPTION="A console player for AdLib music"
42 +HOMEPAGE="https://adplug.github.io/"
43 +SRC_URI="https://github.com/adplug/adplay-unix/releases/download/v${PV}/${P}.tar.bz2"
44 +
45 +LICENSE="GPL-2"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~ppc ~x86"
48 +IUSE="alsa ao oss sdl"
49 +
50 +RDEPEND=">=media-libs/adplug-2.2.1
51 + dev-cpp/libbinio
52 + alsa? ( media-libs/alsa-lib )
53 + ao? ( media-libs/libao )
54 + sdl? ( media-libs/libsdl )"
55 +DEPEND="${RDEPEND}
56 + virtual/pkgconfig"
57 +
58 +src_configure() {
59 + econf \
60 + --disable-output-esound \
61 + $(use_enable alsa output-alsa) \
62 + $(use_enable ao output-ao) \
63 + $(use_enable oss output-oss) \
64 + $(use_enable sdl output-sdl)
65 +}
66
67 diff --git a/media-sound/adplay/metadata.xml b/media-sound/adplay/metadata.xml
68 index 3be2784242d..dc329baaf1b 100644
69 --- a/media-sound/adplay/metadata.xml
70 +++ b/media-sound/adplay/metadata.xml
71 @@ -7,5 +7,6 @@
72 </maintainer>
73 <upstream>
74 <remote-id type="sourceforge">adplug</remote-id>
75 + <remote-id type="github">adplug/adplay-unix</remote-id>
76 </upstream>
77 </pkgmetadata>