commit:     ea15db011dddf48f7fc935f541be82c5c27247f3
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Mon May 21 11:55:17 2018 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Mon May 21 12:09:32 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea15db01

media-libs/babl: 0.1.50

Package-Manager: Portage-2.3.38, Repoman-2.3.9

 media-libs/babl/Manifest           |  1 +
 media-libs/babl/babl-0.1.50.ebuild | 61 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/media-libs/babl/Manifest b/media-libs/babl/Manifest
index 9fad6aafb59..b64fc098bb3 100644
--- a/media-libs/babl/Manifest
+++ b/media-libs/babl/Manifest
@@ -11,3 +11,4 @@ DIST babl-0.1.42.tar.bz2 653385 BLAKE2B 
62b33ccafb8bff2e7bbe06ea38692e715defe545
 DIST babl-0.1.44.tar.bz2 653829 BLAKE2B 
8014d66886645c67291ffbe218b95bf492512cb80fe4337ffdf714723cc4221850e71c97b8208d4242bb90855e8121047d2c683560d0eba2d0077620acb8395f
 SHA512 
bb86d3676e12217c042464c74e22f9243d3a9c26bf4f78b0df991f40e341e02165e58284077c743489eda69274e3afd4d5b2c5312e28cc290eebaf4e8e86a9e9
 DIST babl-0.1.46.tar.bz2 653887 BLAKE2B 
dacfb2c4761a454012532dd74a31aa425a7aa989a98b9862c69c4f74fe6238a6b4d7af32358711f53c40094c3a0e4995c105a97282418eb30fc78b429c92a605
 SHA512 
a62d78d49565cfb5c3187353f31d7793156ae318e2a29b7430ca08272ea98b9101afb602d73c5cc87bc9f20a4469bc08bf8c6c197529260ae0e41d183f300648
 DIST babl-0.1.48.tar.bz2 659945 BLAKE2B 
7daa742f27f39dee9ec1ff6955082585246ecd4532e83b664e28d219151d74cdea7856dc45ee26468c85fce5d2400399f02074b6ee7ee7fce65158e17d782607
 SHA512 
1fc9e2c60980b3e0531ba0418231e988ea5d96ebf5a22b96dc57536e17d45bfe8816408707179438df5c7e487b62421b968ffad491a97d54221f236198b53471
+DIST babl-0.1.50.tar.bz2 661756 BLAKE2B 
634e5bdaf4e32fe78ed913051d7bd226de9417d7a81535597bcef24b61b7fcc6cc76a0b9a2e7885ebc90eb0215d826a5c2f1e99d64096552e2fb7e0328c18068
 SHA512 
9b321933f6da41ce9be85a9b5e33a24857cb33d2a2a02ec30173c99dff66354d03c53e5e94ae46f9b59b11b9404b0cffbc39fc14e360412eca70584b61d25097

diff --git a/media-libs/babl/babl-0.1.50.ebuild 
b/media-libs/babl/babl-0.1.50.ebuild
new file mode 100644
index 00000000000..9e6ed863805
--- /dev/null
+++ b/media-libs/babl/babl-0.1.50.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit ltprune
+
+if [[ ${PV} == *9999* ]]; then
+       inherit autotools git-r3
+       EGIT_REPO_URI="git://git.gnome.org/babl"
+       SRC_URI=""
+else
+       inherit autotools
+       SRC_URI="http://ftp.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.bz2";
+       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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"
+fi
+
+DESCRIPTION="A dynamic, any to any, pixel format conversion library"
+HOMEPAGE="http://www.gegl.org/babl/";
+
+LICENSE="LGPL-3"
+SLOT="0"
+IUSE="altivec cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 
cpu_flags_x86_sse4_1 cpu_flags_x86_mmx cpu_flags_x86_f16c"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+       >=sys-devel/libtool-2.2
+       virtual/pkgconfig
+"
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-0.1.48-configure-cflags.patch
+)
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
+src_configure() {
+       # Automagic rsvg support is just for website generation we do not call,
+       #     so we don't need to fix it
+       # w3m is used for dist target thus no issue for us that it is 
automagically
+       #     detected
+       econf \
+               --disable-docs \
+               --disable-static \
+               --disable-maintainer-mode \
+               $(use_enable altivec) \
+               $(use_enable cpu_flags_x86_f16c f16c) \
+               $(use_enable cpu_flags_x86_mmx mmx) \
+               $(use_enable cpu_flags_x86_sse sse) \
+               $(use_enable cpu_flags_x86_sse2 sse2) \
+               $(use_enable cpu_flags_x86_sse3 sse3) \
+               $(use_enable cpu_flags_x86_sse4_1 sse4_1)
+}
+
+src_install() {
+       default
+       prune_libtool_files --all
+}

Reply via email to