Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/babl/
Date: Wed, 31 Jan 2018 17:39:22
Message-Id: 1517419672.2e2f2c00d881dc08420c7a883f0cec06b4eb672c.sping@gentoo
1 commit: 2e2f2c00d881dc08420c7a883f0cec06b4eb672c
2 Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 31 17:27:52 2018 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 31 17:27:52 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e2f2c00
7
8 media-libs/babl: 0.1.42
9
10 Package-Manager: Portage-2.3.20, Repoman-2.3.6
11
12 media-libs/babl/Manifest | 1 +
13 media-libs/babl/babl-0.1.42.ebuild | 55 ++++++++++++++++++++++++++++++++++++++
14 2 files changed, 56 insertions(+)
15
16 diff --git a/media-libs/babl/Manifest b/media-libs/babl/Manifest
17 index f7e8d125afd..ade91694fc1 100644
18 --- a/media-libs/babl/Manifest
19 +++ b/media-libs/babl/Manifest
20 @@ -7,3 +7,4 @@ DIST babl-0.1.26.tar.bz2 614865 BLAKE2B 537f1f2e23f2df7710d79f7733f8cbad7c9ae79c
21 DIST babl-0.1.30.tar.bz2 616595 BLAKE2B e93f56c243373634ad8c2f5a493cae80113c9b9174bf388525b943e7702024fd4d2afeaf544fbeb01b44b3c77d90c7ebcb064f94a6953876bb91c06fbcb30311 SHA512 391182786312140fe3fa8b4b8448df2829230ef6a1d9957d8bb729c464e94f5b1300ad761d04f51b3d777c4de9fb462dd0391c3f0c2daa53e9c53bf697e58dca
22 DIST babl-0.1.38.tar.bz2 653047 BLAKE2B 8bc43a7e0b7265f72122743ff4b3e25825e4bbe6797a6e077de16d47239a67cc8fcb93253f54de31012cfb1622cafed2c220cba5cb3cdd9eb1599e5d11b4000f SHA512 4b55b666170322adad4b4624c98110d7a34c496f7aadb22a53c09d1ce5ae518122c2105fd2cb2a057e752fe1540beb703f8192e48e7c43601342a75db2bfdca0
23 DIST babl-0.1.40.tar.bz2 653272 BLAKE2B 4e5694db5a6d29c2faeada7046cacc511623bf54794386a47c6403abb2e86cfd5d0953cf9198e8a5cf20060366e770a344a8c8b503c0496d95ce9d92e149a4f6 SHA512 73812247bade66ce38cb4239974e94a6ced05e4d9f5feae7eb111ffdf2c364197c0a2d9883ba28f5ff839f9f9ffb9dd272209c4720046c12cf2446fedae34ce1
24 +DIST babl-0.1.42.tar.bz2 653385 BLAKE2B 62b33ccafb8bff2e7bbe06ea38692e715defe545b3651988bb160e52283a7080f49ccabc2cf71c7f51160e9a5a12121e4a5953471535e91de08d6733993b84a7 SHA512 0c37944d273b3818a7bb316d3086d48966daa6b401b4e6c0cb9ff52c8d69a80d8b632fe236110f376ab107d349fa4383b20f22cac31889ba50e48ab25d5c42d6
25
26 diff --git a/media-libs/babl/babl-0.1.42.ebuild b/media-libs/babl/babl-0.1.42.ebuild
27 new file mode 100644
28 index 00000000000..f5da34a496f
29 --- /dev/null
30 +++ b/media-libs/babl/babl-0.1.42.ebuild
31 @@ -0,0 +1,55 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +inherit eutils
38 +
39 +if [[ ${PV} == *9999* ]]; then
40 + inherit autotools git-r3
41 + EGIT_REPO_URI="git://git.gnome.org/babl"
42 + SRC_URI=""
43 +else
44 + SRC_URI="http://ftp.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.bz2"
45 + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
46 +fi
47 +
48 +DESCRIPTION="A dynamic, any to any, pixel format conversion library"
49 +HOMEPAGE="http://www.gegl.org/babl/"
50 +
51 +LICENSE="LGPL-3"
52 +SLOT="0"
53 +IUSE="altivec cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 cpu_flags_x86_mmx cpu_flags_x86_f16c"
54 +
55 +RDEPEND=""
56 +DEPEND="${RDEPEND}
57 + >=sys-devel/libtool-2.2
58 + virtual/pkgconfig
59 +"
60 +
61 +src_prepare() {
62 + default
63 + [[ ${PV} == *9999* ]] && eautoreconf
64 +}
65 +
66 +src_configure() {
67 + # Automagic rsvg support is just for website generation we do not call,
68 + # so we don't need to fix it
69 + # w3m is used for dist target thus no issue for us that it is automagically
70 + # detected
71 + econf \
72 + --disable-docs \
73 + --disable-static \
74 + --disable-maintainer-mode \
75 + $(use_enable altivec) \
76 + $(use_enable cpu_flags_x86_f16c f16c) \
77 + $(use_enable cpu_flags_x86_mmx mmx) \
78 + $(use_enable cpu_flags_x86_sse sse) \
79 + $(use_enable cpu_flags_x86_sse2 sse2) \
80 + $(use_enable cpu_flags_x86_sse4_1 sse4_1)
81 +}
82 +
83 +src_install() {
84 + default
85 + prune_libtool_files --all
86 +}