Gentoo Archives: gentoo-commits

From: Akinori Hattori <hattya@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libsixel/
Date: Mon, 06 Feb 2017 13:41:42
Message-Id: 1486388458.836369743b23ce8f4973458be9ec3d9ab1c40bd9.hattya@gentoo
1 commit: 836369743b23ce8f4973458be9ec3d9ab1c40bd9
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 6 13:40:58 2017 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 6 13:40:58 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83636974
7
8 media-libs/libsixel: new upstream release
9
10 Package-Manager: portage-2.3.3
11
12 media-libs/libsixel/Manifest | 1 +
13 media-libs/libsixel/libsixel-1.7.3.ebuild | 48 +++++++++++++++++++++++++++++++
14 2 files changed, 49 insertions(+)
15
16 diff --git a/media-libs/libsixel/Manifest b/media-libs/libsixel/Manifest
17 index a5462e9..d6bcd7a 100644
18 --- a/media-libs/libsixel/Manifest
19 +++ b/media-libs/libsixel/Manifest
20 @@ -1 +1,2 @@
21 DIST libsixel-1.7.2.tar.gz 4760634 SHA256 8e6af162314728d13dfa87b6b3c795a3807032a0df25a0ce6c7ad9c24ab5c12a SHA512 9716ec45ba29cab6603896f717a6b21111ebacb48744009c8c032d6fd8dbb8f7444f27bc9f5c6f419a771544582ce5828e6b1870ea2cc37d917030c4c88de091 WHIRLPOOL 2061cf7dc15198bee8df0c3cd83b8810e60af4c6d33ad2e3bb5d119437a44c0c331ed7882a5d7ad5f5ec8cdc98a8eee0d19560c1f612a98ce56e728c0d755d7e
22 +DIST libsixel-1.7.3.tar.gz 4766335 SHA256 5a6e369b839e406a85cb54f2700e48d211a78618d7d4b6e3cd81d97dfda9ade9 SHA512 f7b6b9748389f140ce2f6cf0eeb74ab5063c21455c72013a7e066981439bb1ada7b3e9b68a7b3b57c49205271f32ffb8d6d002a4f2af45b1381dd015873b4e91 WHIRLPOOL 06afcdf0a92bf11fed829d42183dbcac5495b3bf162dacf87363c5f6e13214966a9af03419f8ad0ff63dfa9896158693d92811cbdee6a7217bf62190e5ea2bce
23
24 diff --git a/media-libs/libsixel/libsixel-1.7.3.ebuild b/media-libs/libsixel/libsixel-1.7.3.ebuild
25 new file mode 100644
26 index 00000000..c9ebc20
27 --- /dev/null
28 +++ b/media-libs/libsixel/libsixel-1.7.3.ebuild
29 @@ -0,0 +1,48 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI="6"
35 +
36 +inherit bash-completion-r1
37 +
38 +DESCRIPTION="A lightweight, fast implementation of DEC SIXEL graphics codec"
39 +HOMEPAGE="https://github.com/saitoha/libsixel"
40 +SRC_URI="https://github.com/saitoha/libsixel/archive/v${PV}.tar.gz -> ${P}.tar.gz"
41 +
42 +LICENSE="MIT public-domain"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~ia64 ~x86"
45 +IUSE="curl gd gtk jpeg png"
46 +
47 +RDEPEND="curl? ( net-misc/curl )
48 + gd? ( media-libs/gd )
49 + gtk? ( x11-libs/gdk-pixbuf:2 )
50 + jpeg? ( virtual/jpeg:0 )
51 + png? ( media-libs/libpng:0 )"
52 +DEPEND="${RDEPEND}
53 + virtual/pkgconfig"
54 +
55 +src_configure() {
56 + econf \
57 + $(use_with curl libcurl) \
58 + $(use_with gd) \
59 + $(use_with gtk gdk-pixbuf2) \
60 + $(use_with jpeg) \
61 + $(use_with png) \
62 + --with-bashcompletiondir=$(get_bashcompdir) \
63 + --disable-python
64 +}
65 +
66 +src_test() {
67 + emake test
68 +}
69 +
70 +src_install() {
71 + default
72 +
73 + cd images
74 + docompress -x /usr/share/doc/${PF}/images
75 + docinto images
76 + dodoc egret.jpg map{8,16}.png snake.jpg vimperator3.png
77 +}