summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2007-07-19 15:18:31 +0000
committerSamuli Suominen <drac@gentoo.org>2007-07-19 15:18:31 +0000
commit170bfb6fc59459f328c6f4308ed6dc2b2e83f303 (patch)
treeca24e37a6f4476384c20181e276e6fa90b7d1341 /x11-misc/shared-mime-info
parentFix manifest (again), bug#185818 (diff)
downloadgentoo-2-170bfb6fc59459f328c6f4308ed6dc2b2e83f303.tar.gz
gentoo-2-170bfb6fc59459f328c6f4308ed6dc2b2e83f303.tar.bz2
gentoo-2-170bfb6fc59459f328c6f4308ed6dc2b2e83f303.zip
Fix pkgconfig installation location. Patch from upstream.
(Portage version: 2.1.3_rc8)
Diffstat (limited to 'x11-misc/shared-mime-info')
-rw-r--r--x11-misc/shared-mime-info/ChangeLog9
-rw-r--r--x11-misc/shared-mime-info/files/digest-shared-mime-info-0.21-r1 (renamed from x11-misc/shared-mime-info/files/digest-shared-mime-info-0.21)0
-rw-r--r--x11-misc/shared-mime-info/files/shared-mime-info-0.21-pkgconfig.patch11
-rw-r--r--x11-misc/shared-mime-info/shared-mime-info-0.21-r1.ebuild (renamed from x11-misc/shared-mime-info/shared-mime-info-0.21.ebuild)11
4 files changed, 28 insertions, 3 deletions
diff --git a/x11-misc/shared-mime-info/ChangeLog b/x11-misc/shared-mime-info/ChangeLog
index 8740a8d374f1..8797032fa00b 100644
--- a/x11-misc/shared-mime-info/ChangeLog
+++ b/x11-misc/shared-mime-info/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for x11-misc/shared-mime-info
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/shared-mime-info/ChangeLog,v 1.89 2007/07/19 03:56:08 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/shared-mime-info/ChangeLog,v 1.90 2007/07/19 15:18:31 drac Exp $
+
+*shared-mime-info-0.21-r1 (19 Jul 2007)
+
+ 19 Jul 2007; Samuli Suominen <drac@gentoo.org>
+ +files/shared-mime-info-0.21-pkgconfig.patch,
+ +shared-mime-info-0.21-r1.ebuild:
+ Fix pkgconfig installation location. Patch from upstream.
*shared-mime-info-0.21 (19 Jul 2007)
diff --git a/x11-misc/shared-mime-info/files/digest-shared-mime-info-0.21 b/x11-misc/shared-mime-info/files/digest-shared-mime-info-0.21-r1
index aca0a64ddb03..aca0a64ddb03 100644
--- a/x11-misc/shared-mime-info/files/digest-shared-mime-info-0.21
+++ b/x11-misc/shared-mime-info/files/digest-shared-mime-info-0.21-r1
diff --git a/x11-misc/shared-mime-info/files/shared-mime-info-0.21-pkgconfig.patch b/x11-misc/shared-mime-info/files/shared-mime-info-0.21-pkgconfig.patch
new file mode 100644
index 000000000000..d5e34ad36906
--- /dev/null
+++ b/x11-misc/shared-mime-info/files/shared-mime-info-0.21-pkgconfig.patch
@@ -0,0 +1,11 @@
+--- Makefile.am 2007/02/06 10:51:22 1.26
++++ Makefile.am 2007/06/27 18:20:12 1.27
+@@ -31,7 +31,7 @@
+ CLEANFILES = freedesktop.org.xml po/stamp-it
+ DISTCLEANFILES = intltool-extract intltool-merge intltool-update
+
+-pkgconfigdir = $(datadir)/pkgconfig
++pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = shared-mime-info.pc
+
+ $(pkgconfig_DATA): config.status
diff --git a/x11-misc/shared-mime-info/shared-mime-info-0.21.ebuild b/x11-misc/shared-mime-info/shared-mime-info-0.21-r1.ebuild
index 57d38b59192f..33370329a216 100644
--- a/x11-misc/shared-mime-info/shared-mime-info-0.21.ebuild
+++ b/x11-misc/shared-mime-info/shared-mime-info-0.21-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/shared-mime-info/shared-mime-info-0.21.ebuild,v 1.1 2007/07/19 03:56:08 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/shared-mime-info/shared-mime-info-0.21-r1.ebuild,v 1.1 2007/07/19 15:18:31 drac Exp $
-inherit fdo-mime
+inherit autotools eutils fdo-mime
DESCRIPTION="The Shared MIME-info Database specification"
HOMEPAGE="http://www.freedesktop.org/software/shared-mime-info"
@@ -20,6 +20,13 @@ DEPEND="${RDEPEND}
dev-util/intltool
sys-devel/gettext"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-pkgconfig.patch
+ eautomake
+}
+
src_compile() {
econf --disable-update-mimedb
emake || die "emake failed."