1 |
commit: e9c6c2c76b242a2043322269cd4b371c430fd114 |
2 |
Author: Mike Frysinger <vapier <AT> chromium <DOT> org> |
3 |
AuthorDate: Tue Jan 2 10:25:18 2018 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 2 10:51:43 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9c6c2c7 |
7 |
|
8 |
media-libs/libsixel: add USE=static-libs support |
9 |
|
10 |
media-libs/libsixel/libsixel-1.7.3.ebuild | 6 ++++-- |
11 |
1 file changed, 4 insertions(+), 2 deletions(-) |
12 |
|
13 |
diff --git a/media-libs/libsixel/libsixel-1.7.3.ebuild b/media-libs/libsixel/libsixel-1.7.3.ebuild |
14 |
index 13adf5b4030..3d8e5d2dbd8 100644 |
15 |
--- a/media-libs/libsixel/libsixel-1.7.3.ebuild |
16 |
+++ b/media-libs/libsixel/libsixel-1.7.3.ebuild |
17 |
@@ -3,7 +3,7 @@ |
18 |
|
19 |
EAPI="6" |
20 |
|
21 |
-inherit bash-completion-r1 |
22 |
+inherit bash-completion-r1 ltprune |
23 |
|
24 |
DESCRIPTION="A lightweight, fast implementation of DEC SIXEL graphics codec" |
25 |
HOMEPAGE="https://github.com/saitoha/libsixel" |
26 |
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/saitoha/libsixel/archive/v${PV}.tar.gz -> ${P}.tar.g |
27 |
LICENSE="MIT public-domain" |
28 |
SLOT="0" |
29 |
KEYWORDS="amd64 ia64 x86" |
30 |
-IUSE="curl gd gtk jpeg png" |
31 |
+IUSE="curl gd gtk jpeg png static-libs" |
32 |
|
33 |
RDEPEND="curl? ( net-misc/curl ) |
34 |
gd? ( media-libs/gd ) |
35 |
@@ -29,6 +29,7 @@ src_configure() { |
36 |
$(use_with gtk gdk-pixbuf2) \ |
37 |
$(use_with jpeg) \ |
38 |
$(use_with png) \ |
39 |
+ $(use_enable static-libs static) \ |
40 |
--with-bashcompletiondir=$(get_bashcompdir) \ |
41 |
--disable-python |
42 |
} |
43 |
@@ -39,6 +40,7 @@ src_test() { |
44 |
|
45 |
src_install() { |
46 |
default |
47 |
+ prune_libtool_files |
48 |
|
49 |
cd images |
50 |
docompress -x /usr/share/doc/${PF}/images |