1 |
commit: 29f381f5a935e20791eeee1f0c180682bf29bb6e |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 24 21:15:45 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 24 22:42:57 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29f381f5 |
7 |
|
8 |
x11-libs/gdk-pixbuf: Drop old versions |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
x11-libs/gdk-pixbuf/gdk-pixbuf-2.42.6.ebuild | 121 --------------------------- |
13 |
1 file changed, 121 deletions(-) |
14 |
|
15 |
diff --git a/x11-libs/gdk-pixbuf/gdk-pixbuf-2.42.6.ebuild b/x11-libs/gdk-pixbuf/gdk-pixbuf-2.42.6.ebuild |
16 |
deleted file mode 100644 |
17 |
index a0f63462d966..000000000000 |
18 |
--- a/x11-libs/gdk-pixbuf/gdk-pixbuf-2.42.6.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,121 +0,0 @@ |
21 |
-# Copyright 1999-2021 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=7 |
25 |
- |
26 |
-inherit gnome.org gnome2-utils meson-multilib multilib xdg |
27 |
- |
28 |
-DESCRIPTION="Image loading library for GTK+" |
29 |
-HOMEPAGE="https://gitlab.gnome.org/GNOME/gdk-pixbuf" |
30 |
- |
31 |
-LICENSE="LGPL-2.1+" |
32 |
-SLOT="2" |
33 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
34 |
-IUSE="gtk-doc +introspection jpeg tiff" |
35 |
- |
36 |
-# TODO: For windows/darwin support: shared-mime-info conditional, native_windows_loaders option review |
37 |
-DEPEND=" |
38 |
- >=dev-libs/glib-2.56.0:2[${MULTILIB_USEDEP}] |
39 |
- x11-misc/shared-mime-info |
40 |
- >=media-libs/libpng-1.4:0=[${MULTILIB_USEDEP}] |
41 |
- jpeg? ( virtual/jpeg:0=[${MULTILIB_USEDEP}] ) |
42 |
- tiff? ( >=media-libs/tiff-3.9.2:0=[${MULTILIB_USEDEP}] ) |
43 |
- introspection? ( >=dev-libs/gobject-introspection-1.54:= ) |
44 |
-" |
45 |
-RDEPEND="${DEPEND} |
46 |
- !<x11-libs/gtk+-2.90.4:3 |
47 |
-" |
48 |
-BDEPEND=" |
49 |
- app-text/docbook-xsl-stylesheets |
50 |
- dev-libs/glib:2 |
51 |
- dev-libs/libxslt |
52 |
- dev-util/glib-utils |
53 |
- gtk-doc? ( |
54 |
- app-text/docbook-xml-dtd:4.3 |
55 |
- dev-util/gi-docgen |
56 |
- ) |
57 |
- >=sys-devel/gettext-0.19.8 |
58 |
- virtual/pkgconfig |
59 |
- >=dev-util/meson-0.55.3 |
60 |
-" |
61 |
- |
62 |
-MULTILIB_CHOST_TOOLS=( |
63 |
- /usr/bin/gdk-pixbuf-query-loaders$(get_exeext) |
64 |
-) |
65 |
- |
66 |
-PATCHES=( |
67 |
- # Do not run lowmem test on uclibc |
68 |
- # See https://bugzilla.gnome.org/show_bug.cgi?id=756590 |
69 |
- "${FILESDIR}"/${PN}-2.32.3-fix-lowmem-uclibc.patch |
70 |
-) |
71 |
- |
72 |
-src_prepare() { |
73 |
- xdg_src_prepare |
74 |
- # This will avoid polluting the pkg-config file with versioned libpng, |
75 |
- # which is causing problems with libpng14 -> libpng15 upgrade |
76 |
- # See upstream bug #667068 |
77 |
- # First check that the pattern is present, to catch upstream changes on bumps, |
78 |
- # because sed doesn't return failure code if it doesn't do any replacements |
79 |
- grep -q "foreach png: \[ 'libpng16', 'libpng15', 'libpng14', 'libpng13', 'libpng12', 'libpng10' \]" meson.build || die "libpng check order has changed upstream" |
80 |
- sed -e "s/foreach png: \[ 'libpng16', 'libpng15', 'libpng14', 'libpng13', 'libpng12', 'libpng10' \]/foreach png: \[ 'libpng', 'libpng16', 'libpng15', 'libpng14', 'libpng13', 'libpng12', 'libpng10' \]/" -i meson.build || die |
81 |
-} |
82 |
- |
83 |
-multilib_src_configure() { |
84 |
- local emesonargs=( |
85 |
- -Dpng=true |
86 |
- $(meson_use tiff) |
87 |
- $(meson_use jpeg) |
88 |
- -Dbuiltin_loaders=png |
89 |
- -Drelocatable=false |
90 |
- #native_windows_loaders |
91 |
- -Dinstalled_tests=false |
92 |
- -Dgio_sniffing=true |
93 |
- $(meson_native_use_bool gtk-doc gtk_doc) |
94 |
- $(meson_native_use_feature introspection) |
95 |
- $(meson_native_true man) |
96 |
- ) |
97 |
- |
98 |
- meson_src_configure |
99 |
-} |
100 |
- |
101 |
-multilib_src_install_all() { |
102 |
- if use gtk-doc; then |
103 |
- mkdir "${ED}"/usr/share/doc/${PF}/html || die |
104 |
- mv "${ED}"/usr/share/doc/{${PN}/,${PF}/html/} || die |
105 |
- mv "${ED}"/usr/share/doc/{gdk-pixdata/,${PF}/html/} || die |
106 |
- fi |
107 |
-} |
108 |
- |
109 |
-pkg_preinst() { |
110 |
- xdg_pkg_preinst |
111 |
- |
112 |
- multilib_pkg_preinst() { |
113 |
- # Make sure loaders.cache belongs to gdk-pixbuf alone |
114 |
- local cache="usr/$(get_libdir)/${PN}-2.0/2.10.0/loaders.cache" |
115 |
- |
116 |
- if [[ -e ${EROOT}/${cache} ]]; then |
117 |
- cp "${EROOT}"/${cache} "${ED}"/${cache} || die |
118 |
- else |
119 |
- touch "${ED}"/${cache} || die |
120 |
- fi |
121 |
- } |
122 |
- |
123 |
- multilib_foreach_abi multilib_pkg_preinst |
124 |
- gnome2_gdk_pixbuf_savelist |
125 |
-} |
126 |
- |
127 |
-pkg_postinst() { |
128 |
- # causes segfault if set, see bug 375615 |
129 |
- unset __GL_NO_DSO_FINALIZER |
130 |
- |
131 |
- xdg_pkg_postinst |
132 |
- multilib_foreach_abi gnome2_gdk_pixbuf_update |
133 |
-} |
134 |
- |
135 |
-pkg_postrm() { |
136 |
- xdg_pkg_postrm |
137 |
- |
138 |
- if [[ -z ${REPLACED_BY_VERSION} ]]; then |
139 |
- rm -f "${EROOT}"/usr/lib*/${PN}-2.0/2.10.0/loaders.cache |
140 |
- fi |
141 |
-} |