1 |
commit: 468d8f85d3f952a8b03632a468f19405638d8a92 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 7 19:11:04 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 7 23:23:20 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=468d8f85 |
7 |
|
8 |
media-sound/jamin: 0.98.9_pre20170111 version bump, EAPI-7 |
9 |
|
10 |
Using tarballs from Debian, GCC-10 fix from Fedora, thank you very much. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/524042 |
13 |
Closes: https://bugs.gentoo.org/632442 |
14 |
Closes: https://bugs.gentoo.org/632470 |
15 |
Closes: https://bugs.gentoo.org/637562 |
16 |
Closes: https://bugs.gentoo.org/710086 |
17 |
Package-Manager: Portage-3.0.1, Repoman-2.3.23 |
18 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
19 |
|
20 |
media-sound/jamin/Manifest | 2 + |
21 |
.../files/jamin-0.98.9_pre20170111-desktop.patch | 19 +++++++ |
22 |
.../files/jamin-0.98.9_pre20170111-gcc10.patch | 24 +++++++++ |
23 |
media-sound/jamin/jamin-0.98.9_pre20170111.ebuild | 59 ++++++++++++++++++++++ |
24 |
4 files changed, 104 insertions(+) |
25 |
|
26 |
diff --git a/media-sound/jamin/Manifest b/media-sound/jamin/Manifest |
27 |
index 756d59eebb1..7b765cad99f 100644 |
28 |
--- a/media-sound/jamin/Manifest |
29 |
+++ b/media-sound/jamin/Manifest |
30 |
@@ -1 +1,3 @@ |
31 |
DIST jamin-0.95.0.tar.gz 1007290 BLAKE2B 52e28f05170880307a5e50424fce3511ece30ea9e36e479c38efbbfe80c8c6a4116742c42e74a5ded717ad6d3f6b5c780e6b79c764ad280cba3538678b223866 SHA512 c57079b65e89623ee6b3f1e71d4ce1c2d995e4a14f8decd17b5d936e99469bb85089da063358e966fdc19a6fa419698c9ca586909d85d69b0525e929a3bd2555 |
32 |
+DIST jamin_0.98.9~git20170111~199091~repack1-1.debian.tar.xz 12476 BLAKE2B d25f0a27b754a79da7146ec3c104792a20df0e4258ce01bff29011fa04e1d62057f7c11baac7991634f8161da847ced20e8a81b9d92a1f0cb8d035b32adc5ed1 SHA512 f1d2ddc0f1139ffc8ba9036cc385b08cb4c996bf776d909d56e687ead1eee9426e249c46f3eab5d4fde220c75a435a8e4cd9a726f01c9026d42b2208b79c7da7 |
33 |
+DIST jamin_0.98.9~git20170111~199091~repack1.orig.tar.bz2 679350 BLAKE2B fc111a4062c4c4ed43eb9a6ea3f8c1d44afbc63780586e8e3b260ec5f5a56781e1e74dd9ebfaac4fbdbaa487662f6b9d75983e02cdca142335d9cb5d3b666dce SHA512 5887bf1f7021d9730a0904afb532d99d9681aa50468e4cdd69c7a69ea7c248192be9a64de21e3be2d01ec6cc4535361470ebfcc4ca4fa4736fcaf5653293ccbe |
34 |
|
35 |
diff --git a/media-sound/jamin/files/jamin-0.98.9_pre20170111-desktop.patch b/media-sound/jamin/files/jamin-0.98.9_pre20170111-desktop.patch |
36 |
new file mode 100644 |
37 |
index 00000000000..bb5d8fd9158 |
38 |
--- /dev/null |
39 |
+++ b/media-sound/jamin/files/jamin-0.98.9_pre20170111-desktop.patch |
40 |
@@ -0,0 +1,19 @@ |
41 |
+--- a/data/jamin.desktop.in 2015-01-14 10:10:12.000000000 +0100 |
42 |
++++ b/data/jamin.desktop.in 2020-08-07 21:23:02.617171359 +0200 |
43 |
+@@ -1,11 +1,10 @@ |
44 |
+ [Desktop Entry] |
45 |
+-Encoding=UTF-8 |
46 |
+-_Name=JAMin |
47 |
+-_GenericName= |
48 |
+-_Comment=JACK Audio Mastering interface |
49 |
+-Categories=Application;AudioVideo; |
50 |
++Name=JAMin |
51 |
++Comment=JACK Audio Mastering interface |
52 |
++Categories=AudioVideo;Audio |
53 |
++Keywords=audio;sound;mastering;ladspa |
54 |
+ Exec=jamin |
55 |
+-Icon=jamin.svg |
56 |
++Icon=jamin |
57 |
+ MimeType=application/x-jamin; |
58 |
+ StartupNotify=true |
59 |
+ Terminal=false |
60 |
|
61 |
diff --git a/media-sound/jamin/files/jamin-0.98.9_pre20170111-gcc10.patch b/media-sound/jamin/files/jamin-0.98.9_pre20170111-gcc10.patch |
62 |
new file mode 100644 |
63 |
index 00000000000..f070267bf90 |
64 |
--- /dev/null |
65 |
+++ b/media-sound/jamin/files/jamin-0.98.9_pre20170111-gcc10.patch |
66 |
@@ -0,0 +1,24 @@ |
67 |
+diff -rup jamin-0.97.16-orig/src/hdeq.c jamin-0.97.16/src/hdeq.c |
68 |
+--- jamin-0.97.16-orig/src/hdeq.c 2007-07-01 17:33:18.000000000 +0200 |
69 |
++++ jamin-0.97.16/src/hdeq.c 2020-02-01 21:09:18.306430243 +0100 |
70 |
+@@ -122,6 +122,8 @@ void interpolate (float, int, float, flo |
71 |
+ |
72 |
+ /* vi:set ts=8 sts=4 sw=4: */ |
73 |
+ |
74 |
++/* Defined once here */ |
75 |
++GtkNotebook *l_notebook1; |
76 |
+ |
77 |
+ /* HDEQ right-click popup menu. */ |
78 |
+ |
79 |
+diff -rup jamin-0.97.16-orig/src/hdeq.h jamin-0.97.16/src/hdeq.h |
80 |
+--- jamin-0.97.16-orig/src/hdeq.h 2007-06-13 04:20:08.000000000 +0200 |
81 |
++++ jamin-0.97.16/src/hdeq.h 2020-02-01 21:04:13.562907137 +0100 |
82 |
+@@ -62,7 +62,7 @@ void hdeq_notebook1_set_page (guint page |
83 |
+ int get_current_notebook1_page (); |
84 |
+ |
85 |
+ |
86 |
+-GtkNotebook *l_notebook1; |
87 |
++extern GtkNotebook *l_notebook1; |
88 |
+ |
89 |
+ |
90 |
+ #endif |
91 |
|
92 |
diff --git a/media-sound/jamin/jamin-0.98.9_pre20170111.ebuild b/media-sound/jamin/jamin-0.98.9_pre20170111.ebuild |
93 |
new file mode 100644 |
94 |
index 00000000000..6ef0ea0376b |
95 |
--- /dev/null |
96 |
+++ b/media-sound/jamin/jamin-0.98.9_pre20170111.ebuild |
97 |
@@ -0,0 +1,59 @@ |
98 |
+# Copyright 1999-2020 Gentoo Authors |
99 |
+# Distributed under the terms of the GNU General Public License v2 |
100 |
+ |
101 |
+EAPI=7 |
102 |
+ |
103 |
+inherit autotools xdg |
104 |
+ |
105 |
+DESCRIPTION="Audio mastering interface for JACK Audio Connection Kit (JACK)" |
106 |
+HOMEPAGE="http://jamin.sourceforge.net/en/about.html https://salsa.debian.org/multimedia-team/jamin" |
107 |
+SRC_URI="http://deb.debian.org/debian/pool/main/j/${PN}/${PN}_${PV/_pre/~git}~199091~repack1.orig.tar.bz2 |
108 |
+http://deb.debian.org/debian/pool/main/j/${PN}/${PN}_${PV/_pre/~git}~199091~repack1-1.debian.tar.xz" |
109 |
+ |
110 |
+LICENSE="GPL-2" |
111 |
+SLOT="0" |
112 |
+KEYWORDS="~amd64 ~ppc ~x86" |
113 |
+IUSE="osc" |
114 |
+ |
115 |
+RDEPEND=" |
116 |
+ dev-libs/atk |
117 |
+ dev-libs/glib |
118 |
+ dev-libs/libxml2 |
119 |
+ media-libs/libsndfile |
120 |
+ >=media-plugins/swh-plugins-0.4.6 |
121 |
+ sci-libs/fftw:3.0= |
122 |
+ x11-libs/cairo |
123 |
+ x11-libs/gdk-pixbuf |
124 |
+ x11-libs/gtk+:3 |
125 |
+ x11-libs/pango |
126 |
+ virtual/jack |
127 |
+ osc? ( >=media-libs/liblo-0.26 ) |
128 |
+" |
129 |
+DEPEND="${RDEPEND}" |
130 |
+BDEPEND=" |
131 |
+ dev-util/intltool |
132 |
+ sys-devel/gettext |
133 |
+ virtual/pkgconfig |
134 |
+" |
135 |
+ |
136 |
+PATCHES=( |
137 |
+ "${WORKDIR}"/debian/patches/1003_add_dynamic_linking.patch |
138 |
+ "${WORKDIR}"/debian/patches/fix_typos.patch |
139 |
+ "${WORKDIR}"/debian/patches/NEWS.patch |
140 |
+ "${FILESDIR}"/${P}-gcc10.patch # thanks Fedora |
141 |
+ "${FILESDIR}"/${P}-desktop.patch |
142 |
+) |
143 |
+ |
144 |
+S="${WORKDIR}/${PN}" |
145 |
+ |
146 |
+src_prepare() { |
147 |
+ default |
148 |
+ sed -e "/^AC_INIT/s/.in/.ac/" -i configure.in || die |
149 |
+ mv configure.{in,ac} || die |
150 |
+ eautoreconf |
151 |
+} |
152 |
+ |
153 |
+src_configure() { |
154 |
+ econf \ |
155 |
+ $(use_enable osc) |
156 |
+} |