summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2016-09-15 22:45:10 +0900
committerAkinori Hattori <hattya@gentoo.org>2016-09-15 22:45:10 +0900
commite41d683c74074a4705a7639fd3fc8de8f090831e (patch)
tree3a64905c6bb985d41bee7a42630686c68623fc4a /media-libs/libsixel
parentmedia-libs/libsixel: drop old (diff)
downloadgentoo-e41d683c74074a4705a7639fd3fc8de8f090831e.tar.gz
gentoo-e41d683c74074a4705a7639fd3fc8de8f090831e.tar.bz2
gentoo-e41d683c74074a4705a7639fd3fc8de8f090831e.zip
media-libs/libsixel: new upstream release
Package-Manager: portage-2.2.28
Diffstat (limited to 'media-libs/libsixel')
-rw-r--r--media-libs/libsixel/Manifest1
-rw-r--r--media-libs/libsixel/libsixel-1.7.2.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/media-libs/libsixel/Manifest b/media-libs/libsixel/Manifest
index 14f6eb7e0631..5580dd9ed1c9 100644
--- a/media-libs/libsixel/Manifest
+++ b/media-libs/libsixel/Manifest
@@ -1 +1,2 @@
DIST libsixel-1.6.1.tar.gz 4745924 SHA256 dfb03e764ff535fcb789f45487b5a284c8998e8202907eb3abc47385f88299ae SHA512 163799d864551c1d53823bf8f976afe20a825cc039361a636e5f08444c67a682c1fd297d83e5830d993ee703502e99cd31e6bb2f009933c1de89efb6c5429178 WHIRLPOOL 3b4e2fde4de40925f2975bbac234e856c1fe87fa2673782a501faa76f2375d69b8f501848cca4366ad5c2fa534decb6f67284cc3b326d83e982091d454ca599a
+DIST libsixel-1.7.2.tar.gz 4760634 SHA256 8e6af162314728d13dfa87b6b3c795a3807032a0df25a0ce6c7ad9c24ab5c12a SHA512 9716ec45ba29cab6603896f717a6b21111ebacb48744009c8c032d6fd8dbb8f7444f27bc9f5c6f419a771544582ce5828e6b1870ea2cc37d917030c4c88de091 WHIRLPOOL 2061cf7dc15198bee8df0c3cd83b8810e60af4c6d33ad2e3bb5d119437a44c0c331ed7882a5d7ad5f5ec8cdc98a8eee0d19560c1f612a98ce56e728c0d755d7e
diff --git a/media-libs/libsixel/libsixel-1.7.2.ebuild b/media-libs/libsixel/libsixel-1.7.2.ebuild
new file mode 100644
index 000000000000..2aa181387587
--- /dev/null
+++ b/media-libs/libsixel/libsixel-1.7.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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) \
+ --disable-python \
+ --with-bashcompletiondir=$(get_bashcompdir)
+}
+
+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
+}