1 |
commit: 05b127d93814b63cafc1d82a1234f06ec8b1aefc |
2 |
Author: Harri Nieminen <moikkis <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Dec 1 19:25:21 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 2 13:02:23 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05b127d9 |
7 |
|
8 |
media-video/sonic-snap: Remove old (EAPI3) |
9 |
|
10 |
Package-Manager: Portage-2.3.16, Repoman-2.3.6 |
11 |
|
12 |
media-video/sonic-snap/sonic-snap-1.7.ebuild | 65 ---------------------------- |
13 |
1 file changed, 65 deletions(-) |
14 |
|
15 |
diff --git a/media-video/sonic-snap/sonic-snap-1.7.ebuild b/media-video/sonic-snap/sonic-snap-1.7.ebuild |
16 |
deleted file mode 100644 |
17 |
index 48a5f418008..00000000000 |
18 |
--- a/media-video/sonic-snap/sonic-snap-1.7.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,65 +0,0 @@ |
21 |
-# Copyright 1999-2012 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI="3" |
25 |
-inherit eutils linux-info multilib toolchain-funcs |
26 |
- |
27 |
-DESCRIPTION="Webcam app for sn9c10x based camera controllers (with optional MPEG4 support)" |
28 |
-HOMEPAGE="http://www.stolk.org/sonic-snap/" |
29 |
-SRC_URI="http://www.stolk.org/${PN}/downloads/${P}.tar.gz" |
30 |
- |
31 |
-LICENSE="GPL-1" |
32 |
-SLOT="0" |
33 |
-KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
34 |
-IUSE="mpeg" |
35 |
- |
36 |
-DEPEND="x11-libs/fltk:1 |
37 |
- mpeg? ( >=media-libs/libfame-0.9.1 ) |
38 |
- sys-libs/zlib |
39 |
- x11-libs/libXdmcp |
40 |
- x11-libs/libXau |
41 |
- x11-libs/libXrender |
42 |
- x11-libs/libX11 |
43 |
- x11-libs/libXext |
44 |
- x11-libs/libXft" |
45 |
- |
46 |
-CONFIG_CHECK="~USB_SN9C102" |
47 |
-ERROR_USB_SN9C102="Please make sure the SN9C1xx PC Camera Controller driver is \ |
48 |
-enabled, under V4L USB devices, as a module in your kernel." |
49 |
- |
50 |
-src_prepare() { |
51 |
- # fix bad assumptions |
52 |
- sed -i \ |
53 |
- -e "s|\$(HOME)/include|/usr/include|" \ |
54 |
- -e "s|\$(HOME)/lib|/usr/$(get_libdir)|" \ |
55 |
- -e "s|CFLAGS=|CFLAGS= ${CXXFLAGS} |" \ |
56 |
- -e "s|LFLAGS=|LFLAGS= ${LDFLAGS} |" \ |
57 |
- -e "s/g++-4.0 -O3/$(tc-getCXX)/" \ |
58 |
- Makefile |
59 |
- |
60 |
- use mpeg || sed -i -e "s?USE_FAME=1?USE_FAME=0?g" Makefile |
61 |
-} |
62 |
- |
63 |
-src_compile() { |
64 |
- make || die '"make" failed.' |
65 |
-} |
66 |
- |
67 |
-src_install() { |
68 |
- dodir /usr/bin |
69 |
- make DESTDIR="${D}" install || die '"make install" failed.' |
70 |
- |
71 |
- dodoc ChangeLog README |
72 |
- doman debian/sonic-snap.1 |
73 |
-} |
74 |
- |
75 |
-pkg_postinst() { |
76 |
- |
77 |
- elog |
78 |
- elog "This driver is V4L v2 only, so V4L v1 apps will not work." |
79 |
- elog "Finally, only a few image sensors are supported, eg, PAS106B" |
80 |
- elog "so (check dmesg or /var/log/messages for USB device info when" |
81 |
- elog "you plug the cam in)." |
82 |
- elog |
83 |
- elog "Now try sonic-snap-gui /dev/videoX (where X is 0, 1 , etc)." |
84 |
- elog |
85 |
-} |