1 |
commit: 4f25636537c05b244257cc26da7aabd80c2b3e30 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 18 08:25:10 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 18 08:25:50 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f256365 |
7 |
|
8 |
media-libs/libfishsound: EAPI-7 bump, sort deps, fix description |
9 |
|
10 |
Thanks-to: Michael Mair-Keimberger (iamnr3) <bu9zilla <AT> gmail.com> |
11 |
Closes: https://bugs.gentoo.org/663800 |
12 |
Closes: https://github.com/gentoo/gentoo/pull/9032 |
13 |
|
14 |
.../libfishsound/files/libfishsound-1.0.0-pc.patch | 4 ++-- |
15 |
media-libs/libfishsound/libfishsound-1.0.0.ebuild | 20 +++++++++++--------- |
16 |
2 files changed, 13 insertions(+), 11 deletions(-) |
17 |
|
18 |
diff --git a/media-libs/libfishsound/files/libfishsound-1.0.0-pc.patch b/media-libs/libfishsound/files/libfishsound-1.0.0-pc.patch |
19 |
index fa417bb98ef..fae476bf8e2 100644 |
20 |
--- a/media-libs/libfishsound/files/libfishsound-1.0.0-pc.patch |
21 |
+++ b/media-libs/libfishsound/files/libfishsound-1.0.0-pc.patch |
22 |
@@ -1,8 +1,8 @@ |
23 |
This will avoid including -I/usr/include/FLAC in `pkg-config --cflags fishsound` since |
24 |
FLAC/assert.h will collide with system assert.h. |
25 |
|
26 |
---- fishsound.pc.in |
27 |
-+++ fishsound.pc.in |
28 |
+--- a/fishsound.pc.in |
29 |
++++ b/fishsound.pc.in |
30 |
@@ -5,7 +5,6 @@ |
31 |
|
32 |
Name: fishsound |
33 |
|
34 |
diff --git a/media-libs/libfishsound/libfishsound-1.0.0.ebuild b/media-libs/libfishsound/libfishsound-1.0.0.ebuild |
35 |
index e67184a6f17..d5fe387728b 100644 |
36 |
--- a/media-libs/libfishsound/libfishsound-1.0.0.ebuild |
37 |
+++ b/media-libs/libfishsound/libfishsound-1.0.0.ebuild |
38 |
@@ -1,20 +1,20 @@ |
39 |
-# Copyright 1999-2012 Gentoo Foundation |
40 |
+# Copyright 1999-2018 Gentoo Foundation |
41 |
# Distributed under the terms of the GNU General Public License v2 |
42 |
|
43 |
-EAPI=2 |
44 |
-inherit eutils |
45 |
+EAPI=7 |
46 |
|
47 |
-DESCRIPTION="Simple programming interface for decoding and encoding audio data using vorbis or speex" |
48 |
-HOMEPAGE="http://www.xiph.org/fishsound/" |
49 |
-SRC_URI="http://downloads.xiph.org/releases/libfishsound/${P}.tar.gz" |
50 |
+DESCRIPTION="Simple programming interface to decode and encode audio with vorbis or speex" |
51 |
+HOMEPAGE="https://www.xiph.org/fishsound/" |
52 |
+SRC_URI="https://downloads.xiph.org/releases/libfishsound/${P}.tar.gz" |
53 |
|
54 |
LICENSE="BSD" |
55 |
SLOT="0" |
56 |
KEYWORDS="amd64 x86" |
57 |
IUSE="flac speex" |
58 |
|
59 |
-RDEPEND="media-libs/libvorbis |
60 |
+RDEPEND=" |
61 |
media-libs/libogg |
62 |
+ media-libs/libvorbis |
63 |
flac? ( media-libs/flac ) |
64 |
speex? ( media-libs/speex )" |
65 |
DEPEND="${RDEPEND} |
66 |
@@ -23,8 +23,10 @@ DEPEND="${RDEPEND} |
67 |
# bug #395153 |
68 |
RESTRICT="test" |
69 |
|
70 |
+PATCHES=( "${FILESDIR}"/${P}-pc.patch ) |
71 |
+ |
72 |
src_prepare() { |
73 |
- epatch "${FILESDIR}"/${P}-pc.patch |
74 |
+ default |
75 |
sed -i \ |
76 |
-e 's:doxygen:doxygen-dummy:' \ |
77 |
configure || die |
78 |
@@ -42,6 +44,6 @@ src_configure() { |
79 |
|
80 |
src_install() { |
81 |
emake DESTDIR="${D}" \ |
82 |
- docdir="${D}/usr/share/doc/${PF}" install || die |
83 |
+ docdir="${D}/usr/share/doc/${PF}" install |
84 |
dodoc AUTHORS ChangeLog README |
85 |
} |