summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2012-10-29 23:05:25 +0100
committerGilles Dartiguelongue <eva@gentoo.org>2012-10-29 23:05:25 +0100
commitcf4ce9e4ec82b16679c3949a9fe6dab64657bc57 (patch)
treeaea6c7f3a499f89cdc507de9d0b78e0bd2b58c37 /x11-libs/pango
parentprofiles/package.mask: unmask pango (diff)
downloadgnome-cf4ce9e4ec82b16679c3949a9fe6dab64657bc57.tar.gz
gnome-cf4ce9e4ec82b16679c3949a9fe6dab64657bc57.tar.bz2
gnome-cf4ce9e4ec82b16679c3949a9fe6dab64657bc57.zip
x11-libs/pango: fix a few ebuild issues
Pango not having a modules file was pretty embarrassing.
Diffstat (limited to 'x11-libs/pango')
-rw-r--r--x11-libs/pango/pango-1.32.1.ebuild16
1 files changed, 11 insertions, 5 deletions
diff --git a/x11-libs/pango/pango-1.32.1.ebuild b/x11-libs/pango/pango-1.32.1.ebuild
index bb4bb93e..4b800bbf 100644
--- a/x11-libs/pango/pango-1.32.1.ebuild
+++ b/x11-libs/pango/pango-1.32.1.ebuild
@@ -56,19 +56,25 @@ src_prepare() {
gnome2_src_prepare
}
+src_install() {
+ gnome2_src_install
+
+ local PANGO_CONFDIR="${EROOT}/etc/pango/${CHOST}"
+ dodir "${PANGO_CONFDIR}"
+ keepdir "${PANGO_CONFDIR}"
+}
+
pkg_postinst() {
- einfo "Generating modules listing..."
+ gnome2_pkg_postinst
+ einfo "Generating modules listing..."
local PANGO_CONFDIR="${EROOT}/etc/pango/${CHOST}"
local pango_conf="${PANGO_CONFDIR}/pango.modules"
local tmp_file=$(mktemp -t tmp_pango_ebuild.XXXXXXXXXX)
- dodir "${PANGO_CONFDIR}"
- keepdir "${PANGO_CONFDIR}"
-
# be atomic!
if pango-querymodules --system \
- "${EROOT}"usr/$(get_libdir)/pango/1.6.0/modules/*$(get_modname) \
+ "${EROOT}"usr/$(get_libdir)/pango/1.8.0/modules/*$(get_modname) \
> "${tmp_file}"; then
cat "${tmp_file}" > "${pango_conf}" || {
rm "${tmp_file}"; die; }