summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-04-01 23:01:34 -0400
committerMike Frysinger <vapier@gentoo.org>2016-04-02 00:11:37 -0400
commitb48f8093437e885532258975d222816e05cc0724 (patch)
tree83de769200ac7730ec869fb66bbcba21f9d045f3 /media-libs/imlib2
parentmedia-libs/imlib2: drop old <1.4.7 versions (diff)
downloadgentoo-b48f8093437e885532258975d222816e05cc0724.tar.gz
gentoo-b48f8093437e885532258975d222816e05cc0724.tar.bz2
gentoo-b48f8093437e885532258975d222816e05cc0724.zip
media-libs/imlib2: version bump to 1.4.8
Diffstat (limited to 'media-libs/imlib2')
-rw-r--r--media-libs/imlib2/Manifest1
-rw-r--r--media-libs/imlib2/imlib2-1.4.8.ebuild68
-rw-r--r--media-libs/imlib2/imlib2-9999.ebuild6
3 files changed, 72 insertions, 3 deletions
diff --git a/media-libs/imlib2/Manifest b/media-libs/imlib2/Manifest
index a7c26bd14b45..7f8af0936411 100644
--- a/media-libs/imlib2/Manifest
+++ b/media-libs/imlib2/Manifest
@@ -1 +1,2 @@
DIST imlib2-1.4.7.tar.gz 1027716 SHA256 48e98337a560d8904f685447f41c43914fec1f8cd3745a9fd86cba9fd24a6563 SHA512 24728586bf0d2a289fdaa7d05385a059b10092f3f777691881f01d6c9e4aa8f893ebb7bc04933644a9f62163cc649272851f1189f72aee83035816caca3a73a2 WHIRLPOOL 662c671b723f4df8267d84607b74bc76b6790d2a694a2e7b3bef084403ae8f41761813455a404c4886dbf3b7b7782534c17677b1ac81bdccf24120a3d07714e1
+DIST imlib2-1.4.8.tar.gz 1028562 SHA256 b5b97be5446d9c5635c288bfe970896148d8bc027ab01f854112cae03b65a3a5 SHA512 befb41f1fdc18020f6a327953f85f67f26ee9430bfa0ba0e83aa836b8515d95d0b115c851d3378bcfc61eab012efbf629fe3c6f31b19a8dae846ed488db20b79 WHIRLPOOL 553a1b73e56e433862f58444bd57d86b16277b9574851fc552a98d95089e43be3ae2eff8b57416a0876725caee9c6822951274436ef0d6273183d8d3d77526ee
diff --git a/media-libs/imlib2/imlib2-1.4.8.ebuild b/media-libs/imlib2/imlib2-1.4.8.ebuild
new file mode 100644
index 000000000000..c6d6f50a5e53
--- /dev/null
+++ b/media-libs/imlib2/imlib2-1.4.8.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+EGIT_SUB_PROJECT="legacy"
+EGIT_URI_APPEND=${PN}
+
+if [[ ${PV} != "9999" ]] ; then
+ EKEY_STATE="snap"
+fi
+
+inherit enlightenment toolchain-funcs multilib-minimal
+
+DESCRIPTION="Version 2 of an advanced replacement library for libraries like libXpm"
+HOMEPAGE="https://www.enlightenment.org/"
+
+IUSE="bzip2 gif jpeg cpu_flags_x86_mmx cpu_flags_x86_sse2 mp3 png static-libs tiff X zlib"
+
+RDEPEND="=media-libs/freetype-2*[${MULTILIB_USEDEP}]
+ bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] )
+ zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
+ gif? ( >=media-libs/giflib-4.1.6-r3[${MULTILIB_USEDEP}] )
+ png? ( >=media-libs/libpng-1.6.10:0[${MULTILIB_USEDEP}] )
+ jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] )
+ tiff? ( >=media-libs/tiff-4.0.3-r6:0[${MULTILIB_USEDEP}] )
+ X? (
+ >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
+ >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
+ )
+ mp3? ( >=media-libs/libid3tag-0.15.1b-r3[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}
+ png? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
+ X? (
+ >=x11-proto/xextproto-7.2.1-r1[${MULTILIB_USEDEP}]
+ >=x11-proto/xproto-7.0.24[${MULTILIB_USEDEP}]
+ )"
+
+multilib_src_configure() {
+ # imlib2 has diff configure options for x86/amd64 assembly
+ if [[ $(tc-arch) == amd64 ]]; then
+ E_ECONF+=( $(use_enable cpu_flags_x86_sse2 amd64) --disable-mmx )
+ else
+ E_ECONF+=( --disable-amd64 $(use_enable cpu_flags_x86_mmx mmx) )
+ fi
+
+ [[ $(gcc-major-version) -ge 4 ]] && E_ECONF+=( --enable-visibility-hiding )
+
+ ECONF_SOURCE="${S}" \
+ E_ECONF+=(
+ $(use_enable static-libs static)
+ $(use_with X x)
+ $(use_with jpeg)
+ $(use_with png)
+ $(use_with tiff)
+ $(use_with gif)
+ $(use_with zlib)
+ $(use_with bzip2)
+ $(use_with mp3 id3)
+ )
+
+ enlightenment_src_configure
+}
+
+multilib_src_install() {
+ enlightenment_src_install
+}
diff --git a/media-libs/imlib2/imlib2-9999.ebuild b/media-libs/imlib2/imlib2-9999.ebuild
index 198ddb7e86ec..c6d6f50a5e53 100644
--- a/media-libs/imlib2/imlib2-9999.ebuild
+++ b/media-libs/imlib2/imlib2-9999.ebuild
@@ -1,14 +1,14 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="4"
+EAPI="5"
EGIT_SUB_PROJECT="legacy"
EGIT_URI_APPEND=${PN}
if [[ ${PV} != "9999" ]] ; then
- EKEY_STATE="stable"
+ EKEY_STATE="snap"
fi
inherit enlightenment toolchain-funcs multilib-minimal