summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2019-12-13 12:12:46 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2019-12-13 12:12:46 +0100
commit17ff26a109c4bb46eadcd00176b0458e141471dc (patch)
tree5128a77e1bb4fc057610b037cabcb1e24ec6cbcb /media-sound/gigedit
parentmedia-sound/linuxsampler-9999: added live ebuild (diff)
downloadgentoo-17ff26a109c4bb46eadcd00176b0458e141471dc.tar.gz
gentoo-17ff26a109c4bb46eadcd00176b0458e141471dc.tar.bz2
gentoo-17ff26a109c4bb46eadcd00176b0458e141471dc.zip
media-sound/gigedit-9999: added live ebuild
Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound/gigedit')
-rw-r--r--media-sound/gigedit/gigedit-9999.ebuild53
1 files changed, 53 insertions, 0 deletions
diff --git a/media-sound/gigedit/gigedit-9999.ebuild b/media-sound/gigedit/gigedit-9999.ebuild
new file mode 100644
index 000000000000..cba33cb715bb
--- /dev/null
+++ b/media-sound/gigedit/gigedit-9999.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools eutils desktop xdg subversion
+
+DESCRIPTION="An instrument editor for gig files"
+HOMEPAGE="http://www.linuxsampler.org/"
+ESVN_REPO_URI="https://svn.linuxsampler.org/svn/gigedit/trunk"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+BDEPEND="
+ sys-devel/gettext
+ >=dev-util/intltool-0.35.0
+ virtual/pkgconfig
+"
+CDEPEND="
+ dev-cpp/gtkmm:2.4
+ >=media-libs/libgig-3.3.0
+ >=media-libs/libsndfile-1.0.2
+ >=media-sound/linuxsampler-0.5.1
+"
+DEPEND="${RDEPEND}"
+RDEPEND="${CDEPEND}"
+
+src_prepare() {
+ default
+
+ # docdir is not propagated there
+ sed -i "s%\$(datadir)/doc/\$(PACKAGE)%\$(datadir)/doc/${P}%g" doc/quickstart/Makefile.am || die
+ eautoreconf
+}
+
+src_configure() {
+ econf --disable-static
+}
+
+src_compile() {
+ emake LDFLAGS="${LDFLAGS} -Wl,-rpath,/usr/$(get_libdir)/linuxsampler"
+}
+
+src_install() {
+ default
+
+ einfo "Removing static libs..."
+ find "${D}" -name "*.la" -delete || die "Failed to remove static libs"
+
+ make_desktop_entry gigedit GigEdit "" "AudioVideo;AudioVideoEditing"
+}