public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-sound/adplay/files/, media-sound/adplay/
@ 2016-10-03 21:21 David Seifert
  0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2016-10-03 21:21 UTC (permalink / raw
  To: gentoo-commits

commit:     6924f47fe17a0242f9fffeacf3b8b61cce748083
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  3 21:20:25 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Oct  3 21:20:56 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6924f47f

media-sound/adplay: Allow for compiling with GCC 6

Gentoo-bug: 596092

Package-Manager: portage-2.3.1

 media-sound/adplay/adplay-1.7.ebuild               |  9 ++++-----
 .../adplay/files/adplay-1.7-fix-c++14.patch        | 22 ++++++++++++++++++++++
 2 files changed, 26 insertions(+), 5 deletions(-)

diff --git a/media-sound/adplay/adplay-1.7.ebuild b/media-sound/adplay/adplay-1.7.ebuild
index c84830c..6d5680f 100644
--- a/media-sound/adplay/adplay-1.7.ebuild
+++ b/media-sound/adplay/adplay-1.7.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=4
+EAPI=6
 
 DESCRIPTION="A console player for AdLib music"
 HOMEPAGE="http://adplug.sourceforge.net"
@@ -20,14 +20,13 @@ RDEPEND=">=media-libs/adplug-2.2.1
 	sdl? ( media-libs/libsdl )"
 DEPEND="${RDEPEND}
 	virtual/pkgconfig"
-
-DOCS=( AUTHORS ChangeLog NEWS README TODO )
+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) \
-		--disable-output-esound \
 		$(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 00000000..aedbbc0
--- /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,


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-sound/adplay/files/, media-sound/adplay/
@ 2020-02-28  8:11 Mikle Kolyada
  0 siblings, 0 replies; 2+ messages in thread
From: Mikle Kolyada @ 2020-02-28  8:11 UTC (permalink / raw
  To: gentoo-commits

commit:     429988cc6edf4e067ddfe71eb98097a6b77830b8
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 28 08:10:55 2020 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Fri Feb 28 08:11:07 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=429988cc

media-sound/adplay: cleanup

Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>

 media-sound/adplay/Manifest                        |  2 --
 media-sound/adplay/adplay-1.7.ebuild               | 31 ----------------------
 media-sound/adplay/adplay-1.8.ebuild               | 30 ---------------------
 .../adplay/files/adplay-1.7-fix-c++14.patch        | 22 ---------------
 media-sound/adplay/metadata.xml                    | 12 ---------
 5 files changed, 97 deletions(-)

diff --git a/media-sound/adplay/Manifest b/media-sound/adplay/Manifest
deleted file mode 100644
index 95a5684f778..00000000000
--- a/media-sound/adplay/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST adplay-1.7.tar.bz2 264340 BLAKE2B ea9231c66a8233ee1d026bccd073440cbbc0e8868469aee33ec0e18c7d893fa24dd20bb4fe960f908db0666e7ee5c6a4afd14051b851b011418796cc0cc2c939 SHA512 854a9bee1057d3a42308d9149e74a8abae0b6bdfda5e1466086df9d6aeed4bbc92a045bca02917fc699b43195572b39c6316ddf56ee3441add1a01d6cbbdfcbe
-DIST adplay-1.8.tar.bz2 333582 BLAKE2B e5d0e3baf3f37adb1a2f42eee368fbbcb3947b0c651415b60d5f1d648d004789eae0ef75b7e6ac8ad9f90ac9941332e713e36555167648a40a871659083d1b59 SHA512 6a82b10fa73ad9317303da03d2fcb1fa97772d850f3f78f53c554b9daaa9ae5d04bc2f0a1b1d25fd5d3a1eab073641d6fa0589070721612987d57762f03363c7

diff --git a/media-sound/adplay/adplay-1.7.ebuild b/media-sound/adplay/adplay-1.7.ebuild
deleted file mode 100644
index f74ad97918c..00000000000
--- a/media-sound/adplay/adplay-1.7.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# 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/adplay-1.8.ebuild b/media-sound/adplay/adplay-1.8.ebuild
deleted file mode 100644
index 8803bc8d8db..00000000000
--- a/media-sound/adplay/adplay-1.8.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="A console player for AdLib music"
-HOMEPAGE="https://adplug.github.io/"
-SRC_URI="https://github.com/adplug/adplay-unix/releases/download/v${PV}/${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"
-
-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
deleted file mode 100644
index aedbbc0ab1c..00000000000
--- a/media-sound/adplay/files/adplay-1.7-fix-c++14.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-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
deleted file mode 100644
index dc329baaf1b..00000000000
--- a/media-sound/adplay/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?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>
-		<remote-id type="github">adplug/adplay-unix</remote-id>
-	</upstream>
-</pkgmetadata>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-28  8:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-03 21:21 [gentoo-commits] repo/gentoo:master commit in: media-sound/adplay/files/, media-sound/adplay/ David Seifert
  -- strict thread matches above, loose matches on Subject: below --
2020-02-28  8:11 Mikle Kolyada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox