Gentoo Archives: gentoo-commits

From: Andrew Savchenko <bircoph@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/imlib2_loaders/
Date: Sun, 31 Jul 2022 14:24:17
Message-Id: 1659277407.1bd4325db57325824b9cb3795da20c8f7b88d0b3.bircoph@gentoo
1 commit: 1bd4325db57325824b9cb3795da20c8f7b88d0b3
2 Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 31 14:23:27 2022 +0000
4 Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 31 14:23:27 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bd4325d
7
8 media-plugins/imlib2_loaders: add 1.9.1
9
10 Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>
11
12 media-plugins/imlib2_loaders/Manifest | 1 +
13 .../imlib2_loaders/imlib2_loaders-1.9.1.ebuild | 34 ++++++++++++++++++++++
14 2 files changed, 35 insertions(+)
15
16 diff --git a/media-plugins/imlib2_loaders/Manifest b/media-plugins/imlib2_loaders/Manifest
17 index 4729d673697f..a26e97648bfe 100644
18 --- a/media-plugins/imlib2_loaders/Manifest
19 +++ b/media-plugins/imlib2_loaders/Manifest
20 @@ -1,2 +1,3 @@
21 DIST imlib2_loaders-1.7.1.tar.bz2 302348 BLAKE2B 8f73daa5b70d7122c136a001df920649a438edc60d4e7e94b691dfecc0864b66c321c676fb78a2f9e990b842d31fd5f95dcbacf232d6b9809382173449f86673 SHA512 5752768aa61c36e8f8ae5ff9219f950ba7b1561629bb21e4b4e16890d0fa904e93899e64152f05c6d7190553404336ec33b1d88b0cbec46c61a26598e27d449d
22 DIST imlib2_loaders-1.7.5.tar.xz 252548 BLAKE2B 5bc048dad9949dabd9ba3253fe862089975fe0b1dc6bc898e0b5fbc27cf4c2d7be81dbec64aa9fc1da357ed881e5617017f36c46d009a633e594a54fa29beeb0 SHA512 3b307dfae033466d2fa37f90d47626d32fd90228747cbd03ca3bfafe33fb995dbd1b86cfd13e4982c622b18940e4d6b2ec4826c017f5dce0c1cdee1b558c9204
23 +DIST imlib2_loaders-1.9.1.tar.xz 257512 BLAKE2B b1610b54923f354fa0946d1e19efc9270f737122f979e5352c2090f25bd79318c58437b8fc7744dff9b9d7991f38a0b26aa5f3ce1e493961e348d1d2012924df SHA512 eed5c567d4c896a321be7492ceda8b1be33c5d8ab7614a7f9588adc9a2c288f4127f1c91ce65ea0ce18b5477c5b9a58bceb04a82a98cb6fc071a0c762f9ce8ee
24
25 diff --git a/media-plugins/imlib2_loaders/imlib2_loaders-1.9.1.ebuild b/media-plugins/imlib2_loaders/imlib2_loaders-1.9.1.ebuild
26 new file mode 100644
27 index 000000000000..7b820af1f539
28 --- /dev/null
29 +++ b/media-plugins/imlib2_loaders/imlib2_loaders-1.9.1.ebuild
30 @@ -0,0 +1,34 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DESCRIPTION="Additional image loaders for Imlib2"
37 +HOMEPAGE="https://www.enlightenment.org/
38 + https://sourceforge.net/projects/enlightenment/files/imlib2-src/"
39 +SRC_URI="https://downloads.sourceforge.net/enlightenment/${P}.tar.xz"
40 +
41 +LICENSE="|| ( BSD GPL-2 )"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris ~x86-solaris"
44 +IUSE="xcf"
45 +
46 +RDEPEND=">=media-libs/imlib2-${PV}"
47 +DEPEND="${RDEPEND}"
48 +BDEPEND="virtual/pkgconfig"
49 +
50 +src_configure() {
51 + local myconf=(
52 + --disable-static
53 + $(use_enable xcf)
54 + )
55 +
56 + econf "${myconf[@]}"
57 +}
58 +
59 +src_install() {
60 + V=1 emake install DESTDIR="${D}"
61 + einstalldocs
62 +
63 + find "${D}" -name '*.la' -delete || die
64 +}