summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@chromium.org>2018-01-02 05:25:18 -0500
committerMike Frysinger <vapier@gentoo.org>2018-01-02 05:51:43 -0500
commite9c6c2c76b242a2043322269cd4b371c430fd114 (patch)
treeeda74ced320edec10102bfbb749310af55e752c1 /media-libs/libsixel
parentdev-python/protobuf-python: fix six RDEPEND in 3.3.0-r1 too (diff)
downloadgentoo-e9c6c2c76b242a2043322269cd4b371c430fd114.tar.gz
gentoo-e9c6c2c76b242a2043322269cd4b371c430fd114.tar.bz2
gentoo-e9c6c2c76b242a2043322269cd4b371c430fd114.zip
media-libs/libsixel: add USE=static-libs support
Diffstat (limited to 'media-libs/libsixel')
-rw-r--r--media-libs/libsixel/libsixel-1.7.3.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/media-libs/libsixel/libsixel-1.7.3.ebuild b/media-libs/libsixel/libsixel-1.7.3.ebuild
index 13adf5b40300..3d8e5d2dbd83 100644
--- a/media-libs/libsixel/libsixel-1.7.3.ebuild
+++ b/media-libs/libsixel/libsixel-1.7.3.ebuild
@@ -3,7 +3,7 @@
EAPI="6"
-inherit bash-completion-r1
+inherit bash-completion-r1 ltprune
DESCRIPTION="A lightweight, fast implementation of DEC SIXEL graphics codec"
HOMEPAGE="https://github.com/saitoha/libsixel"
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/saitoha/libsixel/archive/v${PV}.tar.gz -> ${P}.tar.g
LICENSE="MIT public-domain"
SLOT="0"
KEYWORDS="amd64 ia64 x86"
-IUSE="curl gd gtk jpeg png"
+IUSE="curl gd gtk jpeg png static-libs"
RDEPEND="curl? ( net-misc/curl )
gd? ( media-libs/gd )
@@ -29,6 +29,7 @@ src_configure() {
$(use_with gtk gdk-pixbuf2) \
$(use_with jpeg) \
$(use_with png) \
+ $(use_enable static-libs static) \
--with-bashcompletiondir=$(get_bashcompdir) \
--disable-python
}
@@ -39,6 +40,7 @@ src_test() {
src_install() {
default
+ prune_libtool_files
cd images
docompress -x /usr/share/doc/${PF}/images