1 |
commit: 973a083e7a3fe432591020ff931159fdddbe6edc |
2 |
Author: Daniel Pielmeier <billie <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 2 18:13:57 2018 +0000 |
4 |
Commit: Daniel Pielmeier <billie <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 2 18:13:57 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=973a083e |
7 |
|
8 |
media-video/mjpegtools: Remove old. |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
media-video/mjpegtools/mjpegtools-2.1.0-r2.ebuild | 110 ---------------------- |
13 |
1 file changed, 110 deletions(-) |
14 |
|
15 |
diff --git a/media-video/mjpegtools/mjpegtools-2.1.0-r2.ebuild b/media-video/mjpegtools/mjpegtools-2.1.0-r2.ebuild |
16 |
deleted file mode 100644 |
17 |
index 09216f8d0c9..00000000000 |
18 |
--- a/media-video/mjpegtools/mjpegtools-2.1.0-r2.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,110 +0,0 @@ |
21 |
-# Copyright 1999-2018 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=5 |
25 |
- |
26 |
-inherit autotools eutils flag-o-matic multilib-minimal toolchain-funcs |
27 |
- |
28 |
-DESCRIPTION="Tools for MJPEG video" |
29 |
-HOMEPAGE="http://mjpeg.sourceforge.net/" |
30 |
-SRC_URI="mirror://sourceforge/mjpeg/${P}.tar.gz" |
31 |
- |
32 |
-LICENSE="GPL-2" |
33 |
-SLOT="1" |
34 |
-KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd" |
35 |
-IUSE="dv gtk cpu_flags_x86_mmx png quicktime sdl sdlgfx static-libs" |
36 |
-REQUIRED_USE="sdlgfx? ( sdl )" |
37 |
- |
38 |
-RDEPEND="virtual/jpeg:0=[${MULTILIB_USEDEP}] |
39 |
- quicktime? ( >=media-libs/libquicktime-1.2.4-r1[${MULTILIB_USEDEP}] ) |
40 |
- dv? ( >=media-libs/libdv-1.0.0-r3[${MULTILIB_USEDEP}] ) |
41 |
- png? ( media-libs/libpng:0= ) |
42 |
- gtk? ( x11-libs/gtk+:2 ) |
43 |
- sdl? ( >=media-libs/libsdl-1.2.15-r4[${MULTILIB_USEDEP}] |
44 |
- >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] |
45 |
- sdlgfx? ( media-libs/sdl-gfx ) |
46 |
- )" |
47 |
- |
48 |
-DEPEND="${RDEPEND} |
49 |
- cpu_flags_x86_mmx? ( dev-lang/nasm ) |
50 |
- >=sys-apps/sed-4 |
51 |
- virtual/awk |
52 |
- >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]" |
53 |
- |
54 |
-src_prepare() { |
55 |
- epatch "${FILESDIR}"/${P}-pic.patch |
56 |
- # https://sourceforge.net/p/mjpeg/bugs/139/ |
57 |
- epatch "${FILESDIR}"/${P}-sdl-cflags.patch |
58 |
- epatch "${FILESDIR}"/mjpegtools-2.1.0-no_format.patch |
59 |
- eautoreconf |
60 |
- sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure |
61 |
-} |
62 |
- |
63 |
-multilib_src_configure() { |
64 |
- [[ $(gcc-major-version) -eq 3 ]] && append-flags -mno-sse2 |
65 |
- |
66 |
- local myconf=( |
67 |
- --enable-compile-warnings |
68 |
- $(use_enable cpu_flags_x86_mmx simd-accel) |
69 |
- $(use_enable static-libs static) |
70 |
- --enable-largefile |
71 |
- |
72 |
- $(use_with quicktime libquicktime) |
73 |
- $(use_with dv libdv) |
74 |
- $(use_with sdl libsdl) |
75 |
- --without-v4l |
76 |
- $(use_with sdl x) |
77 |
- |
78 |
- # used by tools only |
79 |
- $(multilib_native_use_with gtk) |
80 |
- $(multilib_native_use_with png libpng) |
81 |
- $(multilib_native_use_with sdlgfx) |
82 |
- |
83 |
- # used only in V4LCONF_LIBS that is not used anywhere... |
84 |
- --without-dga |
85 |
- ) |
86 |
- |
87 |
- ECONF_SOURCE=${S} \ |
88 |
- econf "${myconf[@]}" |
89 |
-} |
90 |
- |
91 |
-multilib_src_compile() { |
92 |
- if multilib_is_native_abi; then |
93 |
- default |
94 |
- else |
95 |
- # avoid building programs |
96 |
- emake bin_PROGRAMS= |
97 |
- fi |
98 |
-} |
99 |
- |
100 |
-multilib_src_test() { |
101 |
- # there are no tests at the moment, so it would just build |
102 |
- # all programs in non-native ABIs... |
103 |
- multilib_is_native_abi && default |
104 |
-} |
105 |
- |
106 |
-multilib_src_install() { |
107 |
- if multilib_is_native_abi; then |
108 |
- default |
109 |
- else |
110 |
- emake DESTDIR="${D}" install \ |
111 |
- bin_PROGRAMS= |
112 |
- fi |
113 |
-} |
114 |
- |
115 |
-multilib_src_install_all() { |
116 |
- einstalldocs |
117 |
- dodoc mjpeg_howto.txt PLANS HINTS docs/FAQ.txt |
118 |
- |
119 |
- prune_libtool_files --all |
120 |
-} |
121 |
- |
122 |
-pkg_postinst() { |
123 |
- if [[ -z "${REPLACING_VERSIONS}" ]]; then |
124 |
- elog "mjpegtools installs user contributed scripts which require additional" |
125 |
- elog "dependencies not pulled in by the installation." |
126 |
- elog "These have to be installed manually." |
127 |
- elog "Currently known extra dpendencies are: ffmpeg, mencoder from mplayer," |
128 |
- elog "parts of transcode, mpeg2dec from libmpeg2, sox, toolame, vcdimager, python." |
129 |
- fi |
130 |
-} |