1 |
commit: 8ccd5493691e3ef42f3c5e89fcec360c4cf11e86 |
2 |
Author: Aaron Bauman <bman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 2 17:10:43 2018 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 2 22:37:15 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ccd5493 |
7 |
|
8 |
media-libs/liboggz: bump EAPI and drop eutils |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
media-libs/liboggz/files/liboggz-1.1.1-destdir.patch | 4 ++-- |
13 |
media-libs/liboggz/liboggz-1.1.1.ebuild | 18 +++++++++--------- |
14 |
2 files changed, 11 insertions(+), 11 deletions(-) |
15 |
|
16 |
diff --git a/media-libs/liboggz/files/liboggz-1.1.1-destdir.patch b/media-libs/liboggz/files/liboggz-1.1.1-destdir.patch |
17 |
index c58a0c960f7..54378b2d728 100644 |
18 |
--- a/media-libs/liboggz/files/liboggz-1.1.1-destdir.patch |
19 |
+++ b/media-libs/liboggz/files/liboggz-1.1.1-destdir.patch |
20 |
@@ -1,5 +1,5 @@ |
21 |
---- src/tools/Makefile.am |
22 |
-+++ src/tools/Makefile.am |
23 |
+--- a/src/tools/Makefile.am |
24 |
++++ b/src/tools/Makefile.am |
25 |
@@ -75,10 +75,7 @@ |
26 |
# see http://lists.xiph.org/pipermail/ogg-dev/2008-July/001083.html |
27 |
install-exec-local: |
28 |
|
29 |
diff --git a/media-libs/liboggz/liboggz-1.1.1.ebuild b/media-libs/liboggz/liboggz-1.1.1.ebuild |
30 |
index fc5cf5c65a1..3897d7e7835 100644 |
31 |
--- a/media-libs/liboggz/liboggz-1.1.1.ebuild |
32 |
+++ b/media-libs/liboggz/liboggz-1.1.1.ebuild |
33 |
@@ -1,8 +1,9 @@ |
34 |
-# Copyright 1999-2017 Gentoo Foundation |
35 |
+# Copyright 1999-2018 Gentoo Foundation |
36 |
# Distributed under the terms of the GNU General Public License v2 |
37 |
|
38 |
-EAPI=2 |
39 |
-inherit autotools eutils |
40 |
+EAPI=6 |
41 |
+ |
42 |
+inherit autotools |
43 |
|
44 |
DESCRIPTION="Oggz provides a simple programming interface for reading and writing Ogg files and streams" |
45 |
HOMEPAGE="http://www.xiph.org/oggz/" |
46 |
@@ -19,8 +20,10 @@ DEPEND="${RDEPEND} |
47 |
doc? ( app-doc/doxygen ) |
48 |
test? ( app-text/docbook-sgml-utils )" |
49 |
|
50 |
+PATCHES=( "${FILESDIR}/${P}-destdir.patch" ) |
51 |
+ |
52 |
src_prepare() { |
53 |
- epatch "${FILESDIR}"/${P}-destdir.patch |
54 |
+ default |
55 |
|
56 |
if ! use doc; then |
57 |
sed -i -e '/AC_CHECK_PROG/s:doxygen:dIsAbLe&:' configure.ac || die |
58 |
@@ -31,13 +34,10 @@ src_prepare() { |
59 |
|
60 |
src_configure() { |
61 |
econf \ |
62 |
- --disable-dependency-tracking \ |
63 |
$(use_enable static-libs static) |
64 |
} |
65 |
|
66 |
src_install() { |
67 |
- emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}" install || die |
68 |
- dodoc AUTHORS ChangeLog README TODO |
69 |
- |
70 |
- find "${D}" -name '*.la' -delete |
71 |
+ default |
72 |
+ find "${D}" -name '*.la' -delete || die "Pruning failed" |
73 |
} |