/[gentoo-x86]/gnome-base/librsvg/librsvg-2.34.2.ebuild
Gentoo

Diff of /gnome-base/librsvg/librsvg-2.34.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.14 Revision 1.15
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/gnome-base/librsvg/Attic/librsvg-2.34.2.ebuild,v 1.14 2012/03/25 16:28:10 armin76 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/gnome-base/librsvg/Attic/librsvg-2.34.2.ebuild,v 1.15 2012/04/24 04:04:11 tetromino Exp $
4 4
5EAPI="4" 5EAPI="4"
6GNOME2_LA_PUNT="yes" 6GNOME2_LA_PUNT="yes"
7GCONF_DEBUG="no" 7GCONF_DEBUG="no"
8PYTHON_DEPEND="2" 8PYTHON_DEPEND="2"
74 74
75pkg_postinst() { 75pkg_postinst() {
76 # causes segfault if set, see bug 375615 76 # causes segfault if set, see bug 375615
77 unset __GL_NO_DSO_FINALIZER 77 unset __GL_NO_DSO_FINALIZER
78 78
79 tmp_file=$(mktemp --suffix=gdk_pixbuf_ebuild) 79 tmp_file=$(mktemp -t tmp.XXXXXXXXXXlibrsvg_ebuild)
80 # be atomic! 80 # be atomic!
81 gdk-pixbuf-query-loaders > "${tmp_file}" 81 gdk-pixbuf-query-loaders > "${tmp_file}"
82 if [ "${?}" = "0" ]; then 82 if [ "${?}" = "0" ]; then
83 cat "${tmp_file}" > "${EROOT}usr/$(get_libdir)/gdk-pixbuf-2.0/2.10.0/loaders.cache" 83 cat "${tmp_file}" > "${EROOT}usr/$(get_libdir)/gdk-pixbuf-2.0/2.10.0/loaders.cache"
84 else 84 else
89 89
90pkg_postrm() { 90pkg_postrm() {
91 # causes segfault if set, see bug 375615 91 # causes segfault if set, see bug 375615
92 unset __GL_NO_DSO_FINALIZER 92 unset __GL_NO_DSO_FINALIZER
93 93
94 tmp_file=$(mktemp --suffix=gdk_pixbuf_ebuild) 94 tmp_file=$(mktemp -t tmp.XXXXXXXXXXlibrsvg_ebuild)
95 # be atomic! 95 # be atomic!
96 gdk-pixbuf-query-loaders > "${tmp_file}" 96 gdk-pixbuf-query-loaders > "${tmp_file}"
97 if [ "${?}" = "0" ]; then 97 if [ "${?}" = "0" ]; then
98 cat "${tmp_file}" > "${EROOT}usr/$(get_libdir)/gdk-pixbuf-2.0/2.10.0/loaders.cache" 98 cat "${tmp_file}" > "${EROOT}usr/$(get_libdir)/gdk-pixbuf-2.0/2.10.0/loaders.cache"
99 else 99 else

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

  ViewVC Help
Powered by ViewVC 1.1.20