media-libs/libsixel: new upstream release
authorAkinori Hattori <hattya@gentoo.org>
Thu, 15 Sep 2016 13:45:10 +0000 (22:45 +0900)
committerAkinori Hattori <hattya@gentoo.org>
Thu, 15 Sep 2016 13:45:10 +0000 (22:45 +0900)
Package-Manager: portage-2.2.28

media-libs/libsixel/Manifest
media-libs/libsixel/libsixel-1.7.2.ebuild [new file with mode: 0644]

index 14f6eb7e06312e6645f9f985ef49852f99af008d..5580dd9ed1c9dcbf919533820ae4b6a9c78871fd 100644 (file)
@@ -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 (file)
index 0000000..2aa1813
--- /dev/null
@@ -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
+}