1 |
commit: ce27b6949f13e4cb6aac9ddaa9233581f18afcf1 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 2 16:52:42 2016 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 2 16:52:58 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce27b694 |
7 |
|
8 |
media-tv/xawtv: Remove old and drop to unstable |
9 |
|
10 |
As the package is masked, this allows us to drop it easily to unstable by |
11 |
removing the stable version. If a future maintainer has fixed the outstanding |
12 |
bugs, this package can transit again to the stabilization workflow. |
13 |
|
14 |
Package-Manager: portage-2.2.27 |
15 |
|
16 |
media-tv/xawtv/xawtv-3.95-r2.ebuild | 157 ------------------------------------ |
17 |
1 file changed, 157 deletions(-) |
18 |
|
19 |
diff --git a/media-tv/xawtv/xawtv-3.95-r2.ebuild b/media-tv/xawtv/xawtv-3.95-r2.ebuild |
20 |
deleted file mode 100644 |
21 |
index d2254ec..0000000 |
22 |
--- a/media-tv/xawtv/xawtv-3.95-r2.ebuild |
23 |
+++ /dev/null |
24 |
@@ -1,157 +0,0 @@ |
25 |
-# Copyright 1999-2015 Gentoo Foundation |
26 |
-# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Id$ |
28 |
- |
29 |
-EAPI=1 |
30 |
- |
31 |
-inherit eutils font autotools flag-o-matic |
32 |
- |
33 |
-PATCHLEVEL="4" |
34 |
- |
35 |
-IUSE="aalib alsa dv lirc cpu_flags_x86_mmx motif nls opengl quicktime X xv zvbi xext" |
36 |
- |
37 |
-MY_FONT=tv-fonts-1.1 |
38 |
-DESCRIPTION="Small suite of video4linux related software" |
39 |
-HOMEPAGE="http://bytesex.org/xawtv/" |
40 |
-SRC_URI="http://dl.bytesex.org/releases/xawtv/${P}.tar.gz |
41 |
- X? ( http://dl.bytesex.org/releases/tv-fonts/${MY_FONT}.tar.bz2 ) |
42 |
- mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2" |
43 |
- |
44 |
-SLOT="0" |
45 |
-LICENSE="GPL-2" |
46 |
-KEYWORDS="alpha amd64 ia64 ~ppc ~sparc x86" |
47 |
- |
48 |
-RDEPEND=">=sys-libs/ncurses-5.1 |
49 |
- virtual/jpeg |
50 |
- X? ( |
51 |
- x11-libs/libFS |
52 |
- x11-libs/libXmu |
53 |
- x11-libs/libX11 |
54 |
- x11-libs/libXaw |
55 |
- x11-libs/libXt |
56 |
- x11-libs/libXext |
57 |
- x11-libs/libXrender |
58 |
- xext? ( |
59 |
- x11-libs/libXinerama |
60 |
- x11-libs/libXxf86dga |
61 |
- x11-libs/libXrandr |
62 |
- x11-libs/libXxf86vm |
63 |
- ) |
64 |
- x11-apps/xset |
65 |
- xv? ( x11-libs/libXv ) |
66 |
- ) |
67 |
- motif? ( >=x11-libs/motif-2.3:0 |
68 |
- app-text/recode ) |
69 |
- alsa? ( media-libs/alsa-lib ) |
70 |
- aalib? ( media-libs/aalib ) |
71 |
- dv? ( media-libs/libdv ) |
72 |
- lirc? ( app-misc/lirc ) |
73 |
- opengl? ( virtual/opengl ) |
74 |
- quicktime? ( media-libs/libquicktime ) |
75 |
- zvbi? ( media-libs/zvbi |
76 |
- media-libs/libpng )" |
77 |
- |
78 |
-DEPEND="${RDEPEND} |
79 |
- X? ( |
80 |
- x11-apps/xset |
81 |
- x11-apps/bdftopcf |
82 |
- x11-proto/videoproto |
83 |
- xext? ( x11-proto/xineramaproto ) |
84 |
- )" |
85 |
- |
86 |
-pkg_setup() { |
87 |
- if use X; then |
88 |
- font_pkg_setup |
89 |
- fi |
90 |
-} |
91 |
- |
92 |
-src_unpack() { |
93 |
- unpack ${A} |
94 |
- if use X; then |
95 |
- cd "${WORKDIR}/${MY_FONT}" |
96 |
- epatch "${WORKDIR}/patches/extra/${MY_FONT}-nox.patch" |
97 |
- fi |
98 |
- cd "${S}" |
99 |
- |
100 |
- EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" |
101 |
- epatch "${FILESDIR}/${P}-libquicktime-compat.patch" |
102 |
- epatch "${FILESDIR}/${P}-pagemask-fix.patch" |
103 |
- epatch "${FILESDIR}/${P}-jpeg-7.patch" |
104 |
- eautoreconf |
105 |
-} |
106 |
- |
107 |
-src_compile() { |
108 |
- # It tries to include FSlib.h directly, but this seems to have moved. |
109 |
- use X && has_version x11-libs/libFS && append-flags -I/usr/include/X11/fonts |
110 |
- |
111 |
- econf \ |
112 |
- $(use_with X x) \ |
113 |
- $(use_enable xext xfree-ext) \ |
114 |
- $(use_enable xv xvideo) \ |
115 |
- $(use_enable dv) \ |
116 |
- $(use_enable cpu_flags_x86_mmx mmx) \ |
117 |
- $(use_enable motif) \ |
118 |
- $(use_enable quicktime) \ |
119 |
- $(use_enable alsa) \ |
120 |
- $(use_enable lirc) \ |
121 |
- $(use_enable opengl gl) \ |
122 |
- $(use_enable zvbi) \ |
123 |
- $(use_enable aalib aa) |
124 |
- |
125 |
- emake verbose=yes || die |
126 |
- |
127 |
- if use X; then |
128 |
- cd "${WORKDIR}/${MY_FONT}" |
129 |
- emake -j1 DISPLAY= || die |
130 |
- fi |
131 |
-} |
132 |
- |
133 |
-src_install() { |
134 |
- make install DESTDIR="${D}" resdir="${D}"/usr/share/X11 || die |
135 |
- |
136 |
- # v4lctl is only installed automatically if the X USE flag is enabled |
137 |
- use X || \ |
138 |
- dobin x11/v4lctl |
139 |
- |
140 |
- dodoc Changes README* TODO "${FILESDIR}"/webcamrc |
141 |
- docinto cgi-bin |
142 |
- dodoc scripts/webcam.cgi |
143 |
- |
144 |
- use X || \ |
145 |
- rm -f "${D}"/usr/share/man/man1/{pia,propwatch}.1 \ |
146 |
- "${D}"/usr/share/{man,man/fr,man/es}/man1/xawtv.1 \ |
147 |
- "${D}"/usr/share/{man,man/es}/man1/rootv.1 |
148 |
- |
149 |
- use motif || \ |
150 |
- rm -f "${D}"/usr/share/man/man1/{motv,mtt}.1 |
151 |
- |
152 |
- use zvbi || \ |
153 |
- rm -f "${D}"/usr/share/man/man1/{alevtd,mtt}.1 \ |
154 |
- "${D}"/usr/share/{man,man/es}/man1/scantv.1 |
155 |
- |
156 |
- use nls || \ |
157 |
- rm -f "${D}"/usr/share/man/fr \ |
158 |
- "${D}"/usr/share/man/es |
159 |
- |
160 |
- # The makefile seems to be fubar'd for some data |
161 |
- dodir /usr/share/${PN} |
162 |
- mv "${D}"/usr/share/*.list "${D}"/usr/share/${PN} |
163 |
- mv "${D}"/usr/share/Index* "${D}"/usr/share/${PN} |
164 |
- |
165 |
- if use X; then |
166 |
- cd "${WORKDIR}/${MY_FONT}" |
167 |
- insinto /usr/share/fonts/xawtv |
168 |
- doins *.gz fonts.alias |
169 |
- |
170 |
- font_xfont_config |
171 |
- fi |
172 |
-} |
173 |
- |
174 |
-pkg_postinst() { |
175 |
- if use X; then |
176 |
- ebegin "installing teletype fonts into /usr/share/fonts/xawtv" |
177 |
- cd /usr/share/fonts/xawtv |
178 |
- mkfontdir |
179 |
- eend |
180 |
- fi |
181 |
-} |