summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-01-01 21:51:37 +0100
committerPacho Ramos <pacho@gentoo.org>2016-01-01 21:51:37 +0100
commitc229d2d33ded9b2600d9460fcfad444dcc735aba (patch)
tree29bbac7aaf3512cd134831429e7ac9f9cd0375bf /media-sound
parentmedia-sound/linuxsampler: Let this build with older bison versions, bug #556204 (diff)
downloadgentoo-c229d2d33ded9b2600d9460fcfad444dcc735aba.tar.gz
gentoo-c229d2d33ded9b2600d9460fcfad444dcc735aba.tar.bz2
gentoo-c229d2d33ded9b2600d9460fcfad444dcc735aba.zip
media-sound/gigedit: Fix building with latest glibmm/libsigc++, bump to eapi5, drop ..la files and static libs.
Package-Manager: portage-2.2.26
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/gigedit/gigedit-0.2.0-r1.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/media-sound/gigedit/gigedit-0.2.0-r1.ebuild b/media-sound/gigedit/gigedit-0.2.0-r1.ebuild
new file mode 100644
index 00000000000..c5828c45062
--- /dev/null
+++ b/media-sound/gigedit/gigedit-0.2.0-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils flag-o-matic
+
+DESCRIPTION="An instrument editor for gig files"
+HOMEPAGE="http://www.linuxsampler.org/"
+SRC_URI="http://download.linuxsampler.org/packages/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="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}
+ sys-devel/gettext
+ >=dev-util/intltool-0.35.0
+ virtual/pkgconfig"
+
+src_prepare() {
+ # Fix linking, bug #540674
+ sed -i -e 's/@LIBS@/@LIBS@ -lsigc-2.0/g' src/gigedit/Makefile.in
+ eautoreconf
+}
+
+src_configure() {
+ append-cxxflags -std=c++11
+ econf --disable-static
+}
+
+src_compile() {
+ # fails with parallel jobs
+ emake -j1
+}
+
+src_install() {
+ default
+ prune_libtool_files --modules
+}