summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2019-11-13 18:14:41 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2019-11-13 18:14:41 +0100
commita683104b51d25daea517cfa8934bdaeab01ec20e (patch)
treea14ea60ac70d97998e7c28201d7b6250fc93b1b2
parentmedia-libs/liblscp-9999: synced with the main tree (diff)
downloadfordfrog-a683104b51d25daea517cfa8934bdaeab01ec20e.tar.gz
fordfrog-a683104b51d25daea517cfa8934bdaeab01ec20e.tar.bz2
fordfrog-a683104b51d25daea517cfa8934bdaeab01ec20e.zip
media-sound/gigedit-9999: synced with the main tree
Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
-rw-r--r--media-sound/gigedit/Manifest2
-rw-r--r--media-sound/gigedit/gigedit-9999.ebuild45
2 files changed, 28 insertions, 19 deletions
diff --git a/media-sound/gigedit/Manifest b/media-sound/gigedit/Manifest
index f400b1358..057715662 100644
--- a/media-sound/gigedit/Manifest
+++ b/media-sound/gigedit/Manifest
@@ -1,2 +1,2 @@
-EBUILD gigedit-9999.ebuild 814 BLAKE2B 95553730a6d8fac6ce144e80cd4251fc186dc1fb5c5674964ddc4129bb37f415da7365534371fd60733f57d53316eb19fc48fb8e881c0ae3744a50b5c92a4fb3 SHA512 e5e34739c9453b37ffdfed7f50151162027ff9868c877047a049dc690cd329a08534c817ad4705417c0093627b286680fe3b3076eb8f59c768ec750ba044c7d8
+EBUILD gigedit-9999.ebuild 1115 BLAKE2B 0d6810d5be6f9fd11a455ead8309fe8162e60b65248bdf65e54c5dc8102cb19a6ab8e46cbeda46f076990fcfbc2e0fbc2225671e363a0b83195d11f2c648c8de SHA512 3473db34c63055bfde0fae8c713117a9334a08b4a683673217d482fc13896701d8c546b16b3f42f2b1c64a6ea94ff96fe8d79eb36cf37679e0bfb0eaadac3529
MISC metadata.xml 245 BLAKE2B c469feac4514d136d3fe1ac3febd7b4ff941e1beb4783293fa0741b2010faa1fc0be3689f0fc2b15b157e78912b294c775d6cb737c36c7cc22f49f134431d3a3 SHA512 dbe84aa81b15c725b68f1967b1165f7d75378afa586f628b061b534ae39798b8cab85d7de1d1d5719ee2ee717e2fad011d3889e1760c9f63c2029207aa069672
diff --git a/media-sound/gigedit/gigedit-9999.ebuild b/media-sound/gigedit/gigedit-9999.ebuild
index e87a4ab81..cba33cb71 100644
--- a/media-sound/gigedit/gigedit-9999.ebuild
+++ b/media-sound/gigedit/gigedit-9999.ebuild
@@ -2,43 +2,52 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit eutils subversion
+inherit autotools eutils desktop xdg subversion
-DESCRIPTION="GigaSampler instrument file editor"
+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="doc static-libs"
+IUSE=""
-RDEPEND="dev-cpp/gtkmm:3.0
- media-libs/libgig
- media-libs/libsndfile"
-DEPEND="${RDEPEND}
- >=dev-util/intltool-0.35.0
+BDEPEND="
sys-devel/gettext
+ >=dev-util/intltool-0.35.0
virtual/pkgconfig
- doc? ( app-doc/doxygen )"
+"
+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
-DOCS=( AUTHORS ChangeLog NEWS README )
+ # docdir is not propagated there
+ sed -i "s%\$(datadir)/doc/\$(PACKAGE)%\$(datadir)/doc/${P}%g" doc/quickstart/Makefile.am || die
+ eautoreconf
+}
src_configure() {
- emake -f Makefile.svn
-
- econf \
- $(! has static-libs && echo --enable-static=no)
+ econf --disable-static
}
src_compile() {
- default
-
- use doc && emake docs
+ emake LDFLAGS="${LDFLAGS} -Wl,-rpath,/usr/$(get_libdir)/linuxsampler"
}
src_install() {
default
- use static-libs || find "${ED}" -name '*.la' -delete
+ einfo "Removing static libs..."
+ find "${D}" -name "*.la" -delete || die "Failed to remove static libs"
+
+ make_desktop_entry gigedit GigEdit "" "AudioVideo;AudioVideoEditing"
}