summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-01-27 23:46:07 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-01-27 23:46:07 +0000
commitdb9f25a5ee5586a24619276b643dfc3b122d55bd (patch)
tree72642d75f11b263defe38eb97b716204320ebf34 /media-libs
parentKeyword ~ppc/~ppc64 wrt #398909 (diff)
downloadhistorical-db9f25a5ee5586a24619276b643dfc3b122d55bd.tar.gz
historical-db9f25a5ee5586a24619276b643dfc3b122d55bd.tar.bz2
historical-db9f25a5ee5586a24619276b643dfc3b122d55bd.zip
pkg_postinst message for users switching from libjpeg-turbo
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/jpeg/ChangeLog7
-rw-r--r--media-libs/jpeg/jpeg-8c-r1.ebuild23
2 files changed, 21 insertions, 9 deletions
diff --git a/media-libs/jpeg/ChangeLog b/media-libs/jpeg/ChangeLog
index ec6bf940ebb7..580e6bea51cf 100644
--- a/media-libs/jpeg/ChangeLog
+++ b/media-libs/jpeg/ChangeLog
@@ -1,6 +1,9 @@
# 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.121 2011/12/31 08:47:40 grobian Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/ChangeLog,v 1.122 2012/01/27 23:46:07 ssuominen Exp $
+
+ 27 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> jpeg-8c-r1.ebuild:
+ pkg_postinst message for users switching from libjpeg-turbo
31 Dec 2011; Fabian Groffen <grobian@gentoo.org> jpeg-8c-r1.ebuild:
Marked ~m68k-mint, bug #394955
diff --git a/media-libs/jpeg/jpeg-8c-r1.ebuild b/media-libs/jpeg/jpeg-8c-r1.ebuild
index 0d834e2e2a05..4444f3eecfd7 100644
--- a/media-libs/jpeg/jpeg-8c-r1.ebuild
+++ b/media-libs/jpeg/jpeg-8c-r1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/jpeg-8c-r1.ebuild,v 1.2 2011/12/31 08:47:40 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/jpeg-8c-r1.ebuild,v 1.3 2012/01/27 23:46:07 ssuominen Exp $
-EAPI="3"
+EAPI=4
-DEB_PV="7-1"
-DEB_PN="libjpeg7"
+DEB_PV=7-1
+DEB_PN=libjpeg7
DEB="${DEB_PN}_${DEB_PV}"
inherit eutils libtool multilib
@@ -37,7 +37,6 @@ src_configure() {
local ldverscript=
[[ ${CHOST} == *-solaris* ]] && ldverscript="--disable-ld-version-script"
econf \
- --disable-dependency-tracking \
--enable-shared \
$(use_enable static-libs static) \
--enable-maxmem=64 \
@@ -48,5 +47,15 @@ src_install() {
emake DESTDIR="${D}" install || die
dodoc change.log example.c README *.txt
- find "${ED}" -name '*.la' -exec rm -f '{}' +
+ find "${ED}" -name '*.la' -exec rm -f {} +
+}
+
+pkg_postinst() {
+ ewarn "If you are switching from media-libs/libjpeg-turbo you might need to"
+ ewarn "rebuild reverse dependencies:"
+ ewarn
+ ewarn "# emerge gentoolkit"
+ ewarn "# revdep-rebuild --library libjpeg.so.8"
+ ewarn
+ ewarn "NOTE: The --library argument is important here."
}