commit:     e9c6c2c76b242a2043322269cd4b371c430fd114
Author:     Mike Frysinger <vapier <AT> chromium <DOT> org>
AuthorDate: Tue Jan  2 10:25:18 2018 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Tue Jan  2 10:51:43 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9c6c2c7

media-libs/libsixel: add USE=static-libs support

 media-libs/libsixel/libsixel-1.7.3.ebuild | 6 ++++--
 1 file 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 13adf5b4030..3d8e5d2dbd8 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

Reply via email to