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-8d.ebuild
Date: Wed, 15 Feb 2012 00:39:09
Message-Id: 20120215003855.2782F2004B@flycatcher.gentoo.org
1 ssuominen 12/02/15 00:38:55
2
3 Modified: ChangeLog
4 Added: jpeg-8d.ebuild
5 Log:
6 Version bump wrt #402927 by "teidakankan"
7
8 (Portage version: 2.2.0_alpha85/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.127 media-libs/jpeg/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/jpeg/ChangeLog?rev=1.127&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/jpeg/ChangeLog?rev=1.127&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/jpeg/ChangeLog?r1=1.126&r2=1.127
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/jpeg/ChangeLog,v
20 retrieving revision 1.126
21 retrieving revision 1.127
22 diff -u -r1.126 -r1.127
23 --- ChangeLog 12 Feb 2012 15:48:05 -0000 1.126
24 +++ ChangeLog 15 Feb 2012 00:38:55 -0000 1.127
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-libs/jpeg
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/ChangeLog,v 1.126 2012/02/12 15:48:05 armin76 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/ChangeLog,v 1.127 2012/02/15 00:38:55 ssuominen Exp $
30 +
31 +*jpeg-8d (15 Feb 2012)
32 +
33 + 15 Feb 2012; Samuli Suominen <ssuominen@g.o> +jpeg-8d.ebuild:
34 + Version bump wrt #402927 by "teidakankan"
35
36 12 Feb 2012; Raúl Porcel <armin76@g.o> jpeg-8c-r1.ebuild:
37 alpha/arm/ia64/m68k/s390/sh/sparc stable wrt #401109
38
39
40
41 1.1 media-libs/jpeg/jpeg-8d.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/jpeg/jpeg-8d.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/jpeg/jpeg-8d.ebuild?rev=1.1&content-type=text/plain
45
46 Index: jpeg-8d.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/jpeg-8d.ebuild,v 1.1 2012/02/15 00:38:55 ssuominen Exp $
51
52 EAPI=4
53 inherit eutils libtool toolchain-funcs
54
55 MY_PN=libjpeg8
56 MY_PV=1
57
58 DESCRIPTION="Library to load, handle and manipulate images in the JPEG format"
59 HOMEPAGE="http://jpegclub.org/ http://www.ijg.org/"
60 SRC_URI="http://www.ijg.org/files/${PN}src.v${PV}.tar.gz
61 mirror://debian/pool/main/${MY_PN:0:4}/${MY_PN}/${MY_PN}_${PV}-${MY_PV}.debian.tar.gz"
62
63 LICENSE="as-is"
64 SLOT="0"
65 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 ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
66 IUSE="static-libs"
67
68 DOCS="change.log example.c README *.txt"
69
70 src_prepare() {
71 epatch "${FILESDIR}"/${PN}-7-maxmem_sysconf.patch
72 elibtoolize
73 }
74
75 src_configure() {
76 # Fix building against this library on eg. Solaris and DragonFly BSD, see:
77 # http://mail-index.netbsd.org/pkgsrc-bugs/2010/01/18/msg035644.html
78 local ldverscript=
79 [[ ${CHOST} == *-solaris* ]] && ldverscript="--disable-ld-version-script"
80
81 econf \
82 $(use_enable static-libs static) \
83 --enable-maxmem=64 \
84 ${ldverscript}
85 }
86
87 src_compile() {
88 default
89
90 # Build exifautotran and jpegexiforient
91 cd ../debian/extra
92 emake CC="$(tc-getCC)" CFLAGS="${LDFLAGS} ${CFLAGS}"
93 }
94
95 src_install() {
96 default
97
98 find "${ED}" -name '*.la' -exec rm -f {} +
99
100 # Install exifautotran and jpegexiforient
101 newdoc ../debian/changelog changelog.debian
102 cd ../debian/extra
103 emake \
104 DESTDIR="${D}" prefix="${EPREFIX}"/usr \
105 INSTALL="install -m755" INSTALLDIR="install -d -m755" \
106 install
107 }
108
109 pkg_postinst() {
110 ewarn "If you are switching from media-libs/libjpeg-turbo you might need to"
111 ewarn "rebuild reverse dependencies:"
112 ewarn
113 ewarn "# emerge gentoolkit"
114 ewarn "# revdep-rebuild --library libjpeg.so.8"
115 }