diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2013-08-01 13:57:04 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2013-08-01 13:57:04 +0000 |
commit | a55b1a4ea925d2faea3af7a8d8c1ca94ea2708d1 (patch) | |
tree | f33ddf213de71044ef3067f99eed431c7b2f4e6a /media-libs | |
parent | Temporarily mask =media-libs/jpeg-6b-r10 with multilib conversion. (diff) | |
download | gentoo-2-a55b1a4ea925d2faea3af7a8d8c1ca94ea2708d1.tar.gz gentoo-2-a55b1a4ea925d2faea3af7a8d8c1ca94ea2708d1.tar.bz2 gentoo-2-a55b1a4ea925d2faea3af7a8d8c1ca94ea2708d1.zip |
Convert to multilib-minimal.eclass to gain libjpeg.so.62 which is still used by binary-only apps. Thanks to Alexis Ballier for a build patch that made this possible.
(Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/jpeg/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/jpeg/jpeg-6b-r10.ebuild | 44 |
2 files changed, 52 insertions, 1 deletions
diff --git a/media-libs/jpeg/ChangeLog b/media-libs/jpeg/ChangeLog index 72aefc381442..03df9a3fcc9f 100644 --- a/media-libs/jpeg/ChangeLog +++ b/media-libs/jpeg/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-libs/jpeg # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/ChangeLog,v 1.139 2013/07/31 16:10:51 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/ChangeLog,v 1.140 2013/08/01 13:57:04 ssuominen Exp $ + +*jpeg-6b-r10 (01 Aug 2013) + + 01 Aug 2013; Samuli Suominen <ssuominen@gentoo.org> +jpeg-6b-r10.ebuild: + Convert to multilib-minimal.eclass to gain libjpeg.so.62 which is still used + by binary-only apps. Thanks to Alexis Ballier for a build patch that made + this possible. 31 Jul 2013; Alexis Ballier <aballier@gentoo.org> jpeg-8d-r1.ebuild: add the blocker on emul-linux so that it is stacked for baselibs -r4 diff --git a/media-libs/jpeg/jpeg-6b-r10.ebuild b/media-libs/jpeg/jpeg-6b-r10.ebuild new file mode 100644 index 000000000000..2ab3c656b45e --- /dev/null +++ b/media-libs/jpeg/jpeg-6b-r10.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/jpeg-6b-r10.ebuild,v 1.1 2013/08/01 13:57:04 ssuominen Exp $ + +EAPI=5 + +# this ebuild is only for the libjpeg.so.62 SONAME for ABI compat + +PATCH_VER=1 +inherit eutils libtool toolchain-funcs multilib-minimal + +DESCRIPTION="library to load, handle and manipulate images in the JPEG format (transition package)" +HOMEPAGE="http://www.ijg.org/" +SRC_URI="mirror://gentoo/jpegsrc.v${PV}.tar.gz + http://dev.gentoo.org/~ssuominen/${P}-patchset-${PATCH_VER}.tar.xz" + +LICENSE="IJG" +SLOT="62" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" +IUSE="" + +DOCS="" + +src_prepare() { + EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch + elibtoolize +} + +multilib_src_configure() { + tc-export CC + ECONF_SOURCE=${S} \ + econf \ + --enable-shared \ + --disable-static \ + --enable-maxmem=64 +} + +multilib_src_compile() { + emake libjpeg.la +} + +multilib_src_install() { + newlib.so .libs/libjpeg.so.62.0.0 libjpeg.so.62 +} |