diff options
-rw-r--r-- | media-libs/jpeg/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/jpeg/Manifest | 4 | ||||
-rw-r--r-- | media-libs/jpeg/jpeg-8c.ebuild | 51 |
3 files changed, 60 insertions, 2 deletions
diff --git a/media-libs/jpeg/ChangeLog b/media-libs/jpeg/ChangeLog index e8c5c6bfaec7..977bc355a282 100644 --- a/media-libs/jpeg/ChangeLog +++ b/media-libs/jpeg/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/jpeg # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/ChangeLog,v 1.118 2011/01/06 00:03:56 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/ChangeLog,v 1.119 2011/01/19 20:21:41 ssuominen Exp $ + +*jpeg-8c (19 Jan 2011) + + 19 Jan 2011; Samuli Suominen <ssuominen@gentoo.org> +jpeg-8c.ebuild: + Version bump. 06 Jan 2011; Samuli Suominen <ssuominen@gentoo.org> jpeg-8b.ebuild: Remove unused libjpeg.la because jpeg is only linking to libc. diff --git a/media-libs/jpeg/Manifest b/media-libs/jpeg/Manifest index b888f5b56ff8..fc6b23713b79 100644 --- a/media-libs/jpeg/Manifest +++ b/media-libs/jpeg/Manifest @@ -4,9 +4,11 @@ DIST jpeg-6b-patches-2.tar.bz2 3703 RMD160 71f15f911baa0c60d5b2d78069c25f8a23f36 DIST jpegsrc.v6b.tar.gz 613261 RMD160 18892206014fbb8cae2a44e281f4ed53feaf7882 SHA1 7079f0d6c42fad0cfba382cf6ad322add1ace8f9 SHA256 75c3ec241e9996504fe02a9ed4d12f16b74ade713972f3db9e65ce95cd27e35d DIST jpegsrc.v7.tar.gz 960379 RMD160 6049c5fee2682c0757d4b51740abd981d1b24487 SHA1 88cced0fc3dbdbc82115e1d08abce4e9d23a4b47 SHA256 50b7866206c5be044c4a2b0d7895898f5a58d31b50e16e79cf7dea3b90337ebf DIST jpegsrc.v8b.tar.gz 965125 RMD160 18d31a26c447564c258a6f6357e9002536c9ab96 SHA1 15dc1939ea1a5b9d09baea11cceb13ca59e4f9df SHA256 36e6208edec591bae8f2fc370ea4f991447badb6377a125c211ffa7b503174a7 +DIST jpegsrc.v8c.tar.gz 986681 RMD160 b8455bec3e0d370069c64cc0bd41d25a859dc796 SHA1 f0a3b88ac4db19667798bee971537eeed552bce9 SHA256 edfc0b3e004b2fe58ffeeec89f96e3a3c28972c46725ec127d01edf8a1cc7c9a DIST libjpeg7_7-1.diff.gz 11554 RMD160 193bcb5fdc7360707cbb450c16888499085dd2c6 SHA1 b346d8f7803d08feccade84a0012a48ee2b5f62e SHA256 e465ab295502c6db995780d3b2e38570794d0d31034f0065352bcbda63c3a094 EBUILD jpeg-6b-r9.ebuild 1091 RMD160 369507ab90e7b5a3c3182c169b66ffbcc76a7fbb SHA1 055b2ac70da0b34a06c56d35e90e79aa64a7cd14 SHA256 f3a41589896686abd7591c3b8e56395b2c61da047af283577ab8e47e69a7f8f8 EBUILD jpeg-7-r1.ebuild 1206 RMD160 e093481dc826f1408bf50fb79424012f058895a5 SHA1 04b5fa14c37d326a000ca12588d5a028a5b199bf SHA256 c06e956ec11edd175e9c689ccc6455a2728052d265437ee9b89f7c4ab22baad0 EBUILD jpeg-8b.ebuild 1538 RMD160 a9e771a155be5a55085f16661fca8033a78c2d78 SHA1 7096c39fc9fe2d33641b0596db94d473e47ce1e3 SHA256 24f7f0e30f57a9ecec3e70859a28f3e70a03f966b1ec9986c7c2c5e1a116a940 -MISC ChangeLog 14021 RMD160 d853ce68b39bf9522fd3133e26d7925f425f318c SHA1 558a628517a17aca72f6965f86862167e79ecd0d SHA256 9f3196d07d749f507bc78f7f254b27667514a4c1c18767afadbc61e79ad37f16 +EBUILD jpeg-8c.ebuild 1583 RMD160 06975227d003f19f0684691d51a70c3153dbd3f1 SHA1 b1952e11c9e549adcd2cc6b4e1d858b2e77ef0f3 SHA256 e63e8f053fbb0fbd28a0c91fb2b2653d5477d8466d7e4a9a7528e3c76f40e263 +MISC ChangeLog 14133 RMD160 12c52220b8f0e7ba38ec78f010605ee3425022c7 SHA1 a09f2534b54261914e78b02fe730cb5c585bd0ec SHA256 f1ea6124c50846ac14243bcdb0e73bf28bc80b6fc11b17aaba20af0b12637bd3 MISC metadata.xml 224 RMD160 3a7dcbadaed2b7ed12e11152fe1fe2de0193fc29 SHA1 fa5078079869e963f3f51f80124cecf8ea6c1b67 SHA256 806818bba7ae36d62f16c1fe548a1eb2a360caf2d984aa8f47bba7b91ff73434 diff --git a/media-libs/jpeg/jpeg-8c.ebuild b/media-libs/jpeg/jpeg-8c.ebuild new file mode 100644 index 000000000000..689ae4b37cc7 --- /dev/null +++ b/media-libs/jpeg/jpeg-8c.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/jpeg-8c.ebuild,v 1.1 2011/01/19 20:21:41 ssuominen Exp $ + +EAPI="3" + +DEB_PV="7-1" +DEB_PN="libjpeg7" +DEB="${DEB_PN}_${DEB_PV}" + +inherit eutils libtool multilib + +DESCRIPTION="Library to load, handle and manipulate images in the JPEG format" +HOMEPAGE="http://jpegclub.org/ http://www.ijg.org/" +SRC_URI="http://www.ijg.org/files/${PN}src.v${PV}.tar.gz + mirror://gentoo/${DEB}.diff.gz" +# mirror://debian/pool/main/libj/${DEB_PN}/${DEB}.diff.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="static-libs" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${WORKDIR}"/${DEB}.diff + cp "${FILESDIR}"/Makefile.in.extra debian/extra/Makefile.in +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-7-maxmem_sysconf.patch + elibtoolize + # hook the Debian extra dir into the normal jpeg build env + sed -i '/all:/s:$:\n\t./config.status --file debian/extra/Makefile\n\t$(MAKE) -C debian/extra $@:' Makefile.in +} + +src_configure() { + econf \ + --disable-dependency-tracking \ + --enable-shared \ + $(use_enable static-libs static) \ + --enable-maxmem=64 +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc change.log example.c README *.txt + + find "${ED}" -name '*.la' -exec rm -f '{}' + +} |