1 |
commit: 2dd89bebd8a6ffb5dfb74d9dc2cc13c014bc4707 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 14 16:30:41 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 15 15:25:07 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dd89beb |
7 |
|
8 |
media-libs/adplug: Add live ebuild |
9 |
|
10 |
Package-Manager: Portage-2.3.13, Repoman-2.3.4 |
11 |
|
12 |
media-libs/adplug/adplug-9999.ebuild | 39 ++++++++++++++++++++++++++++++++++++ |
13 |
1 file changed, 39 insertions(+) |
14 |
|
15 |
diff --git a/media-libs/adplug/adplug-9999.ebuild b/media-libs/adplug/adplug-9999.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..b44d43a3eae |
18 |
--- /dev/null |
19 |
+++ b/media-libs/adplug/adplug-9999.ebuild |
20 |
@@ -0,0 +1,39 @@ |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=6 |
25 |
+ |
26 |
+DESCRIPTION="A free, cross-platform, hardware independent AdLib sound player library" |
27 |
+HOMEPAGE="http://adplug.sourceforge.net" |
28 |
+ |
29 |
+if [[ ${PV} == *9999 ]]; then |
30 |
+ inherit autotools git-r3 |
31 |
+ EGIT_REPO_URI="https://github.com/adplug/adplug.git" |
32 |
+else |
33 |
+ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
34 |
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" |
35 |
+fi |
36 |
+ |
37 |
+LICENSE="LGPL-2.1" |
38 |
+SLOT="0" |
39 |
+IUSE="debug static-libs" |
40 |
+ |
41 |
+RDEPEND=">=dev-cpp/libbinio-1.4" |
42 |
+DEPEND="${RDEPEND} |
43 |
+ virtual/pkgconfig" |
44 |
+ |
45 |
+src_prepare() { |
46 |
+ default |
47 |
+ [[ ${PV} == *9999 ]] && eautoreconf |
48 |
+} |
49 |
+ |
50 |
+src_configure() { |
51 |
+ econf \ |
52 |
+ $(use_enable static-libs static) \ |
53 |
+ $(use_enable debug) |
54 |
+} |
55 |
+ |
56 |
+src_install() { |
57 |
+ default |
58 |
+ find "${D}" -name '*.la' -delete || die |
59 |
+} |