summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>