summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2017-10-22 10:18:49 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2017-10-22 10:18:49 +0200
commit559a0208205888ed63a18c9d035d35af5c59abc9 (patch)
treefd5ea9bb385344c48b9269e7565c412476f80e03 /media-sound
parentmedia-sound/linuxsampler: added more use flags (diff)
downloadfordfrog-559a0208205888ed63a18c9d035d35af5c59abc9.tar.gz
fordfrog-559a0208205888ed63a18c9d035d35af5c59abc9.tar.bz2
fordfrog-559a0208205888ed63a18c9d035d35af5c59abc9.zip
media-sound/linuxsampler: fixed installation of static libs
Package-Manager: Portage-2.3.12, Repoman-2.3.3
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/linuxsampler/Manifest2
-rw-r--r--media-sound/linuxsampler/linuxsampler-9999.ebuild12
2 files changed, 12 insertions, 2 deletions
diff --git a/media-sound/linuxsampler/Manifest b/media-sound/linuxsampler/Manifest
index 88c282eb8..8fa7064a1 100644
--- a/media-sound/linuxsampler/Manifest
+++ b/media-sound/linuxsampler/Manifest
@@ -1,2 +1,2 @@
-EBUILD linuxsampler-9999.ebuild 1531 SHA256 c6eefb5913c96a21202baa509ef57b28837e2be9304abc4cdd863267625382be SHA512 4a0cc9a09553175d8bf36ab55f8a45f8567370a53448845756923d09f4f88add1d50648f3b0061dd4ca9e0da6806ba4b50c03f431a72b979529549f0a3aaff74 WHIRLPOOL c8c8ea78d850d640a6c20f1aa02f66bdf30d5f6bf1e15b6848b68405f74631c559d70f57e0ddfcd57d5b3e386f4bff8fbf9ad7d57cf22d6fa953f723a339fe67
+EBUILD linuxsampler-9999.ebuild 1865 SHA256 c1796d8ec0c424ce156732fd9a37cd6f0c299075c54646562ee5ec5e6f059dac SHA512 d060fc7ba7cc2e640dd8e66d2fd5381ecce8526b801616b487ca3d1007ab4ec4329f27f177fa17ae47ad15580ee3a00c69a96488410666114d1db7a671498f20 WHIRLPOOL dc6987bd9427e0f1d6c079e63b3c9ab8c0b4539b8337d0702fe74bb375d95f271d2ec6b8ead848bd63c82ceb11db18b77690fd3531839e6d2ec9fe34d66bd8d0
MISC metadata.xml 427 SHA256 1756f6a0d356f93ac4da9c11951081432af12f034630e6afecef17635ca2d737 SHA512 22a88d35ee9b7a817d8e0ecd22cf9d8828aade8f1ef6dbb76197fe91efb05817480af615ae299c280b87869e31f16ce3a11d4bdf8ccf61a0e4f7800d5bc6668c WHIRLPOOL 9a955e31e71cc9386daa0d6f2b317331eab9319fc030da9d5cbe67ea88a70a438808ff07002cd3596beb83d34571a4f75914a27d3b5f88e5a9c3940b30b78819
diff --git a/media-sound/linuxsampler/linuxsampler-9999.ebuild b/media-sound/linuxsampler/linuxsampler-9999.ebuild
index 61e648a71..9c1fc7246 100644
--- a/media-sound/linuxsampler/linuxsampler-9999.ebuild
+++ b/media-sound/linuxsampler/linuxsampler-9999.ebuild
@@ -41,16 +41,26 @@ DOCS=( AUTHORS ChangeLog NEWS README )
src_configure() {
emake -f Makefile.svn
+ # upstream does not support --disable-static during configuration,
+ # just --enable-static=no
econf \
$(use_enable alsa alsa-driver) \
--disable-arts-driver \
$(use_enable jack jack-driver) \
$(use_enable sqlite instruments-db) \
$(use_enable sf2 sf2-engine) \
- $(use_enable static-libs static)
+ $(! has static-libs && echo --enable-static=no)
}
src_compile() {
emake
use doc && emake docs
}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ # for some reason static libs are installed even when disabled in configuration
+ # so we have to remove them manually
+ ! use static-libs && find "${D}" -name "*.la" -delete
+}