summaryrefslogtreecommitdiff
path: root/media-sound/tuxguitar
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/tuxguitar')
-rw-r--r--media-sound/tuxguitar/Manifest2
-rw-r--r--media-sound/tuxguitar/tuxguitar-1.3.2.ebuild47
2 files changed, 25 insertions, 24 deletions
diff --git a/media-sound/tuxguitar/Manifest b/media-sound/tuxguitar/Manifest
index ba38480a6bb4..9847b5b5ba3f 100644
--- a/media-sound/tuxguitar/Manifest
+++ b/media-sound/tuxguitar/Manifest
@@ -1,4 +1,4 @@
AUX tuxguitar-fixed-ant-files.patch 10154 BLAKE2B 23f18334ce752a657f65a850c4b45eb7685b7937480977973d327c14d10ffc7e66f154d0d465dcb24ab39f7ae76fbf796e3df6571a3ff049fc116eaaee6381d8 SHA512 90b732cddf4684fb99a91e581903e64cd039ef9b9d8ec7bc9629ce8da889a6b2961f8f5dafd6cce21eb0c67e2e5501586580081f28c702de88ddd1d229769013
DIST tuxguitar-1.3.2-src.tar.gz 82294553 BLAKE2B 74e0e4b0f2d3d63dbf8f16db43a165f77b39ad54e21091520c06228ea789161a6fb65a1a05bde0f1473afe61e2d990f646b5228b9fe19c114da21a5c32aa32b6 SHA512 fb94472df25578d94ad11cd385cfc9347bfefcdd8ebedd2e785f3645d6b2e0d6d87d3fc457af159865b3fae77ad443ac4246b3c6fbe42397f4d15908dd3b7149
-EBUILD tuxguitar-1.3.2.ebuild 3483 BLAKE2B 18083eb4e2bbc8a037421a0bcfce40da88f985de4e1813761ef10dc4d36e5a69a58b1533aa2ecfd121cec1a55279ca15f874a3d5c6e177027078d0ed7311f28a SHA512 59b1388d65ee76f57333773668312c27053bccf6e6f669bf6425bded7eab9afae2c51f10ace6109ec1b5cc865c063c155ff00e96af578b8eeab84870f8e39cb8
+EBUILD tuxguitar-1.3.2.ebuild 3456 BLAKE2B 2115b95150df4ed966e8fbc178242c358de7a02ed8af1ad46ac634ccdb33355ccf2232ac4ea10ebe8d8d4ed54af002bee555c359e4716c553cb2469e0dfcd265 SHA512 12e22f09292b0f53fcf2332765af046871e837475d8302e97d4a8b531c4f244526f71bb09497837bfffc94e397f29089cb09ff9ad0a6ef9c91417778a260739b
MISC metadata.xml 1287 BLAKE2B aa7c3b560d507756eb72d602038017dd94e3f261a2a0255ee12441ef60b4772015f332109157e28cfd29ef3784cce6061f488f23ee5b8b9e42f430facff44008 SHA512 4249950599126709e668de28b8a8a0ac4dfa8b118b34f738e6eb7b610f6ed0fb2d11a962631bffcb52d552ee950c5045394e0df89dc37b5b9c9ac4648f86e2d8
diff --git a/media-sound/tuxguitar/tuxguitar-1.3.2.ebuild b/media-sound/tuxguitar/tuxguitar-1.3.2.ebuild
index 61ca5827d67c..7c0a2bf1b65c 100644
--- a/media-sound/tuxguitar/tuxguitar-1.3.2.ebuild
+++ b/media-sound/tuxguitar/tuxguitar-1.3.2.ebuild
@@ -1,39 +1,40 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="6"
-JAVA_PKG_IUSE="source"
-
-inherit eutils java-pkg-2 java-ant-2 toolchain-funcs flag-o-matic fdo-mime gnome2-utils
+EAPI=6
MY_P="${P}-src"
-DESCRIPTION="TuxGuitar is a multitrack guitar tablature editor and player written in Java-SWT"
-HOMEPAGE="http://tuxguitar.herac.com.ar/"
+JAVA_PKG_IUSE="source"
+inherit desktop java-pkg-2 java-ant-2 toolchain-funcs flag-o-matic xdg-utils
+
+DESCRIPTION="Multitrack guitar tablature editor and player written in Java-SWT"
+HOMEPAGE="http://www.tuxguitar.com.ar/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
LICENSE="LGPL-2.1"
SLOT="0"
-
IUSE="alsa fluidsynth jack lilypond oss pdf timidity tray"
-
KEYWORDS="~amd64 ~x86"
-CDEPEND="dev-java/swt:3.7[cairo]
+COMMON_DEPEND="
+ dev-java/swt:3.7[cairo]
alsa? ( media-libs/alsa-lib )
pdf? ( dev-java/itext:5 )
- fluidsynth? ( media-sound/fluidsynth )
- lilypond? ( media-sound/lilypond )"
-
-RDEPEND=">=virtual/jre-1.5
+ fluidsynth? ( media-sound/fluidsynth:= )
+ lilypond? ( media-sound/lilypond )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=virtual/jre-1.5
timidity? ( media-sound/timidity++[alsa?,oss?] )
- ${CDEPEND}"
+"
+DEPEND="${COMMON_DEPEND}
+ >=virtual/jdk-1.5
+"
-DEPEND=">=virtual/jdk-1.5
- ${CDEPEND}"
+PATCHES=( "${FILESDIR}"/${PN}-fixed-ant-files.patch )
S="${WORKDIR}/${MY_P}"
-PATCHES=( "${FILESDIR}"/${PN}-fixed-ant-files.patch )
-
LIBRARY_LIST=()
PLUGIN_LIST=()
@@ -116,8 +117,8 @@ src_install() {
}
pkg_postinst() {
- fdo-mime_desktop_database_update
- gnome2_icon_cache_update
+ xdg_desktop_database_update
+ xdg_icon_cache_update
if use fluidsynth; then
ewarn "Fluidsynth plugin blocks behavior of JSA plugin."
ewarn "Enable only one of them in \"Tools > Plugins\""
@@ -125,6 +126,6 @@ pkg_postinst() {
}
pkg_postrm() {
- fdo-mime_desktop_database_update
- gnome2_icon_cache_update
+ xdg_desktop_database_update
+ xdg_icon_cache_update
}