summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2018-05-17 21:08:29 +0200
committerSebastian Pipping <sping@gentoo.org>2018-05-17 21:26:47 +0200
commit5416bbf3b610ccfcd9ee84fb0ef831744f49762c (patch)
tree15e1afe047b4b6abbfe0fec6cf39d9b01e7e879e /media-libs/babl
parentsys-fs/encfs: arm stable, bug #654334 (diff)
downloadgentoo-5416bbf3b610ccfcd9ee84fb0ef831744f49762c.tar.gz
gentoo-5416bbf3b610ccfcd9ee84fb0ef831744f49762c.tar.bz2
gentoo-5416bbf3b610ccfcd9ee84fb0ef831744f49762c.zip
media-libs/babl: 0.1.48 + sse3 + sync 9999
Package-Manager: Portage-2.3.36, Repoman-2.3.9
Diffstat (limited to 'media-libs/babl')
-rw-r--r--media-libs/babl/Manifest1
-rw-r--r--media-libs/babl/babl-0.1.48.ebuild61
-rw-r--r--media-libs/babl/babl-9999.ebuild9
-rw-r--r--media-libs/babl/files/babl-0.1.48-configure-cflags.patch26
4 files changed, 95 insertions, 2 deletions
diff --git a/media-libs/babl/Manifest b/media-libs/babl/Manifest
index 4e87d2d48209..9fad6aafb597 100644
--- a/media-libs/babl/Manifest
+++ b/media-libs/babl/Manifest
@@ -10,3 +10,4 @@ DIST babl-0.1.40.tar.bz2 653272 BLAKE2B 4e5694db5a6d29c2faeada7046cacc511623bf54
DIST babl-0.1.42.tar.bz2 653385 BLAKE2B 62b33ccafb8bff2e7bbe06ea38692e715defe545b3651988bb160e52283a7080f49ccabc2cf71c7f51160e9a5a12121e4a5953471535e91de08d6733993b84a7 SHA512 0c37944d273b3818a7bb316d3086d48966daa6b401b4e6c0cb9ff52c8d69a80d8b632fe236110f376ab107d349fa4383b20f22cac31889ba50e48ab25d5c42d6
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
diff --git a/media-libs/babl/babl-0.1.48.ebuild b/media-libs/babl/babl-0.1.48.ebuild
new file mode 100644
index 000000000000..fa9642d79c1c
--- /dev/null
+++ b/media-libs/babl/babl-0.1.48.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}"/${P}-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
+}
diff --git a/media-libs/babl/babl-9999.ebuild b/media-libs/babl/babl-9999.ebuild
index 8c2968e647f6..f4b8834a2f56 100644
--- a/media-libs/babl/babl-9999.ebuild
+++ b/media-libs/babl/babl-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-inherit eutils
+inherit ltprune
if [[ ${PV} == *9999* ]]; then
inherit autotools git-r3
@@ -19,7 +19,7 @@ HOMEPAGE="http://www.gegl.org/babl/"
LICENSE="LGPL-3"
SLOT="0"
-IUSE="altivec cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 cpu_flags_x86_mmx cpu_flags_x86_f16c"
+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}
@@ -27,6 +27,10 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.1.48-configure-cflags.patch
+)
+
src_prepare() {
default
[[ ${PV} == *9999* ]] && eautoreconf
@@ -46,6 +50,7 @@ src_configure() {
$(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)
}
diff --git a/media-libs/babl/files/babl-0.1.48-configure-cflags.patch b/media-libs/babl/files/babl-0.1.48-configure-cflags.patch
new file mode 100644
index 000000000000..089a82f0e00e
--- /dev/null
+++ b/media-libs/babl/files/babl-0.1.48-configure-cflags.patch
@@ -0,0 +1,26 @@
+From 17d85b43750bc4cdfde71ab6b1d5f41acc89f2ed Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping <sebastian@pipping.org>
+Date: Thu, 17 May 2018 20:50:29 +0200
+Subject: [PATCH] configure.ac: No longer enforce -Ofast
+
+---
+ configure.ac | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 924b0df..7933ead 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -161,9 +161,6 @@ CFLAGS="$CFLAGS $extra_warnings"
+ BABL_DETECT_CFLAGS(extra_warnings, '-Wold-style-definition')
+ CFLAGS="$CFLAGS $extra_warnings"
+
+-BABL_DETECT_CFLAGS(extra_warnings, '-Ofast' )
+-CFLAGS="$CFLAGS $extra_warnings"
+-
+ fi
+
+ AC_PATH_PROG(RSVG, rsvg-convert, no)
+--
+2.17.0
+