summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2018-07-23 22:10:22 +0900
committerAkinori Hattori <hattya@gentoo.org>2018-07-23 22:15:32 +0900
commit821ef63e1bc4b51601c0155856c477f7df193231 (patch)
treec1b06d894744d8891a71caba7a46802238e38fb1 /media-libs/libsixel
parentmail-client/sylpheed-3.7.0-r0: alpha stable (diff)
downloadgentoo-821ef63e1bc4b51601c0155856c477f7df193231.tar.gz
gentoo-821ef63e1bc4b51601c0155856c477f7df193231.tar.bz2
gentoo-821ef63e1bc4b51601c0155856c477f7df193231.zip
media-libs/libsixel: add static-libs USE flag
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'media-libs/libsixel')
-rw-r--r--media-libs/libsixel/libsixel-1.8.1.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/media-libs/libsixel/libsixel-1.8.1.ebuild b/media-libs/libsixel/libsixel-1.8.1.ebuild
index 12cd9a6cec32..c05386adb4e3 100644
--- a/media-libs/libsixel/libsixel-1.8.1.ebuild
+++ b/media-libs/libsixel/libsixel-1.8.1.ebuild
@@ -7,12 +7,12 @@ inherit bash-completion-r1
DESCRIPTION="A lightweight, fast implementation of DEC SIXEL graphics codec"
HOMEPAGE="https://github.com/saitoha/libsixel"
-SRC_URI="https://github.com/saitoha/libsixel/releases/download/v${PV}/${P}.tar.gz"
+SRC_URI="https://github.com/saitoha/${PN}/releases/download/v${PV}/${P}.tar.gz"
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
+ use static-libs || find "${ED}" -name '*.la' -delete || die
cd images
docompress -x /usr/share/doc/${PF}/images