diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/libsixel/libsixel-1.7.3.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/libsixel/libsixel-1.7.3.ebuild')
-rw-r--r-- | media-libs/libsixel/libsixel-1.7.3.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/media-libs/libsixel/libsixel-1.7.3.ebuild b/media-libs/libsixel/libsixel-1.7.3.ebuild new file mode 100644 index 000000000000..13adf5b40300 --- /dev/null +++ b/media-libs/libsixel/libsixel-1.7.3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +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/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT public-domain" +SLOT="0" +KEYWORDS="amd64 ia64 x86" +IUSE="curl gd gtk jpeg png" + +RDEPEND="curl? ( net-misc/curl ) + gd? ( media-libs/gd ) + gtk? ( x11-libs/gdk-pixbuf:2 ) + jpeg? ( virtual/jpeg:0 ) + png? ( media-libs/libpng:0 )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_configure() { + econf \ + $(use_with curl libcurl) \ + $(use_with gd) \ + $(use_with gtk gdk-pixbuf2) \ + $(use_with jpeg) \ + $(use_with png) \ + --with-bashcompletiondir=$(get_bashcompdir) \ + --disable-python +} + +src_test() { + emake test +} + +src_install() { + default + + cd images + docompress -x /usr/share/doc/${PF}/images + docinto images + dodoc egret.jpg map{8,16}.png snake.jpg vimperator3.png +} |