summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-08-22 12:54:01 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-08-22 12:54:01 +0000
commita0de88619a88b611bedaf2d1d5eea3b7fdb7fdf8 (patch)
tree57c181d17c61955f009f32adcf244ef83a19c303 /media-libs
parentBackport maxmem sysconf() patch from jpeg-6b patchset. (diff)
downloadgentoo-2-a0de88619a88b611bedaf2d1d5eea3b7fdb7fdf8.tar.gz
gentoo-2-a0de88619a88b611bedaf2d1d5eea3b7fdb7fdf8.tar.bz2
gentoo-2-a0de88619a88b611bedaf2d1d5eea3b7fdb7fdf8.zip
Initial commit of libjpeg.so.62 and libjpeg.so.62.0.0 for use with binary only applications.
(Portage version: 2.2_rc38/cvs/Linux x86_64)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/jpeg-compat/ChangeLog11
-rw-r--r--media-libs/jpeg-compat/jpeg-compat-6b.ebuild45
-rw-r--r--media-libs/jpeg-compat/metadata.xml8
3 files changed, 64 insertions, 0 deletions
diff --git a/media-libs/jpeg-compat/ChangeLog b/media-libs/jpeg-compat/ChangeLog
new file mode 100644
index 000000000000..7a254fa5748d
--- /dev/null
+++ b/media-libs/jpeg-compat/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-libs/jpeg-compat
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg-compat/ChangeLog,v 1.1 2009/08/22 12:54:01 ssuominen Exp $
+
+*jpeg-compat-6b (22 Aug 2009)
+
+ 22 Aug 2009; Samuli Suominen <ssuominen@gentoo.org>
+ +jpeg-compat-6b.ebuild:
+ Initial commit of libjpeg.so.62 and libjpeg.so.62.0.0 for use with binary
+ only applications.
+
diff --git a/media-libs/jpeg-compat/jpeg-compat-6b.ebuild b/media-libs/jpeg-compat/jpeg-compat-6b.ebuild
new file mode 100644
index 000000000000..88008a979bb9
--- /dev/null
+++ b/media-libs/jpeg-compat/jpeg-compat-6b.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg-compat/jpeg-compat-6b.ebuild,v 1.1 2009/08/22 12:54:01 ssuominen Exp $
+
+EAPI=2
+inherit eutils libtool multilib toolchain-funcs
+
+PATCH_VER=1.6
+
+DESCRIPTION="Library to load, handle and manipulate images in the JPEG format (transition package)"
+HOMEPAGE="http://www.ijg.org/"
+SRC_URI="ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v${PV}.tar.gz
+ mirror://gentoo/jpeg-6b-patches-${PATCH_VER}.tar.bz2"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ sys-devel/libtool
+ !<media-libs/jpeg-7"
+
+S=${WORKDIR}/${P/-compat}
+
+src_prepare() {
+ EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch
+ rm libtool-wrap
+ ln -s libtool libtool-wrap
+ elibtoolize
+}
+
+src_configure() {
+ tc-export AR CC RANLIB
+ econf \
+ --enable-shared \
+ --disable-static \
+ --enable-maxmem=64
+}
+
+src_install() {
+ exeinto /usr/$(get_libdir)
+ doexe .libs/libjpeg.so.62* || die "doexe failed"
+}
diff --git a/media-libs/jpeg-compat/metadata.xml b/media-libs/jpeg-compat/metadata.xml
new file mode 100644
index 000000000000..abb931a4cc76
--- /dev/null
+++ b/media-libs/jpeg-compat/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>graphics</herd>
+ <maintainer>
+ <email>graphics@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>