1 |
commit: e37bb40b1098f42fafccb6ebd8fcd4534290b942 |
2 |
Author: Ovidiu-Dan Bogat <4z0r <AT> ovidiu <DOT> at> |
3 |
AuthorDate: Thu Feb 27 11:40:45 2020 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 1 02:01:06 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e37bb40b |
7 |
|
8 |
media-libs/libsixel: version bump to 1.8.6 |
9 |
|
10 |
Reported-by: D'juan McDonald <flopwiki <AT> gmail.com> |
11 |
Bug: https://bugs.gentoo.org/674620 |
12 |
Closes: https://github.com/gentoo/gentoo/pull/14790 |
13 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
14 |
Signed-off-by: Ovidiu-Dan Bogat <4z0r <AT> ovidiu.at> |
15 |
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org> |
16 |
|
17 |
media-libs/libsixel/Manifest | 1 + |
18 |
media-libs/libsixel/libsixel-1.8.6.ebuild | 49 +++++++++++++++++++++++++++++++ |
19 |
2 files changed, 50 insertions(+) |
20 |
|
21 |
diff --git a/media-libs/libsixel/Manifest b/media-libs/libsixel/Manifest |
22 |
index 39b2184aa9e..5d7be2386fb 100644 |
23 |
--- a/media-libs/libsixel/Manifest |
24 |
+++ b/media-libs/libsixel/Manifest |
25 |
@@ -1,2 +1,3 @@ |
26 |
DIST libsixel-1.8.1.tar.gz 4777791 BLAKE2B de96029990acc00e0c5fa81e6f892153000a93841b8e152ecc2ae3db0e7ca1dbe5063fdbf69f79f23c82095b253206c7bea0f638ed7536ebcf3d0d23a1137965 SHA512 af38b47aac443bfb443aa7b12041ecc1496722afbc861ad8572e90c34c7c1ed4ee04241d5d5f3abb7d8be945fac2a1f718494c4fbd023a6a7b9f6d912f90554c |
27 |
DIST libsixel-1.8.2.tar.gz 4778776 BLAKE2B a43ff76e271b27337fa4144bd89170f33bfae535696f5107cc77b3adef370e89d9da950746621ec7002b201f68dba873f99463d8b2183c319b62f2574f0562a3 SHA512 f0287b7b7a190f0f964e27fc65aa816a78c09de5e50045a25eb05f9b430c74f779a7d5eb591b3430a82a06621d53719bf115bcdd0b99acc9afe3cb9ab6fde271 |
28 |
+DIST libsixel-1.8.6.tar.gz 4791628 BLAKE2B 5fa197d0d759eecd4040c4c1101e6d85fb9af7405ccdff75be571b3ac6b2b0aab6415bc3fdbb37157795f89190fcc1d0fea1bdf705e83a34762e2b05f5588c69 SHA512 460a5d46bada705b4a7ec2e250e2bde7f4b8ba155281fa5a102d1121f79c1c79145f042cd1f4bf93a2fc29e784e89afd539e963470663fc659d4fe72ea49fdaf |
29 |
|
30 |
diff --git a/media-libs/libsixel/libsixel-1.8.6.ebuild b/media-libs/libsixel/libsixel-1.8.6.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..f938c80c4d3 |
33 |
--- /dev/null |
34 |
+++ b/media-libs/libsixel/libsixel-1.8.6.ebuild |
35 |
@@ -0,0 +1,49 @@ |
36 |
+# Copyright 1999-2020 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI="6" |
40 |
+ |
41 |
+inherit bash-completion-r1 |
42 |
+ |
43 |
+DESCRIPTION="A lightweight, fast implementation of DEC SIXEL graphics codec" |
44 |
+HOMEPAGE="https://github.com/saitoha/libsixel" |
45 |
+SRC_URI="https://github.com/saitoha/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="MIT public-domain" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~ia64 ~x86" |
50 |
+IUSE="curl gd gtk jpeg png static-libs" |
51 |
+ |
52 |
+RDEPEND="curl? ( net-misc/curl ) |
53 |
+ gd? ( media-libs/gd ) |
54 |
+ gtk? ( x11-libs/gdk-pixbuf:2 ) |
55 |
+ jpeg? ( virtual/jpeg:0 ) |
56 |
+ png? ( media-libs/libpng:0 )" |
57 |
+DEPEND="${RDEPEND} |
58 |
+ virtual/pkgconfig" |
59 |
+ |
60 |
+src_configure() { |
61 |
+ econf \ |
62 |
+ $(use_with curl libcurl) \ |
63 |
+ $(use_with gd) \ |
64 |
+ $(use_with gtk gdk-pixbuf2) \ |
65 |
+ $(use_with jpeg) \ |
66 |
+ $(use_with png) \ |
67 |
+ $(use_enable static-libs static) \ |
68 |
+ --with-bashcompletiondir=$(get_bashcompdir) \ |
69 |
+ --disable-python |
70 |
+} |
71 |
+ |
72 |
+src_test() { |
73 |
+ emake test |
74 |
+} |
75 |
+ |
76 |
+src_install() { |
77 |
+ default |
78 |
+ use static-libs || find "${ED}" -name '*.la' -delete || die |
79 |
+ |
80 |
+ cd images |
81 |
+ docompress -x /usr/share/doc/${PF}/images |
82 |
+ docinto images |
83 |
+ dodoc egret.jpg map{8,16}.png snake.jpg vimperator3.png |
84 |
+} |