1 |
commit: 1713780be34c291036483fc06dd67a1ed7c4ac39 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 20 20:25:46 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 20 20:27:15 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1713780b |
7 |
|
8 |
media-libs/adplug: Version bump to 2.3 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/509660 |
11 |
Bug: https://bugs.gentoo.org/580992 |
12 |
Package-Manager: Portage-2.3.14, Repoman-2.3.6 |
13 |
|
14 |
media-libs/adplug/Manifest | 1 + |
15 |
media-libs/adplug/adplug-2.3.ebuild | 41 +++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 42 insertions(+) |
17 |
|
18 |
diff --git a/media-libs/adplug/Manifest b/media-libs/adplug/Manifest |
19 |
index 4c15b5cb9a8..67a99aec465 100644 |
20 |
--- a/media-libs/adplug/Manifest |
21 |
+++ b/media-libs/adplug/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST adplug-2.2.1.tar.bz2 810257 SHA256 f95a015268a0dfe9ff5782f3ea7b2a69e09b8d36ccd19ebf4d979d767b6e53ef SHA512 e9b434ad58114a6677907e8f7007a325fa908f9228fbe283d72d1e2394fa27850b929309e038c84ae94f64f8db003b871775502ee8b231219caa51f6ba5d787f WHIRLPOOL 3f337b914f1779f9702014108d4cb4dc816830d1cadc0623751d979bd81213286d431225aa7d28a7aeb35fb32bc614cf581915b6e27357f3f6dc51f30ae58d19 |
24 |
+DIST adplug-2.3.tar.bz2 1462858 SHA256 f64a37f6243836bd0c9c1b7c3a563e47f4b15676d30c074e88b75b2415bfdf6a SHA512 591192032772fbedfec67924693fce3fc490e5bccb1898eea8d38b6d10f066373ebdc4868751041dd21461b5112b349f0be7ff047d7ccaa896fe4ece88ebab74 WHIRLPOOL 073898dab4bdf17a82cd0f4fd31e50381369cc7287da5aafc04932619aaaba726c0bae55aab5f0607b100a7b64b7ebfabfc35b990d261b55600da704fc94761e |
25 |
|
26 |
diff --git a/media-libs/adplug/adplug-2.3.ebuild b/media-libs/adplug/adplug-2.3.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..12fcc15d3f9 |
29 |
--- /dev/null |
30 |
+++ b/media-libs/adplug/adplug-2.3.ebuild |
31 |
@@ -0,0 +1,41 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+inherit out-of-source |
38 |
+ |
39 |
+DESCRIPTION="A free, cross-platform, hardware independent AdLib sound player library" |
40 |
+HOMEPAGE="http://adplug.sourceforge.net" |
41 |
+ |
42 |
+if [[ ${PV} == *9999 ]]; then |
43 |
+ inherit autotools git-r3 |
44 |
+ EGIT_REPO_URI="https://github.com/adplug/adplug.git" |
45 |
+else |
46 |
+ SRC_URI="https://github.com/adplug/${PN}/releases/download/${P}/${P}.tar.bz2" |
47 |
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" |
48 |
+fi |
49 |
+ |
50 |
+LICENSE="LGPL-2.1" |
51 |
+SLOT="0" |
52 |
+IUSE="debug static-libs" |
53 |
+ |
54 |
+RDEPEND=">=dev-cpp/libbinio-1.4" |
55 |
+DEPEND="${RDEPEND} |
56 |
+ virtual/pkgconfig" |
57 |
+ |
58 |
+src_prepare() { |
59 |
+ default |
60 |
+ [[ ${PV} == *9999 ]] && eautoreconf |
61 |
+} |
62 |
+ |
63 |
+my_src_configure() { |
64 |
+ econf \ |
65 |
+ $(use_enable static-libs static) \ |
66 |
+ $(use_enable debug) |
67 |
+} |
68 |
+ |
69 |
+my_src_install_all() { |
70 |
+ einstalldocs |
71 |
+ find "${D}" -name '*.la' -delete || die |
72 |
+} |