Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/jpeg: ChangeLog jpeg-8a.ebuild
Date: Tue, 02 Mar 2010 01:24:03
Message-Id: E1NmGq7-0005FY-Nw@stork.gentoo.org
1 ssuominen 10/03/02 01:23:59
2
3 Modified: ChangeLog
4 Added: jpeg-8a.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.2_rc63/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.101 media-libs/jpeg/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/jpeg/ChangeLog?rev=1.101&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/jpeg/ChangeLog?rev=1.101&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/jpeg/ChangeLog?r1=1.100&r2=1.101
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/jpeg/ChangeLog,v
19 retrieving revision 1.100
20 retrieving revision 1.101
21 diff -u -r1.100 -r1.101
22 --- ChangeLog 20 Feb 2010 14:53:52 -0000 1.100
23 +++ ChangeLog 2 Mar 2010 01:23:58 -0000 1.101
24 @@ -1,6 +1,11 @@
25 # ChangeLog for media-libs/jpeg
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/ChangeLog,v 1.100 2010/02/20 14:53:52 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/ChangeLog,v 1.101 2010/03/02 01:23:58 ssuominen Exp $
29 +
30 +*jpeg-8a (02 Mar 2010)
31 +
32 + 02 Mar 2010; Samuli Suominen <ssuominen@g.o> +jpeg-8a.ebuild:
33 + Version bump.
34
35 20 Feb 2010; Raúl Porcel <armin76@g.o> jpeg-8.ebuild:
36 alpha/ia64/m68k/s390/sh/sparc stable wrt #304827
37
38
39
40 1.1 media-libs/jpeg/jpeg-8a.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/jpeg/jpeg-8a.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/jpeg/jpeg-8a.ebuild?rev=1.1&content-type=text/plain
44
45 Index: jpeg-8a.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/jpeg-8a.ebuild,v 1.1 2010/03/02 01:23:58 ssuominen Exp $
50
51 EAPI="2"
52
53 DEB_PV="7-1"
54 DEB_PN="libjpeg7"
55 DEB="${DEB_PN}_${DEB_PV}"
56
57 inherit eutils libtool multilib
58
59 DESCRIPTION="Library to load, handle and manipulate images in the JPEG format"
60 HOMEPAGE="http://jpegclub.org/ http://www.ijg.org/"
61 SRC_URI="http://www.ijg.org/files/${PN}src.v${PV}.tar.gz
62 mirror://debian/pool/main/libj/${DEB_PN}/${DEB}.diff.gz"
63
64 LICENSE="as-is"
65 SLOT="0"
66 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"
67 IUSE=""
68
69 src_unpack() {
70 unpack ${A}
71 cd "${S}"
72 epatch "${WORKDIR}"/${DEB}.diff
73 cp "${FILESDIR}"/Makefile.in.extra debian/extra/Makefile.in
74 }
75
76 src_prepare() {
77 epatch "${FILESDIR}"/${PN}-7-maxmem_sysconf.patch
78 elibtoolize
79 # hook the Debian extra dir into the normal jpeg build env
80 sed -i '/all:/s:$:\n\t./config.status --file debian/extra/Makefile\n\t$(MAKE) -C debian/extra $@:' Makefile.in
81 }
82
83 src_configure() {
84 econf \
85 --disable-dependency-tracking \
86 --enable-shared \
87 --enable-static \
88 --enable-maxmem=64
89 }
90
91 src_install() {
92 emake DESTDIR="${D}" install || die
93 dodoc change.log example.c README *.txt
94 }
95
96 pkg_preinst() {
97 preserve_old_lib /usr/$(get_libdir)/libjpeg.so.7
98 }
99
100 pkg_postinst() {
101 preserve_old_lib_notify /usr/$(get_libdir)/libjpeg.so.7
102 }