diff options
author | Julian Ospald <hasufell@gentoo.org> | 2014-04-18 14:49:42 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2014-04-18 14:49:42 +0000 |
commit | 0f6c2dbff026125b05d481b2f6b33c314aa0dcde (patch) | |
tree | f26d4cf83bc801fbbb455975971b3e91522a985f | |
parent | mask >=media-libs/imlib-1.9.15-r4 for multilib conversion wrt #499268 (diff) | |
download | gentoo-2-0f6c2dbff026125b05d481b2f6b33c314aa0dcde.tar.gz gentoo-2-0f6c2dbff026125b05d481b2f6b33c314aa0dcde.tar.bz2 gentoo-2-0f6c2dbff026125b05d481b2f6b33c314aa0dcde.zip |
add multilib support wrt #499268
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key BDEED020)
-rw-r--r-- | media-libs/imlib/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/imlib/imlib-1.9.15-r4.ebuild | 63 |
2 files changed, 70 insertions, 2 deletions
diff --git a/media-libs/imlib/ChangeLog b/media-libs/imlib/ChangeLog index b97196a41a10..017e5f167671 100644 --- a/media-libs/imlib/ChangeLog +++ b/media-libs/imlib/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/imlib -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/imlib/ChangeLog,v 1.78 2011/10/11 20:21:46 ssuominen Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/imlib/ChangeLog,v 1.79 2014/04/18 14:49:42 hasufell Exp $ + +*imlib-1.9.15-r4 (18 Apr 2014) + + 18 Apr 2014; Julian Ospald <hasufell@gentoo.org> +imlib-1.9.15-r4.ebuild: + add multilib support wrt #499268 11 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> -imlib-1.9.15-r2.ebuild: old diff --git a/media-libs/imlib/imlib-1.9.15-r4.ebuild b/media-libs/imlib/imlib-1.9.15-r4.ebuild new file mode 100644 index 000000000000..3225005b94f1 --- /dev/null +++ b/media-libs/imlib/imlib-1.9.15-r4.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/imlib/imlib-1.9.15-r4.ebuild,v 1.1 2014/04/18 14:49:42 hasufell Exp $ + +EAPI=4 +inherit autotools eutils multilib-minimal + +PVP=(${PV//[-\._]/ }) +DESCRIPTION="Image loading and rendering library" +HOMEPAGE="http://ftp.acc.umu.se/pub/GNOME/sources/imlib/1.9/" +SRC_URI="mirror://gnome/sources/${PN}/${PVP[0]}.${PVP[1]}/${P}.tar.bz2 + mirror://gentoo/gtk-1-for-imlib.m4.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="doc static-libs" + +RDEPEND=">=media-libs/tiff-3.5.5[${MULTILIB_USEDEP}] + >=media-libs/giflib-4.1.0[${MULTILIB_USEDEP}] + >=media-libs/libpng-1.2.1[${MULTILIB_USEDEP}] + virtual/jpeg[${MULTILIB_USEDEP}] + x11-libs/libICE[${MULTILIB_USEDEP}] + x11-libs/libSM[${MULTILIB_USEDEP}] + x11-libs/libXext[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +src_prepare() { + # Fix aclocal underquoted definition warnings. + # Conditionalize gdk functions for bug 40453. + # Fix imlib-config for bug 3425. + epatch "${FILESDIR}"/${P}.patch + epatch "${FILESDIR}"/${PN}-security.patch #security #72681 + epatch "${FILESDIR}"/${P}-bpp16-CVE-2007-3568.patch # security #201887 + epatch "${FILESDIR}"/${P}-fix-rendering.patch #197489 + epatch "${FILESDIR}"/${P}-asneeded.patch #207638 + epatch "${FILESDIR}"/${P}-libpng15.patch #357167 + + mkdir m4 && cp "${WORKDIR}"/gtk-1-for-imlib.m4 m4 + + AT_M4DIR="m4" eautoreconf +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + --sysconfdir=/etc/imlib \ + $(use_enable static-libs static) \ + --disable-gdk \ + --disable-gtktest +} + +multilib_src_install() { + emake DESTDIR="${D}" install || die +} + +multilib_src_install_all() { + dodoc AUTHORS ChangeLog README + use doc && dohtml doc/* + + # Punt unused files + rm -f "${D}"/usr/lib*/pkgconfig/imlibgdk.pc + find "${D}" -name '*.la' -exec rm -f {} + +} |