1 |
commit: 4b8e9ca20e6f300b2d0e18d2311690d0415699d0 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 31 19:16:48 2016 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 31 19:17:07 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b8e9ca2 |
7 |
|
8 |
media-libs/sdif: Version bump to 3.11.4 |
9 |
|
10 |
Gentoo-Bug: 572686 |
11 |
* EAPI=6 |
12 |
* Remove USE="doc" |
13 |
|
14 |
Package-Manager: portage-2.2.27 |
15 |
|
16 |
media-libs/sdif/Manifest | 1 + |
17 |
.../sdif/files/sdif-3.11.4-fix-buildsystem.patch | 60 ++++++++++++++++++++++ |
18 |
media-libs/sdif/sdif-3.11.4.ebuild | 39 ++++++++++++++ |
19 |
3 files changed, 100 insertions(+) |
20 |
|
21 |
diff --git a/media-libs/sdif/Manifest b/media-libs/sdif/Manifest |
22 |
index 2f69df2..5f11cab 100644 |
23 |
--- a/media-libs/sdif/Manifest |
24 |
+++ b/media-libs/sdif/Manifest |
25 |
@@ -1,2 +1,3 @@ |
26 |
+DIST SDIF-3.11.4-src.zip 1230479 SHA256 b1719b93babf13c6461f3db960cf383803dce274682bc284d9b6ac12405be531 SHA512 3730fdb527909403e43ea793ab97e0a3175bb63dee3d0183db831bb6be85837823c42ae2a3559b6ec94218b4338d04017353282fdc7bb79bbee467e09685d3e9 WHIRLPOOL bc639fc8c51eb9e69d8ba18de393830f3f3bfabc266a47fff1c19c847ec81ef7b857882a0968ed79c4b0220b86cbe1df70f7374d5ba0c538ba7f156d4ecc17c7 |
27 |
DIST SDIF-3.8.6-src.tar.gz 786261 SHA256 857484135cfd5f0623ff3179c60540d06c2351a21e4101f59bebfca032e8655b SHA512 5b9603bed121afe4e4bd524372332c48a226711c029271ce0a26ae644990f060104b03983a3b49afe141897bdf6e878dbfd31a853c38ab14b8d4eb98f868f9e7 WHIRLPOOL b0f5a3730d8ff324bb0e2e3fe230d4880ddbc10b0999ffd80b18e09516b89bb8103c5eea4e322bd3d2d3c94534b732aca1e33b742c5a0687c74550d462239658 |
28 |
DIST SDIF-doc.tar.gz 534161 SHA256 0ff5598019b92a4068b92175285ba03abfdfa4587f5dc1abd980bd17da73f13d SHA512 df03d8dcb69603a5ad96dbee77789b0422e39b5dfbe1f944dff1d3763a59d9dce779ef714fa041a44d9fe30ab4714c0f2343502004c1e9b03286ae701fb14e22 WHIRLPOOL c05c64eb1d290dfbd98fc5356141740851de94bd3cf0af27c114fb0713f229662f1a1e2ce1b415d1790ae5f596d2acf961a7c85fd19284f36edbdcaa7787441c |
29 |
|
30 |
diff --git a/media-libs/sdif/files/sdif-3.11.4-fix-buildsystem.patch b/media-libs/sdif/files/sdif-3.11.4-fix-buildsystem.patch |
31 |
new file mode 100644 |
32 |
index 0000000..162976c |
33 |
--- /dev/null |
34 |
+++ b/media-libs/sdif/files/sdif-3.11.4-fix-buildsystem.patch |
35 |
@@ -0,0 +1,60 @@ |
36 |
+Remove hardcoded CFLAGS, fix broken example generation. |
37 |
+ |
38 |
+--- SDIF-3.11.4-src/configure.ac |
39 |
++++ SDIF-3.11.4-src/configure.ac |
40 |
+@@ -518,15 +518,15 @@ |
41 |
+ [--enable-debug support additional library/programs with debug enabled], |
42 |
+ [echo FEATURE enable-debug... $enableval; |
43 |
+ if test "$enableval" = "yes"; then |
44 |
+- SELLIB=libsdif-debug.la; CFLAGS="$EXTERNAL_CFLAGS -g2 -Wall"; |
45 |
++ SELLIB=libsdif-debug.la; |
46 |
+ PROGLIST="querysdif-debug\$(EXEEXT) sdifextract-debug\$(EXEEXT) sdiftotext-debug\$(EXEEXT) tosdif-debug\$(EXEEXT)"; |
47 |
+ |
48 |
+ else |
49 |
+- SELLIB=libsdif.la; CFLAGS="$EXTERNAL_CFLAGS -O3"; |
50 |
++ SELLIB=libsdif.la; |
51 |
+ PROGLIST="querysdif\$(EXEEXT) sdifextract\$(EXEEXT) sdiftotext\$(EXEEXT) tosdif\$(EXEEXT)"; |
52 |
+ fi ], |
53 |
+ [ |
54 |
+-SELLIB=libsdif.la; CFLAGS="$EXTERNAL_CFLAGS -O3"; |
55 |
++SELLIB=libsdif.la; |
56 |
+ PROGLIST="querysdif\$(EXEEXT) sdifextract\$(EXEEXT) sdiftotext\$(EXEEXT) tosdif\$(EXEEXT)"; |
57 |
+ ]) |
58 |
+ |
59 |
+@@ -538,7 +538,7 @@ |
60 |
+ [--enable-profile generate additional library/programs with profiling output enabled], |
61 |
+ [echo FEATURE enable-profile... $enableval; |
62 |
+ if test "$enableval" = "yes"; then |
63 |
+- SELLIB=libsdif-profile.la; CFLAGS="$CFLAGS -g -pg -fprofile-arcs"; |
64 |
++ SELLIB=libsdif-profile.la; |
65 |
+ PROGLIST="querysdif-profile\$(EXEEXT) sdifextract-profile\$(EXEEXT) sdiftotext-profile\$(EXEEXT) tosdif-profile\$(EXEEXT)"; |
66 |
+ dnl else use the one selected above |
67 |
+ fi ], |
68 |
+--- SDIF-3.11.4-src/examples/Makefile.am |
69 |
++++ SDIF-3.11.4-src/examples/Makefile.am |
70 |
+@@ -18,18 +18,14 @@ |
71 |
+ # trying to add source code to dist, not working yet |
72 |
+ # |
73 |
+ |
74 |
+-INCLUDES = -I../include -I$(top_srcdir)/include -I$(top_srcdir)/sdif |
75 |
+-CFLAGS = @CFLAGS@ '-DVERSION="$(VERSION)"' |
76 |
++AM_CPPFLAGS = -I../include -I$(top_srcdir)/include -I$(top_srcdir)/sdif |
77 |
++AM_CFLAGS = '-DVERSION="$(VERSION)"' @PTHREAD_CFLAGS@ |
78 |
+ |
79 |
+-libsdif = $(top_srcdir)/sdif/.libs/libsdif.a |
80 |
++bin_PROGRAMS = list-types list-nvt |
81 |
+ |
82 |
+-# this is for automake |
83 |
+-EXTRA_DIST = list-types.c list-nvt.c |
84 |
++list_types_SOURCES = list-types.c |
85 |
++list_types_LDADD = $(top_srcdir)/sdif/.libs/libsdif.a @PTHREAD_CFLAGS@ @PTHREAD_LIBS@ |
86 |
+ |
87 |
+-all: list-types list-nvt |
88 |
++list_nvt_SOURCES = list-nvt.c |
89 |
++list_nvt_LDADD = $(top_srcdir)/sdif/.libs/libsdif.a @PTHREAD_CFLAGS@ @PTHREAD_LIBS@ |
90 |
+ |
91 |
+-list-types: list-types.c $(libsdif) |
92 |
+- gcc -I../include -g -o $@ $^ |
93 |
+- |
94 |
+-list-nvt: list-nvt.c $(libsdif) |
95 |
+- gcc $(LDFLAGS) -I../include -g -o $@ $^ |
96 |
|
97 |
diff --git a/media-libs/sdif/sdif-3.11.4.ebuild b/media-libs/sdif/sdif-3.11.4.ebuild |
98 |
new file mode 100644 |
99 |
index 0000000..48265bf |
100 |
--- /dev/null |
101 |
+++ b/media-libs/sdif/sdif-3.11.4.ebuild |
102 |
@@ -0,0 +1,39 @@ |
103 |
+# Copyright 1999-2016 Gentoo Foundation |
104 |
+# Distributed under the terms of the GNU General Public License v2 |
105 |
+# $Id$ |
106 |
+ |
107 |
+EAPI=6 |
108 |
+ |
109 |
+inherit autotools eutils |
110 |
+ |
111 |
+DESCRIPTION="Sound Description Interchange Format Library for audio and wave processing" |
112 |
+HOMEPAGE="http://sourceforge.net/projects/sdif/" |
113 |
+SRC_URI="http://sourceforge.net/projects/sdif/files/sdif/SDIF-${PV}/SDIF-${PV}-src.zip" |
114 |
+ |
115 |
+LICENSE="LGPL-2" |
116 |
+SLOT="0" |
117 |
+KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
118 |
+IUSE="debug ftruncate threads" |
119 |
+ |
120 |
+PATCHES=( |
121 |
+ "${FILESDIR}/${P}-fix-buildsystem.patch" |
122 |
+) |
123 |
+S="${WORKDIR}/SDIF-${PV}-src" |
124 |
+ |
125 |
+src_prepare() { |
126 |
+ mv configure.{in,ac} || die |
127 |
+ default |
128 |
+ eautoreconf |
129 |
+} |
130 |
+ |
131 |
+src_configure() { |
132 |
+ econf \ |
133 |
+ $(use_enable debug) \ |
134 |
+ $(use_enable ftruncate) \ |
135 |
+ $(use_enable threads pthreads) |
136 |
+} |
137 |
+ |
138 |
+src_install() { |
139 |
+ default |
140 |
+ prune_libtool_files --all |
141 |
+} |