summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Savchenko <bircoph@gentoo.org>2018-03-17 19:55:37 +0300
committerAndrew Savchenko <bircoph@gentoo.org>2018-03-17 19:55:37 +0300
commitacf765c2a0d0f85b6681503088eeb43b92faafe3 (patch)
tree9efc253a9b64e5f4e3c9dd8734c31cc6c4777784
parentapp-text/cuneiform: wip (diff)
downloadbircoph-acf765c2a0d0f85b6681503088eeb43b92faafe3.zip
bircoph-acf765c2a0d0f85b6681503088eeb43b92faafe3.tar.gz
bircoph-acf765c2a0d0f85b6681503088eeb43b92faafe3.tar.bz2
tuxguitar: in the tree now
-rw-r--r--media-sound/tuxguitar/Manifest1
-rw-r--r--media-sound/tuxguitar/metadata.xml11
-rw-r--r--media-sound/tuxguitar/tuxguitar-1.2-r1.ebuild116
-rw-r--r--profiles/categories1
4 files changed, 0 insertions, 129 deletions
diff --git a/media-sound/tuxguitar/Manifest b/media-sound/tuxguitar/Manifest
deleted file mode 100644
index 0521762..0000000
--- a/media-sound/tuxguitar/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST tuxguitar-src-1.2.tar.gz 2548224 SHA256 84a4fc6ae4802442fd0cc011e19316c0e4ca5a6d684db4306cdf19d09e703ebc SHA512 b2b73a370bd0189a26859844201a513db27048068701f02e2e2002bf96dec344d2dc08ddd1987bd5d70bc869547c66261dd27db11c6bf0844dc127ce89a3dd93 WHIRLPOOL 27db7fc80eb216f15a91b92dfc2e1f1ecb70a0cbb4aa22e49bd62cf9fc86c8612d73252bc5f1ad640a301cb603682f18e30204bbd600cb31e71b323480eea34e
diff --git a/media-sound/tuxguitar/metadata.xml b/media-sound/tuxguitar/metadata.xml
deleted file mode 100644
index 37e80d4..0000000
--- a/media-sound/tuxguitar/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="person">
- <email>bircoph@gentoo.org</email>
- <name>Andrew Savchenko</name>
-</maintainer>
-<use>
- <flag name="fluidsynth">Use software <pkg>media-sound/fluidsynth</pkg> real-time synthesizer</flag>
-</use>
-</pkgmetadata>
diff --git a/media-sound/tuxguitar/tuxguitar-1.2-r1.ebuild b/media-sound/tuxguitar/tuxguitar-1.2-r1.ebuild
deleted file mode 100644
index 43b35a1..0000000
--- a/media-sound/tuxguitar/tuxguitar-1.2-r1.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-JAVA_PKG_IUSE="source"
-
-inherit eutils java-pkg-2 java-ant-2 toolchain-funcs flag-o-matic fdo-mime gnome2-utils
-
-MY_P="${PN}-src-${PV}"
-DESCRIPTION="TuxGuitar is a 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 oss pdf timidity"
-
-KEYWORDS="~amd64 ~x86"
-CDEPEND="dev-java/swt:3.5[cairo]
- alsa? ( media-libs/alsa-lib )
- fluidsynth? ( media-sound/fluidsynth )
- pdf? ( dev-java/itext:0 )"
-RDEPEND=">=virtual/jre-1.5
- timidity? (
- alsa? ( media-sound/timidity++[alsa] )
- oss? ( media-sound/timidity++[oss] )
- media-sound/timidity++
- )
- ${CDEPEND}"
-
-DEPEND=">=virtual/jdk-1.5
- ${CDEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
- java-pkg_jar-from --into TuxGuitar/lib swt-3.5
- java-pkg-2_src_prepare
-}
-
-src_compile() {
- if use pdf; then
- echo "" >> TuxGuitar-pdf/build.properties || die
- echo "path.itext=$(java-pkg_getjar itext iText.jar)" >> TuxGuitar-pdf/build.properties || die "Error adding itext path"
- echo "path.swt=$(java-pkg_getjar swt-3.5 swt.jar)" >> TuxGuitar-pdf/build.properties || die "Error adding swt path"
- fi
- cd TuxGuitar || die "cd failed"
- eant all
- for plugin in $(list_plugins); do
- plugin_compile $plugin
- done
-}
-
-src_install() {
- cd TuxGuitar || die "cd failed"
- java-pkg_dojar tuxguitar.jar
- use source && java-pkg_dosrc src/org
- # TODO: Decide if plugin sources should be installed
- java-pkg_dolauncher ${PN} \
- --main org.herac.tuxguitar.gui.TGMain \
- --java_args "-Xms128m -Xmx128m -Dtuxguitar.share.path=/usr/share/${PN}/lib/share"
- # Images and Files
- insinto /usr/share/${PN}/lib
- doins -r share
- java-pkg_sointo /usr/share/${PN}/lib/lib
- for plugin in $(list_plugins); do
- plugin_install $plugin
- done
- doman "${S}/misc/${PN}.1"
- insinto /usr/share/mime/packages
- doins "${S}/misc/${PN}.xml"
- doicon "${S}/misc/${PN}.xpm"
- domenu "${S}/misc/${PN}.desktop"
-}
-
-plugin_compile() {
- cd "${S}"/TuxGuitar-${1} || die
- eant all
- if [[ -d jni ]]; then
- append-flags $(java-pkg_get-jni-cflags)
- cd jni || die "\"cd jni\" failed"
- CC=$(tc-getCC) emake
- fi
-}
-
-plugin_install() {
- cd "${S}"/TuxGuitar-${1} || die
- local TUXGUITAR_INST_PATH=/usr/share/${PN}/lib
- local BINARY_NAME=tuxguitar-${1}
- insinto ${TUXGUITAR_INST_PATH}/share/plugins
- doins ${BINARY_NAME}.jar
- #TuxGuitar has its own classloader. No need to register the plugins.
- if [[ -d jni ]]; then
- java-pkg_doso jni/lib${BINARY_NAME}-jni.so
- fi
-}
-
-#Return list of plugins to compile/install
-list_plugins() {
- echo \
- $(usev alsa) ascii browser-ftp compat converter $(usev fluidsynth) gtp \
- jsa lilypond midi musicxml $(usev oss) $(usev pdf) ptb tef tray tuner
-}
-
-pkg_postinst() {
- fdo-mime_desktop_database_update
- gnome2_icon_cache_update
- if use fluidsynth; then
- ewarn "Fluidsynth plugin blocks behavior of JSA plugin."
- ewarn "Enable only one of them in \"Tools > Plugins\""
- fi
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
- gnome2_icon_cache_update
-}
diff --git a/profiles/categories b/profiles/categories
index 724d16e..65ac21e 100644
--- a/profiles/categories
+++ b/profiles/categories
@@ -8,7 +8,6 @@ dev-python
dev-util
media-gfx
media-libs
-media-sound
media-video
net-dialup
net-dns