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: jpeg-9a.ebuild ChangeLog
Date: Fri, 24 Jan 2014 13:58:27
Message-Id: 20140124135820.71F4C2004C@flycatcher.gentoo.org
1 ssuominen 14/01/24 13:58:20
2
3 Modified: ChangeLog
4 Added: jpeg-9a.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
9
10 Revision Changes Path
11 1.151 media-libs/jpeg/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/jpeg/ChangeLog?rev=1.151&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/jpeg/ChangeLog?rev=1.151&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/jpeg/ChangeLog?r1=1.150&r2=1.151
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/jpeg/ChangeLog,v
20 retrieving revision 1.150
21 retrieving revision 1.151
22 diff -u -r1.150 -r1.151
23 --- ChangeLog 24 Jan 2014 12:18:50 -0000 1.150
24 +++ ChangeLog 24 Jan 2014 13:58:20 -0000 1.151
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-libs/jpeg
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/ChangeLog,v 1.150 2014/01/24 12:18:50 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/ChangeLog,v 1.151 2014/01/24 13:58:20 ssuominen Exp $
30 +
31 +*jpeg-9a (24 Jan 2014)
32 +
33 + 24 Jan 2014; Samuli Suominen <ssuominen@g.o> +jpeg-9a.ebuild:
34 + Version bump.
35
36 *jpeg-6b-r12 (24 Jan 2014)
37
38
39
40
41 1.1 media-libs/jpeg/jpeg-9a.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/jpeg/jpeg-9a.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/jpeg/jpeg-9a.ebuild?rev=1.1&content-type=text/plain
45
46 Index: jpeg-9a.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/jpeg-9a.ebuild,v 1.1 2014/01/24 13:58:20 ssuominen Exp $
51
52 EAPI=5
53 inherit eutils libtool toolchain-funcs multilib-minimal
54
55 DESCRIPTION="Library to load, handle and manipulate images in the JPEG format"
56 HOMEPAGE="http://jpegclub.org/ http://www.ijg.org/"
57 SRC_URI="http://www.ijg.org/files/${PN}src.v${PV}.tar.gz
58 mirror://debian/pool/main/libj/lib${PN}8/lib${PN}8_8d-1.debian.tar.gz"
59
60 LICENSE="IJG"
61 SLOT="0"
62 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"
63 IUSE="static-libs"
64
65 RDEPEND="!media-libs/libjpeg-turbo:0
66 abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224-r5
67 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )"
68 DEPEND="${RDEPEND}"
69
70 src_prepare() {
71 epatch \
72 "${FILESDIR}"/${PN}-7-maxmem_sysconf.patch \
73 "${FILESDIR}"/${PN}-9-fix-jmorecfg-boolean-enum.patch
74 elibtoolize
75 }
76
77 multilib_src_configure() {
78 # Fix building against this library on eg. Solaris and DragonFly BSD, see:
79 # http://mail-index.netbsd.org/pkgsrc-bugs/2010/01/18/msg035644.html
80 local ldverscript=
81 [[ ${CHOST} == *-solaris* ]] && ldverscript="--disable-ld-version-script"
82
83 ECONF_SOURCE=${S} \
84 econf \
85 $(use_enable static-libs static) \
86 --enable-maxmem=64 \
87 ${ldverscript}
88 }
89
90 multilib_src_compile() {
91 emake
92
93 if multilib_build_binaries; then
94 # Build exifautotran and jpegexiforient
95 cd ../debian/extra
96 emake CC="$(tc-getCC)" CFLAGS="${LDFLAGS} ${CFLAGS}"
97 fi
98 }
99
100 multilib_src_install() {
101 emake DESTDIR="${D}" install
102 }
103
104 multilib_src_install_all() {
105 prune_libtool_files
106
107 dodoc change.log example.c README *.txt
108
109 # Install exifautotran and jpegexiforient
110 newdoc ../debian/changelog changelog.debian
111 cd ../debian/extra
112 emake \
113 DESTDIR="${D}" prefix="${EPREFIX}"/usr \
114 INSTALL="install -m755" INSTALLDIR="install -d -m755" \
115 install
116 }