1 |
commit: 2f0cc63bfec047e2064bb8c1cb0d51e1bdd4e0da |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 14 15:44:57 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 14 15:44:57 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f0cc63b |
7 |
|
8 |
media-sound/tuxguitar: Remove last-rited pkg |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
media-sound/tuxguitar/Manifest | 1 - |
13 |
.../files/tuxguitar-fixed-ant-files.patch | 237 --------------------- |
14 |
media-sound/tuxguitar/metadata.xml | 38 ---- |
15 |
media-sound/tuxguitar/tuxguitar-1.3.2.ebuild | 131 ------------ |
16 |
profiles/package.mask | 1 - |
17 |
5 files changed, 408 deletions(-) |
18 |
|
19 |
diff --git a/media-sound/tuxguitar/Manifest b/media-sound/tuxguitar/Manifest |
20 |
deleted file mode 100644 |
21 |
index 4acc640746a..00000000000 |
22 |
--- a/media-sound/tuxguitar/Manifest |
23 |
+++ /dev/null |
24 |
@@ -1 +0,0 @@ |
25 |
-DIST tuxguitar-1.3.2-src.tar.gz 82294553 BLAKE2B 74e0e4b0f2d3d63dbf8f16db43a165f77b39ad54e21091520c06228ea789161a6fb65a1a05bde0f1473afe61e2d990f646b5228b9fe19c114da21a5c32aa32b6 SHA512 fb94472df25578d94ad11cd385cfc9347bfefcdd8ebedd2e785f3645d6b2e0d6d87d3fc457af159865b3fae77ad443ac4246b3c6fbe42397f4d15908dd3b7149 |
26 |
|
27 |
diff --git a/media-sound/tuxguitar/files/tuxguitar-fixed-ant-files.patch b/media-sound/tuxguitar/files/tuxguitar-fixed-ant-files.patch |
28 |
deleted file mode 100644 |
29 |
index 9e1cbf778e5..00000000000 |
30 |
--- a/media-sound/tuxguitar/files/tuxguitar-fixed-ant-files.patch |
31 |
+++ /dev/null |
32 |
@@ -1,237 +0,0 @@ |
33 |
-diff -purN a/TuxGuitar/build.properties b/TuxGuitar/build.properties |
34 |
---- a/TuxGuitar/build.properties 2016-03-16 21:26:23.000000000 +0000 |
35 |
-+++ b/TuxGuitar/build.properties 2016-08-23 10:55:06.271917712 +0100 |
36 |
-@@ -5,4 +5,5 @@ ant.build.javac.source=1.5 |
37 |
- ant.build.javac.target=1.5 |
38 |
- |
39 |
- path.tuxguitar-lib=../TuxGuitar-lib/tuxguitar-lib.jar |
40 |
-+path.tuxguitar-editor-utils=../TuxGuitar-editor-utils/tuxguitar-editor-utils.jar |
41 |
- path.swt=../TuxGuitar/lib/swt.jar |
42 |
-diff -purN a/TuxGuitar/build.xml b/TuxGuitar/build.xml |
43 |
---- a/TuxGuitar/build.xml 2016-03-16 21:26:23.000000000 +0000 |
44 |
-+++ b/TuxGuitar/build.xml 2016-08-23 08:59:03.987797193 +0100 |
45 |
-@@ -12,6 +12,7 @@ |
46 |
- |
47 |
- <path id="class.path"> |
48 |
- <pathelement location="${path.tuxguitar-lib}"/> |
49 |
-+ <pathelement location="${path.tuxguitar-editor-utils}"/> |
50 |
- <pathelement location="${path.swt}"/> |
51 |
- </path > |
52 |
- |
53 |
-diff -purN a/TuxGuitar-awt-graphics/build.properties b/TuxGuitar-awt-graphics/build.properties |
54 |
---- a/TuxGuitar-awt-graphics/build.properties 1970-01-01 01:00:00.000000000 +0100 |
55 |
-+++ b/TuxGuitar-awt-graphics/build.properties 2016-08-23 09:11:06.737851049 +0100 |
56 |
-@@ -0,0 +1,7 @@ |
57 |
-+### ANT Flags |
58 |
-+# |
59 |
-+# build.compiler=gcj |
60 |
-+ant.build.javac.source=1.5 |
61 |
-+ant.build.javac.target=1.5 |
62 |
-+ |
63 |
-+path.tuxguitar-lib=../TuxGuitar-lib/tuxguitar-lib.jar |
64 |
-diff -purN a/TuxGuitar-awt-graphics/build.xml b/TuxGuitar-awt-graphics/build.xml |
65 |
---- a/TuxGuitar-awt-graphics/build.xml 1970-01-01 01:00:00.000000000 +0100 |
66 |
-+++ b/TuxGuitar-awt-graphics/build.xml 2016-08-23 12:40:24.005858183 +0100 |
67 |
-@@ -0,0 +1,45 @@ |
68 |
-+<?xml version="1.0" encoding="iso-8859-1"?> |
69 |
-+ |
70 |
-+<project name="TuxGuitar-awt-graphics" basedir="." default="all"> |
71 |
-+ <description> |
72 |
-+ TuxGuitar AWT Graphics |
73 |
-+ </description> |
74 |
-+ |
75 |
-+ <property file="build.properties" /> |
76 |
-+ <property name="build.src.path" value="src" /> |
77 |
-+ <property name="build.path" value="build" /> |
78 |
-+ <property name="build.jar" value="tuxguitar-awt-graphics.jar" /> |
79 |
-+ |
80 |
-+ <path id="class.path"> |
81 |
-+ <pathelement location="${path.tuxguitar-lib}"/> |
82 |
-+ </path > |
83 |
-+ |
84 |
-+ <target name="init" depends="clean"> |
85 |
-+ <mkdir dir="${build.path}" /> |
86 |
-+ </target> |
87 |
-+ |
88 |
-+ <target name="build" depends="init"> |
89 |
-+ <echo>+-------------------------------------------------+</echo> |
90 |
-+ <echo>| B U I L D I N G P L U G I N |</echo> |
91 |
-+ <echo>+-------------------------------------------------+</echo> |
92 |
-+ |
93 |
-+ <javac srcdir="${build.src.path}" destdir="${build.path}" debug="false" > |
94 |
-+ <classpath refid="class.path"/> |
95 |
-+ <include name="**/*.java"/> |
96 |
-+ </javac> |
97 |
-+ |
98 |
-+ <echo>+-----------------------------------------------+</echo> |
99 |
-+ <echo>| P A C K A G I N G P L U G I N |</echo> |
100 |
-+ <echo>+-----------------------------------------------+</echo> |
101 |
-+ |
102 |
-+ <jar destfile="${build.jar}" basedir="${build.path}" /> |
103 |
-+ <delete quiet="true" dir="${build.path}" /> |
104 |
-+ </target> |
105 |
-+ |
106 |
-+ <target name="clean"> |
107 |
-+ <delete quiet="true" dir="${build.path}" /> |
108 |
-+ <delete quiet="true" file="${build.jar}" /> |
109 |
-+ </target> |
110 |
-+ |
111 |
-+ <target name="all" depends="build" /> |
112 |
-+</project> |
113 |
-diff -purN a/TuxGuitar-editor-utils/build.properties b/TuxGuitar-editor-utils/build.properties |
114 |
---- a/TuxGuitar-editor-utils/build.properties 1970-01-01 01:00:00.000000000 +0100 |
115 |
-+++ b/TuxGuitar-editor-utils/build.properties 2016-08-23 08:46:42.164749665 +0100 |
116 |
-@@ -0,0 +1,7 @@ |
117 |
-+### ANT Flags |
118 |
-+# |
119 |
-+# build.compiler=gcj |
120 |
-+ant.build.javac.source=1.5 |
121 |
-+ant.build.javac.target=1.5 |
122 |
-+ |
123 |
-+path.tuxguitar-lib=../TuxGuitar-lib/tuxguitar-lib.jar |
124 |
-diff -purN a/TuxGuitar-editor-utils/build.xml b/TuxGuitar-editor-utils/build.xml |
125 |
---- a/TuxGuitar-editor-utils/build.xml 1970-01-01 01:00:00.000000000 +0100 |
126 |
-+++ b/TuxGuitar-editor-utils/build.xml 2016-08-23 10:51:44.533478977 +0100 |
127 |
-@@ -0,0 +1,45 @@ |
128 |
-+<?xml version="1.0" encoding="iso-8859-1"?> |
129 |
-+ |
130 |
-+<project name="TuxGuitar-editor-utils" basedir="." default="all"> |
131 |
-+ <description> |
132 |
-+ TuxGuitar Editor Utils |
133 |
-+ </description> |
134 |
-+ |
135 |
-+ <property file="build.properties" /> |
136 |
-+ <property name="build.src.path" value="src" /> |
137 |
-+ <property name="build.path" value="build" /> |
138 |
-+ <property name="build.jar" value="tuxguitar-editor-utils.jar" /> |
139 |
-+ |
140 |
-+ <path id="class.path"> |
141 |
-+ <pathelement location="${path.tuxguitar-lib}"/> |
142 |
-+ </path > |
143 |
-+ |
144 |
-+ <target name="init" depends="clean"> |
145 |
-+ <mkdir dir="${build.path}" /> |
146 |
-+ </target> |
147 |
-+ |
148 |
-+ <target name="build" depends="init"> |
149 |
-+ <echo>+-------------------------------------------------+</echo> |
150 |
-+ <echo>| B U I L D I N G L I B R A R Y |</echo> |
151 |
-+ <echo>+-------------------------------------------------+</echo> |
152 |
-+ |
153 |
-+ <javac srcdir="${build.src.path}" destdir="${build.path}" debug="false" > |
154 |
-+ <classpath refid="class.path"/> |
155 |
-+ <include name="**/*.java"/> |
156 |
-+ </javac> |
157 |
-+ |
158 |
-+ <echo>+-----------------------------------------------+</echo> |
159 |
-+ <echo>| P A C K A G I N G L I B R A R Y |</echo> |
160 |
-+ <echo>+-----------------------------------------------+</echo> |
161 |
-+ |
162 |
-+ <jar destfile="${build.jar}" basedir="${build.path}" /> |
163 |
-+ <delete quiet="true" dir="${build.path}" /> |
164 |
-+ </target> |
165 |
-+ |
166 |
-+ <target name="clean"> |
167 |
-+ <delete quiet="true" dir="${build.path}" /> |
168 |
-+ <delete quiet="true" file="${build.jar}" /> |
169 |
-+ </target> |
170 |
-+ |
171 |
-+ <target name="all" depends="build" /> |
172 |
-+</project> |
173 |
-diff -purN a/TuxGuitar-gtp-ui/build.xml b/TuxGuitar-gtp-ui/build.xml |
174 |
---- a/TuxGuitar-gtp-ui/build.xml 2016-03-16 21:26:23.000000000 +0000 |
175 |
-+++ b/TuxGuitar-gtp-ui/build.xml 2016-08-23 15:21:38.068032721 +0100 |
176 |
-@@ -9,7 +9,7 @@ |
177 |
- <property name="build.src.path" value="src${file.separator}" /> |
178 |
- <property name="build.share.path" value="share${file.separator}" /> |
179 |
- <property name="build.path" value="build${file.separator}" /> |
180 |
-- <property name="build.jar" value="tuxguitar-gtp.jar" /> |
181 |
-+ <property name="build.jar" value="tuxguitar-gtp-ui.jar" /> |
182 |
- |
183 |
- <path id="class.path"> |
184 |
- <pathelement location="${path.tuxguitar-lib}"/> |
185 |
-diff -purN a/TuxGuitar-jsa/build.properties b/TuxGuitar-jsa/build.properties |
186 |
---- a/TuxGuitar-jsa/build.properties 2016-03-16 21:26:23.000000000 +0000 |
187 |
-+++ b/TuxGuitar-jsa/build.properties 2016-08-23 12:45:00.324325595 +0100 |
188 |
-@@ -7,4 +7,5 @@ ant.build.javac.target=1.5 |
189 |
- path.tuxguitar=../TuxGuitar/tuxguitar.jar |
190 |
- path.tuxguitar-lib=../TuxGuitar-lib/tuxguitar-lib.jar |
191 |
- path.tuxguitar-gm-utils=../TuxGuitar-gm-utils/tuxguitar-gm-utils.jar |
192 |
-+path.tuxguitar-editor-utils=../TuxGuitar-editor-utils/tuxguitar-editor-utils.jar |
193 |
- path.swt=../TuxGuitar/lib/swt.jar |
194 |
-diff -purN a/TuxGuitar-jsa/build.xml b/TuxGuitar-jsa/build.xml |
195 |
---- a/TuxGuitar-jsa/build.xml 2016-03-16 21:26:23.000000000 +0000 |
196 |
-+++ b/TuxGuitar-jsa/build.xml 2016-08-23 12:46:07.932440095 +0100 |
197 |
-@@ -14,6 +14,7 @@ |
198 |
- <path id="class.path"> |
199 |
- <pathelement location="${path.tuxguitar-lib}"/> |
200 |
- <pathelement location="${path.tuxguitar-gm-utils}"/> |
201 |
-+ <pathelement location="${path.tuxguitar-editor-utils}"/> |
202 |
- <pathelement location="${path.tuxguitar}"/> |
203 |
- <pathelement location="${path.swt}"/> |
204 |
- </path > |
205 |
-diff -purN a/TuxGuitar-pdf/build.properties b/TuxGuitar-pdf/build.properties |
206 |
---- a/TuxGuitar-pdf/build.properties 2016-03-16 21:26:23.000000000 +0000 |
207 |
-+++ b/TuxGuitar-pdf/build.properties 2016-08-23 13:37:17.230856507 +0100 |
208 |
-@@ -7,5 +7,7 @@ ant.build.javac.target=1.5 |
209 |
- path.tuxguitar=../TuxGuitar/tuxguitar.jar |
210 |
- path.tuxguitar-lib=../TuxGuitar-lib/tuxguitar-lib.jar |
211 |
- path.tuxguitar-gm-utils=../TuxGuitar-gm-utils/tuxguitar-gm-utils.jar |
212 |
-+path.tuxguitar-editor-utils=../TuxGuitar-editor-utils/tuxguitar-editor-utils.jar |
213 |
-+path.tuxguitar-awt-graphics=../TuxGuitar-awt-graphics/tuxguitar-awt-graphics.jar |
214 |
- path.itext=../TuxGuitar/lib/itext.jar |
215 |
- path.swt=../TuxGuitar/lib/swt.jar |
216 |
-diff -purN a/TuxGuitar-pdf/build.xml b/TuxGuitar-pdf/build.xml |
217 |
---- a/TuxGuitar-pdf/build.xml 2016-03-16 21:26:23.000000000 +0000 |
218 |
-+++ b/TuxGuitar-pdf/build.xml 2016-08-23 13:37:40.843895665 +0100 |
219 |
-@@ -17,6 +17,8 @@ |
220 |
- <pathelement location="${path.tuxguitar}"/> |
221 |
- <pathelement location="${path.tuxguitar-lib}"/> |
222 |
- <pathelement location="${path.tuxguitar-gm-utils}"/> |
223 |
-+ <pathelement location="${path.tuxguitar-editor-utils}"/> |
224 |
-+ <pathelement location="${path.tuxguitar-awt-graphics}"/> |
225 |
- </path > |
226 |
- |
227 |
- <target name="init" depends="clean"> |
228 |
-diff -purN a/TuxGuitar-tray/build.properties b/TuxGuitar-tray/build.properties |
229 |
---- a/TuxGuitar-tray/build.properties 2016-03-16 21:26:23.000000000 +0000 |
230 |
-+++ b/TuxGuitar-tray/build.properties 2016-08-23 13:41:10.241259782 +0100 |
231 |
-@@ -6,4 +6,6 @@ ant.build.javac.target=1.5 |
232 |
- |
233 |
- path.tuxguitar=../TuxGuitar/tuxguitar.jar |
234 |
- path.tuxguitar-lib=../TuxGuitar-lib/tuxguitar-lib.jar |
235 |
-+path.tuxguitar-gm-utils=../TuxGuitar-gm-utils/tuxguitar-gm-utils.jar |
236 |
-+path.tuxguitar-editor-utils=../TuxGuitar-editor-utils/tuxguitar-editor-utils.jar |
237 |
- path.swt=../TuxGuitar/lib/swt.jar |
238 |
-diff -purN a/TuxGuitar-tray/build.xml b/TuxGuitar-tray/build.xml |
239 |
---- a/TuxGuitar-tray/build.xml 2016-03-16 21:26:23.000000000 +0000 |
240 |
-+++ b/TuxGuitar-tray/build.xml 2016-08-23 13:41:41.262315895 +0100 |
241 |
-@@ -15,6 +15,8 @@ |
242 |
- <property name="service.provider" value="org.herac.tuxguitar.tray.TGTrayPlugin" /> |
243 |
- |
244 |
- <path id="class.path"> |
245 |
-+ <pathelement location="${path.tuxguitar-editor-utils}"/> |
246 |
-+ <pathelement location="${path.tuxguitar-gm-utils}"/> |
247 |
- <pathelement location="${path.tuxguitar-lib}"/> |
248 |
- <pathelement location="${path.tuxguitar}"/> |
249 |
- <pathelement location="${path.swt}"/> |
250 |
-diff -purN a/TuxGuitar-tuner/build.properties b/TuxGuitar-tuner/build.properties |
251 |
---- a/TuxGuitar-tuner/build.properties 2016-03-16 21:26:14.000000000 +0000 |
252 |
-+++ b/TuxGuitar-tuner/build.properties 2016-08-23 13:42:25.501396719 +0100 |
253 |
-@@ -6,4 +6,5 @@ ant.build.javac.target=1.5 |
254 |
- |
255 |
- path.tuxguitar=../TuxGuitar/tuxguitar.jar |
256 |
- path.tuxguitar-lib=../TuxGuitar-lib/tuxguitar-lib.jar |
257 |
-+path.tuxguitar-gm-utils=../TuxGuitar-gm-utils/tuxguitar-gm-utils.jar |
258 |
- path.swt=../TuxGuitar/lib/swt.jar |
259 |
-diff -purN a/TuxGuitar-tuner/build.xml b/TuxGuitar-tuner/build.xml |
260 |
---- a/TuxGuitar-tuner/build.xml 2016-03-16 21:26:14.000000000 +0000 |
261 |
-+++ b/TuxGuitar-tuner/build.xml 2016-08-23 13:42:50.180442190 +0100 |
262 |
-@@ -12,6 +12,7 @@ |
263 |
- <property name="build.jar" value="tuxguitar-tuner.jar" /> |
264 |
- |
265 |
- <path id="class.path"> |
266 |
-+ <pathelement location="${path.tuxguitar-gm-utils}"/> |
267 |
- <pathelement location="${path.tuxguitar-lib}"/> |
268 |
- <pathelement location="${path.tuxguitar}"/> |
269 |
- <pathelement location="${path.swt}"/> |
270 |
|
271 |
diff --git a/media-sound/tuxguitar/metadata.xml b/media-sound/tuxguitar/metadata.xml |
272 |
deleted file mode 100644 |
273 |
index 43ad71f5f09..00000000000 |
274 |
--- a/media-sound/tuxguitar/metadata.xml |
275 |
+++ /dev/null |
276 |
@@ -1,38 +0,0 @@ |
277 |
-<?xml version="1.0" encoding="UTF-8"?> |
278 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
279 |
-<pkgmetadata> |
280 |
- <!-- maintainer-needed --> |
281 |
- <longdescription> |
282 |
- A multitrack tablature editor and player that allows you to |
283 |
- compose music using the following features: |
284 |
- - Tablature editor |
285 |
- - Score Viewer |
286 |
- - Multitrack display |
287 |
- - Autoscroll while playing |
288 |
- - Note duration management |
289 |
- - Various effects (bend, slide, vibrato, hammer-on/pull-off) |
290 |
- - Support for triplets (5,6,7,9,10,11,12) |
291 |
- - Repeat open and close |
292 |
- - Time signature management |
293 |
- - Tempo management |
294 |
- - Imports and exports gp3,gp4 and gp5 files |
295 |
- </longdescription> |
296 |
- <use> |
297 |
- <flag name="fluidsynth"> |
298 |
- Enables Fluidsynth MIDI software synthesis (with external sound fonts). |
299 |
- JSA must be disabled in the plug-ins menu to use this. |
300 |
- </flag> |
301 |
- <flag name="lilypond"> |
302 |
- Exports the score in a lilypond compatible format. |
303 |
- </flag> |
304 |
- <flag name="pdf"> |
305 |
- Exports the score as a PDF file using <pkg>dev-java/itext</pkg>. |
306 |
- </flag> |
307 |
- <flag name="tray"> |
308 |
- Adds an icon to the tray that controls midi playback. |
309 |
- </flag> |
310 |
- </use> |
311 |
- <upstream> |
312 |
- <remote-id type="sourceforge">tuxguitar</remote-id> |
313 |
- </upstream> |
314 |
-</pkgmetadata> |
315 |
|
316 |
diff --git a/media-sound/tuxguitar/tuxguitar-1.3.2.ebuild b/media-sound/tuxguitar/tuxguitar-1.3.2.ebuild |
317 |
deleted file mode 100644 |
318 |
index 39bcac4c636..00000000000 |
319 |
--- a/media-sound/tuxguitar/tuxguitar-1.3.2.ebuild |
320 |
+++ /dev/null |
321 |
@@ -1,131 +0,0 @@ |
322 |
-# Copyright 1999-2019 Gentoo Authors |
323 |
-# Distributed under the terms of the GNU General Public License v2 |
324 |
- |
325 |
-EAPI=6 |
326 |
- |
327 |
-MY_P="${P}-src" |
328 |
-JAVA_PKG_IUSE="source" |
329 |
-inherit desktop java-pkg-2 java-ant-2 toolchain-funcs flag-o-matic xdg-utils |
330 |
- |
331 |
-DESCRIPTION="Multitrack guitar tablature editor and player written in Java-SWT" |
332 |
-HOMEPAGE="http://www.tuxguitar.com.ar/" |
333 |
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" |
334 |
- |
335 |
-LICENSE="LGPL-2.1" |
336 |
-SLOT="0" |
337 |
-IUSE="alsa fluidsynth jack lilypond oss pdf timidity tray" |
338 |
-KEYWORDS="~amd64 ~x86" |
339 |
- |
340 |
-COMMON_DEPEND=" |
341 |
- dev-java/swt:3.7[cairo] |
342 |
- alsa? ( media-libs/alsa-lib ) |
343 |
- pdf? ( dev-java/itext:5 ) |
344 |
- fluidsynth? ( <media-sound/fluidsynth-2:= ) |
345 |
- lilypond? ( media-sound/lilypond ) |
346 |
-" |
347 |
-RDEPEND="${COMMON_DEPEND} |
348 |
- >=virtual/jre-1.5 |
349 |
- timidity? ( media-sound/timidity++[alsa?,oss?] ) |
350 |
-" |
351 |
-DEPEND="${COMMON_DEPEND} |
352 |
- >=virtual/jdk-1.5 |
353 |
-" |
354 |
- |
355 |
-PATCHES=( "${FILESDIR}"/${PN}-fixed-ant-files.patch ) |
356 |
- |
357 |
-S="${WORKDIR}/${MY_P}" |
358 |
- |
359 |
-LIBRARY_LIST=() |
360 |
-PLUGIN_LIST=() |
361 |
- |
362 |
-src_prepare() { |
363 |
- java-pkg-2_src_prepare |
364 |
- default_src_prepare |
365 |
- |
366 |
- sed -e "s|../TuxGuitar/lib/swt.jar|$(java-pkg_getjar swt-3.7 swt.jar)|" \ |
367 |
- -i TuxGuitar*/build.properties || die "sed TuxGuitar*/build.properties failed" |
368 |
- |
369 |
- if use pdf; then |
370 |
- sed -e "s|../TuxGuitar/lib/itext.jar|$(java-pkg_getjar itext-5 itext.jar)|" \ |
371 |
- -i TuxGuitar-pdf/build.properties || die "sed TuxGuitar-pdf/build.properties failed" |
372 |
- fi |
373 |
- |
374 |
- LIBRARY_LIST=( TuxGuitar-lib TuxGuitar-awt-graphics TuxGuitar-editor-utils |
375 |
- TuxGuitar-gm-utils TuxGuitar |
376 |
- ) |
377 |
- |
378 |
- PLUGIN_LIST=( $(usev alsa) ascii browser-ftp community compat |
379 |
- converter $(usev fluidsynth) gm-settings gpx gtp gtp-ui image |
380 |
- $(usev jack) $(usex jack jack-ui "") jsa $(usev lilypond) midi |
381 |
- musicxml $(usev oss) $(usev pdf) ptb svg tef $(usev tray) tuner |
382 |
- ) |
383 |
-} |
384 |
- |
385 |
-src_compile() { |
386 |
- local build_order=( ${LIBRARY_LIST[@]} ${PLUGIN_LIST[@]/#/TuxGuitar-} ) |
387 |
- local directory |
388 |
- |
389 |
- append-flags -fPIC $(java-pkg_get-jni-cflags) |
390 |
- |
391 |
- for directory in ${build_order[@]}; do |
392 |
- cd "${S}"/${directory} || die "cd ${directory} failed" |
393 |
- eant |
394 |
- if [[ -d jni ]]; then |
395 |
- CC=$(tc-getCC) emake -C jni |
396 |
- fi |
397 |
- done |
398 |
-} |
399 |
- |
400 |
-src_install() { |
401 |
- local tuxguitar_inst_path="/usr/share/${PN}" |
402 |
- local library |
403 |
- local plugin |
404 |
- |
405 |
- for library in ${LIBRARY_LIST[@]}; do |
406 |
- cd "${S}"/${library} || die "cd ${library} failed" |
407 |
- java-pkg_dojar ${library,,}.jar |
408 |
- use source && java-pkg_dosrc src/org |
409 |
- done |
410 |
- |
411 |
- java-pkg_dolauncher ${PN} \ |
412 |
- --main org.herac.tuxguitar.app.TGMainSingleton \ |
413 |
- --java_args "-Xmx512m -Dtuxguitar.share.path=${tuxguitar_inst_path}/share" |
414 |
- |
415 |
- # Images and Files |
416 |
- insinto ${tuxguitar_inst_path} |
417 |
- doins -r share |
418 |
- |
419 |
- java-pkg_sointo ${tuxguitar_inst_path}/lib |
420 |
- insinto ${tuxguitar_inst_path}/share/plugins |
421 |
- for plugin in ${PLUGIN_LIST[@]/#/TuxGuitar-}; do |
422 |
- cd "${S}"/${plugin} || die "cd ${plugin} failed" |
423 |
- doins ${plugin,,}.jar |
424 |
- |
425 |
- #TuxGuitar has its own classloader. No need to register the plugins. |
426 |
- if [[ -d jni ]]; then |
427 |
- java-pkg_doso jni/lib${plugin,,}-jni.so |
428 |
- fi |
429 |
- done |
430 |
- |
431 |
- insinto ${tuxguitar_inst_path}/share |
432 |
- doins -r "${S}"/TuxGuitar-resources/resources/soundfont |
433 |
- doman "${S}/misc/${PN}.1" |
434 |
- insinto /usr/share/mime/packages |
435 |
- doins "${S}/misc/${PN}.xml" |
436 |
- doicon "${S}/misc/${PN}.xpm" |
437 |
- domenu "${S}/misc/${PN}.desktop" |
438 |
-} |
439 |
- |
440 |
-pkg_postinst() { |
441 |
- xdg_desktop_database_update |
442 |
- xdg_icon_cache_update |
443 |
- if use fluidsynth; then |
444 |
- ewarn "Fluidsynth plugin blocks behavior of JSA plugin." |
445 |
- ewarn "Enable only one of them in \"Tools > Plugins\"" |
446 |
- fi |
447 |
-} |
448 |
- |
449 |
-pkg_postrm() { |
450 |
- xdg_desktop_database_update |
451 |
- xdg_icon_cache_update |
452 |
-} |
453 |
|
454 |
diff --git a/profiles/package.mask b/profiles/package.mask |
455 |
index 1eaa755ace9..8d4e2958183 100644 |
456 |
--- a/profiles/package.mask |
457 |
+++ b/profiles/package.mask |
458 |
@@ -1115,7 +1115,6 @@ dev-lang/pasm |
459 |
dev-java/itext |
460 |
app-text/jpdftweak |
461 |
dev-util/deskzilla |
462 |
-media-sound/tuxguitar |
463 |
|
464 |
# Michał Górny <mgorny@g.o> (2019-08-14) |
465 |
# No longer builds. Homepage is gone, and its keep-alive fork is also |