/[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.8 Revision 1.15
1# Copyright 1999-2011 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.8 2011/12/29 17:42:26 pacho 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"
13HOMEPAGE="http://librsvg.sourceforge.net/" 13HOMEPAGE="http://librsvg.sourceforge.net/"
14SRC_URI="${SRC_URI} mirror://gentoo/introspection.m4.bz2" 14SRC_URI="${SRC_URI} mirror://gentoo/introspection.m4.bz2"
15 15
16LICENSE="LGPL-2" 16LICENSE="LGPL-2"
17SLOT="2" 17SLOT="2"
18KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" 18KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
19IUSE="doc +gtk gtk3 +introspection tools" 19IUSE="doc +gtk gtk3 +introspection tools"
20 20
21RDEPEND=">=media-libs/fontconfig-1.0.1 21RDEPEND=">=media-libs/fontconfig-1.0.1
22 >=media-libs/freetype-2 22 >=media-libs/freetype-2
23 >=dev-libs/glib-2.24:2 23 >=dev-libs/glib-2.24: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.8  
changed lines
  Added in v.1.15

  ViewVC Help
Powered by ViewVC 1.1.20