1 |
commit: 51db9fe407024951280b2518b4eac537c200f08a |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 29 12:06:30 2021 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 29 12:06:30 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51db9fe4 |
7 |
|
8 |
media-libs/libafterimage: remove old |
9 |
|
10 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
11 |
|
12 |
.../libafterimage/libafterimage-1.20-r3.ebuild | 105 --------------------- |
13 |
1 file changed, 105 deletions(-) |
14 |
|
15 |
diff --git a/media-libs/libafterimage/libafterimage-1.20-r3.ebuild b/media-libs/libafterimage/libafterimage-1.20-r3.ebuild |
16 |
deleted file mode 100644 |
17 |
index 026e4af1c4a..00000000000 |
18 |
--- a/media-libs/libafterimage/libafterimage-1.20-r3.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,105 +0,0 @@ |
21 |
-# Copyright 1999-2020 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=6 |
25 |
-inherit autotools |
26 |
- |
27 |
-MY_PN=libAfterImage |
28 |
- |
29 |
-DESCRIPTION="Afterstep's standalone generic image manipulation library" |
30 |
-HOMEPAGE="http://www.afterstep.org/afterimage/index.php" |
31 |
-SRC_URI="ftp://ftp.afterstep.org/stable/${MY_PN}/${MY_PN}-${PV}.tar.bz2" |
32 |
- |
33 |
-LICENSE="LGPL-2.1" |
34 |
-SLOT="0" |
35 |
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" |
36 |
-IUSE="+X cpu_flags_x86_mmx examples gif jpeg nls png static-libs shm +shaping svg tiff truetype" |
37 |
- |
38 |
-RDEPEND=" |
39 |
- X? ( x11-libs/libSM |
40 |
- x11-libs/libXext |
41 |
- x11-libs/libXrender ) |
42 |
- gif? ( media-libs/giflib:0= ) |
43 |
- jpeg? ( virtual/jpeg:0 ) |
44 |
- png? ( >=media-libs/libpng-1.4:0= ) |
45 |
- svg? ( gnome-base/librsvg:2 ) |
46 |
- tiff? ( media-libs/tiff:0 ) |
47 |
- truetype? ( media-libs/freetype )" |
48 |
-DEPEND="${RDEPEND} |
49 |
- X? ( x11-base/xorg-proto ) |
50 |
- virtual/pkgconfig |
51 |
- !!x11-wm/afterstep" |
52 |
-REQUIRED_USE=" |
53 |
- shaping? ( X ) |
54 |
- shm? ( X )" |
55 |
- |
56 |
-S="${WORKDIR}/${MY_PN}-${PV}" |
57 |
- |
58 |
-src_prepare() { |
59 |
- default |
60 |
- |
61 |
- # fix some ldconfig problem in makefile.in |
62 |
- eapply -p0 "${FILESDIR}"/${PN}-makefile.in.patch |
63 |
- # fix lib paths in afterimage-config |
64 |
- eapply -p0 "${FILESDIR}"/${PN}-config.patch |
65 |
- # fix gif unbundle |
66 |
- eapply -p0 "${FILESDIR}"/${PN}-gif.patch |
67 |
- # fix for libpng15 compability |
68 |
- eapply -p0 "${FILESDIR}"/${PN}-libpng15.patch |
69 |
- # add giflib-5 API support, bug 571654 |
70 |
- eapply "${FILESDIR}"/${PN}-giflib5-v2.patch |
71 |
- # do not build examples |
72 |
- use examples || sed -i \ |
73 |
- -e '/^all:/s/apps//' \ |
74 |
- -e '/^install:/s/install.apps//' \ |
75 |
- Makefile.in || die "sed failed" |
76 |
- # remove forced flags |
77 |
- sed -i \ |
78 |
- -e 's/CFLAGS="-O3"//' \ |
79 |
- -e 's/ -rdynamic//' \ |
80 |
- configure.in || die "sed failed" |
81 |
- |
82 |
- mv configure.in configure.ac || die |
83 |
- eautoreconf |
84 |
-} |
85 |
- |
86 |
-src_configure() { |
87 |
- econf \ |
88 |
- $(use_enable cpu_flags_x86_mmx mmx-optimization) \ |
89 |
- $(use_enable nls i18n) \ |
90 |
- $(use_enable shaping) \ |
91 |
- $(use_enable shm shmimage ) \ |
92 |
- $(use_enable static-libs staticlibs) \ |
93 |
- $(use_with X x) \ |
94 |
- $(use_with gif) \ |
95 |
- $(use_with jpeg) \ |
96 |
- $(use_with png) \ |
97 |
- $(use_with svg) \ |
98 |
- $(use_with tiff) \ |
99 |
- $(use_with truetype ttf) \ |
100 |
- --disable-glx \ |
101 |
- --enable-sharedlibs \ |
102 |
- --with-xpm \ |
103 |
- --without-builtin-gif \ |
104 |
- --without-builtin-jpeg \ |
105 |
- --without-builtin-png \ |
106 |
- --without-builtin-zlib \ |
107 |
- --without-afterbase |
108 |
-} |
109 |
- |
110 |
-src_install() { |
111 |
- emake \ |
112 |
- DESTDIR="${D}" \ |
113 |
- AFTER_DOC_DIR="${ED}/usr/share/doc/${PF}" \ |
114 |
- install |
115 |
- dodoc ChangeLog README |
116 |
- if use examples; then |
117 |
- cd apps || die |
118 |
- mv ascompose.man ascompose.1 || die |
119 |
- doman ascompose.1 |
120 |
- emake clean |
121 |
- rm Makefile* ascompose.1 || die |
122 |
- insinto /usr/share/doc/${PF}/examples |
123 |
- doins * |
124 |
- fi |
125 |
-} |