1 |
commit: 801e5a28b0f1ed8e3103d96cb17e4f222c5b57fd |
2 |
Author: Aaron Bauman <bman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Nov 14 00:36:26 2019 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 14 00:36:26 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=801e5a28 |
7 |
|
8 |
media-libs/libpostproc: drop old EAPI |
9 |
|
10 |
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org> |
11 |
|
12 |
media-libs/libpostproc/Manifest | 1 - |
13 |
.../libpostproc/libpostproc-0.8.0.20121125.ebuild | 87 ---------------------- |
14 |
.../libpostproc/libpostproc-10.20140517.ebuild | 87 ---------------------- |
15 |
3 files changed, 175 deletions(-) |
16 |
|
17 |
diff --git a/media-libs/libpostproc/Manifest b/media-libs/libpostproc/Manifest |
18 |
index 1264acae3a5..4f61e538f83 100644 |
19 |
--- a/media-libs/libpostproc/Manifest |
20 |
+++ b/media-libs/libpostproc/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST libpostproc-0.8.0.20121125.tar.xz 65376 BLAKE2B 7745fc0d495a3a6ea45f4e0b012f343d8db0838f7b26f778a646011e3ef01cdc8b7b37b1148b3ea4d838b3a51decb912a6b4328559929f6d38ab01ef8453f990 SHA512 7f1451dbe822d143793c12bb7c18fd9eeb98b5347bbfc54172f0aceb2f18cf31b2c0c888c33a9ce2e9f519b4bbb0a900b729188ce83cda9ad5499a8f6ea2d62a |
23 |
DIST libpostproc-10.20140517.tar.xz 65556 BLAKE2B 374dc84fb52f32958bcf9daeaabf2be1405d444f72d1f1ccb22e42b657489adad55199e5be27fa80cdcc21ed4480bae901925fbd833bcd30625d82720d481800 SHA512 0d6dca077c99ac569d892bc92cd08c6bf3e3a5e30e623ced20227b5bd1bd1aa3ecd150bfc900659accd77b997eb64b4d6f0538f9b6161d190ef6c69dcaf47893 |
24 |
|
25 |
diff --git a/media-libs/libpostproc/libpostproc-0.8.0.20121125.ebuild b/media-libs/libpostproc/libpostproc-0.8.0.20121125.ebuild |
26 |
deleted file mode 100644 |
27 |
index a6b424d6d4a..00000000000 |
28 |
--- a/media-libs/libpostproc/libpostproc-0.8.0.20121125.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,87 +0,0 @@ |
31 |
-# Copyright 1999-2017 Gentoo Foundation |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI="4" |
35 |
- |
36 |
-SCM="" |
37 |
-if [ "${PV#9999}" != "${PV}" ] ; then |
38 |
- SCM="git-2" |
39 |
- EGIT_REPO_URI="https://github.com/dwbuiten/postproc.git" |
40 |
-fi |
41 |
- |
42 |
-inherit eutils flag-o-matic multilib toolchain-funcs ${SCM} |
43 |
- |
44 |
-DESCRIPTION="Video post processing library" |
45 |
-HOMEPAGE="https://github.com/dwbuiten/postproc" |
46 |
-if [ "${PV#9999}" != "${PV}" ] ; then |
47 |
- SRC_URI="" |
48 |
-elif [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot |
49 |
- SRC_URI="mirror://gentoo/${P}.tar.xz" |
50 |
-else # Release |
51 |
- SRC_URI="https://dev.gentoo.org/~lu_zero/distfiles/${P}.tar.xz" |
52 |
-fi |
53 |
- |
54 |
-LICENSE="GPL-2" |
55 |
-SLOT="0" |
56 |
-if [ "${PV#9999}" = "${PV}" ] ; then |
57 |
- KEYWORDS="alpha amd64 arm ~hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" |
58 |
-fi |
59 |
-IUSE="pic static-libs" |
60 |
- |
61 |
-# String for CPU features in the useflag[:configure_option] form |
62 |
-# if :configure_option isn't set, it will use 'useflag' as configure option |
63 |
-CPU_FEATURES="cpu_flags_x86_3dnow:amd3dnow altivec cpu_flags_x86_mmx:mmx cpu_flags_x86_mmxext:mmxext" |
64 |
-for i in ${CPU_FEATURES}; do |
65 |
- IUSE="${IUSE} ${i%:*}" |
66 |
-done |
67 |
- |
68 |
-DEPEND=">=virtual/ffmpeg-0.10.2-r1" |
69 |
-RDEPEND="${DEPEND} |
70 |
- !<media-video/libav-0.8.2-r2 |
71 |
- !media-video/ffmpeg:0 |
72 |
-" |
73 |
- |
74 |
-src_configure() { |
75 |
- local myconf="${EXTRA_LIBPOSTPROC_CONF}" |
76 |
- for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do |
77 |
- [ "${i}" = "native" ] && i="host" # bug #273421 |
78 |
- myconf="${myconf} --cpu=${i}" |
79 |
- break |
80 |
- done |
81 |
- |
82 |
- if use pic ; then |
83 |
- myconf="${myconf} --enable-pic" |
84 |
- # disable asm code if PIC is required |
85 |
- # as the provided asm decidedly is not PIC for x86. |
86 |
- use x86 && myconf="${myconf} --disable-asm" |
87 |
- fi |
88 |
- |
89 |
- # cross compile support |
90 |
- if tc-is-cross-compiler ; then |
91 |
- myconf="${myconf} --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}-" |
92 |
- case ${CHOST} in |
93 |
- *freebsd*) |
94 |
- myconf="${myconf} --target-os=freebsd" |
95 |
- ;; |
96 |
- mingw32*) |
97 |
- myconf="${myconf} --target-os=mingw32" |
98 |
- ;; |
99 |
- *linux*) |
100 |
- myconf="${myconf} --target-os=linux" |
101 |
- ;; |
102 |
- esac |
103 |
- fi |
104 |
- |
105 |
- cd "${S}" |
106 |
- ./configure \ |
107 |
- --prefix="${EPREFIX}/usr" \ |
108 |
- --libdir="${EPREFIX}/usr/$(get_libdir)" \ |
109 |
- --shlibdir="${EPREFIX}/usr/$(get_libdir)" \ |
110 |
- --enable-shared \ |
111 |
- --cc="$(tc-getCC)" \ |
112 |
- --ar="$(tc-getAR)" \ |
113 |
- --optflags="${CFLAGS}" \ |
114 |
- --extra-cflags="${CFLAGS}" \ |
115 |
- $(use_enable static-libs static) \ |
116 |
- ${myconf} || die |
117 |
-} |
118 |
|
119 |
diff --git a/media-libs/libpostproc/libpostproc-10.20140517.ebuild b/media-libs/libpostproc/libpostproc-10.20140517.ebuild |
120 |
deleted file mode 100644 |
121 |
index 38adba08f33..00000000000 |
122 |
--- a/media-libs/libpostproc/libpostproc-10.20140517.ebuild |
123 |
+++ /dev/null |
124 |
@@ -1,87 +0,0 @@ |
125 |
-# Copyright 1999-2017 Gentoo Foundation |
126 |
-# Distributed under the terms of the GNU General Public License v2 |
127 |
- |
128 |
-EAPI="4" |
129 |
- |
130 |
-SCM="" |
131 |
-if [ "${PV#9999}" != "${PV}" ] ; then |
132 |
- SCM="git-2" |
133 |
- EGIT_REPO_URI="https://github.com/lu-zero/postproc.git" |
134 |
-fi |
135 |
- |
136 |
-inherit eutils flag-o-matic multilib toolchain-funcs ${SCM} |
137 |
- |
138 |
-DESCRIPTION="Video post processing library" |
139 |
-HOMEPAGE="https://github.com/lu-zero/postproc" |
140 |
-if [ "${PV#9999}" != "${PV}" ] ; then |
141 |
- SRC_URI="" |
142 |
-elif [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot |
143 |
- SRC_URI="mirror://gentoo/${P}.tar.xz" |
144 |
-else # Release |
145 |
- SRC_URI="https://dev.gentoo.org/~lu_zero/distfiles/${P}.tar.xz" |
146 |
-fi |
147 |
- |
148 |
-LICENSE="GPL-2" |
149 |
-SLOT="0" |
150 |
-if [ "${PV#9999}" = "${PV}" ] ; then |
151 |
- KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
152 |
-fi |
153 |
-IUSE="pic static-libs" |
154 |
- |
155 |
-# String for CPU features in the useflag[:configure_option] form |
156 |
-# if :configure_option isn't set, it will use 'useflag' as configure option |
157 |
-CPU_FEATURES="cpu_flags_x86_3dnow:amd3dnow altivec cpu_flags_x86_mmx:mmx cpu_flags_x86_mmxext:mmxext" |
158 |
-for i in ${CPU_FEATURES}; do |
159 |
- IUSE="${IUSE} ${i%:*}" |
160 |
-done |
161 |
- |
162 |
-DEPEND=">=virtual/ffmpeg-0.10.2-r2" |
163 |
-RDEPEND="${DEPEND} |
164 |
- !<media-video/libav-0.8.2-r2 |
165 |
- !media-video/ffmpeg:0 |
166 |
-" |
167 |
- |
168 |
-src_configure() { |
169 |
- local myconf="${EXTRA_LIBPOSTPROC_CONF}" |
170 |
- for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do |
171 |
- [ "${i}" = "native" ] && i="host" # bug #273421 |
172 |
- myconf="${myconf} --cpu=${i}" |
173 |
- break |
174 |
- done |
175 |
- |
176 |
- if use pic ; then |
177 |
- myconf="${myconf} --enable-pic" |
178 |
- # disable asm code if PIC is required |
179 |
- # as the provided asm decidedly is not PIC for x86. |
180 |
- use x86 && myconf="${myconf} --disable-asm" |
181 |
- fi |
182 |
- |
183 |
- # cross compile support |
184 |
- if tc-is-cross-compiler ; then |
185 |
- myconf="${myconf} --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}-" |
186 |
- case ${CHOST} in |
187 |
- *freebsd*) |
188 |
- myconf="${myconf} --target-os=freebsd" |
189 |
- ;; |
190 |
- mingw32*) |
191 |
- myconf="${myconf} --target-os=mingw32" |
192 |
- ;; |
193 |
- *linux*) |
194 |
- myconf="${myconf} --target-os=linux" |
195 |
- ;; |
196 |
- esac |
197 |
- fi |
198 |
- |
199 |
- cd "${S}" |
200 |
- ./configure \ |
201 |
- --prefix="${EPREFIX}/usr" \ |
202 |
- --libdir="${EPREFIX}/usr/$(get_libdir)" \ |
203 |
- --shlibdir="${EPREFIX}/usr/$(get_libdir)" \ |
204 |
- --enable-shared \ |
205 |
- --cc="$(tc-getCC)" \ |
206 |
- --ar="$(tc-getAR)" \ |
207 |
- --optflags="${CFLAGS}" \ |
208 |
- --extra-cflags="${CFLAGS}" \ |
209 |
- $(use_enable static-libs static) \ |
210 |
- ${myconf} || die |
211 |
-} |