From: | "Amadeusz Zolnowski (aidecoe)" <aidecoe@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-video/mjpg-streamer: mjpg-streamer-0_pre20120621.ebuild ChangeLog |
Date: | Thu, 03 Jul 2014 07:49:44 |
Message-Id: | 20140703074941.19F962004E@flycatcher.gentoo.org |
1 | aidecoe 14/07/03 07:49:41 |
2 | |
3 | Modified: ChangeLog |
4 | Added: mjpg-streamer-0_pre20120621.ebuild |
5 | Log: |
6 | Version bump. Fixed bug #515406 on behalf of |
7 | ChaosEngine <andrzej.pauli@×××××.com>. |
8 | |
9 | (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key F0134531E1DBFAB5) |
10 | |
11 | Revision Changes Path |
12 | 1.8 media-video/mjpg-streamer/ChangeLog |
13 | |
14 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mjpg-streamer/ChangeLog?rev=1.8&view=markup |
15 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mjpg-streamer/ChangeLog?rev=1.8&content-type=text/plain |
16 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mjpg-streamer/ChangeLog?r1=1.7&r2=1.8 |
17 | |
18 | Index: ChangeLog |
19 | =================================================================== |
20 | RCS file: /var/cvsroot/gentoo-x86/media-video/mjpg-streamer/ChangeLog,v |
21 | retrieving revision 1.7 |
22 | retrieving revision 1.8 |
23 | diff -u -r1.7 -r1.8 |
24 | --- ChangeLog 17 Mar 2013 16:05:48 -0000 1.7 |
25 | +++ ChangeLog 3 Jul 2014 07:49:40 -0000 1.8 |
26 | @@ -1,6 +1,14 @@ |
27 | # ChangeLog for media-video/mjpg-streamer |
28 | -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
29 | -# $Header: /var/cvsroot/gentoo-x86/media-video/mjpg-streamer/ChangeLog,v 1.7 2013/03/17 16:05:48 hwoarang Exp $ |
30 | +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
31 | +# $Header: /var/cvsroot/gentoo-x86/media-video/mjpg-streamer/ChangeLog,v 1.8 2014/07/03 07:49:40 aidecoe Exp $ |
32 | + |
33 | +*mjpg-streamer-0_pre20120621 (03 Jul 2014) |
34 | + |
35 | + 03 Jul 2014; Amadeusz Żołnowski <aidecoe@g.o> |
36 | + +mjpg-streamer-0_pre20120621.ebuild, |
37 | + +files/0_pre20120621-make-var-instead-of-cmd.patch: |
38 | + Version bump. Fixed bug #515406 on behalf of |
39 | + ChaosEngine <andrzej.pauli@×××××.com>. |
40 | |
41 | 17 Mar 2013; Markos Chandras <hwoarang@g.o> metadata.xml: |
42 | Add proxy-maintainers to metadata.xml |
43 | |
44 | |
45 | |
46 | 1.1 media-video/mjpg-streamer/mjpg-streamer-0_pre20120621.ebuild |
47 | |
48 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mjpg-streamer/mjpg-streamer-0_pre20120621.ebuild?rev=1.1&view=markup |
49 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mjpg-streamer/mjpg-streamer-0_pre20120621.ebuild?rev=1.1&content-type=text/plain |
50 | |
51 | Index: mjpg-streamer-0_pre20120621.ebuild |
52 | =================================================================== |
53 | # Copyright 1999-2014 Gentoo Foundation |
54 | # Distributed under the terms of the GNU General Public License v2 |
55 | # $Header: /var/cvsroot/gentoo-x86/media-video/mjpg-streamer/mjpg-streamer-0_pre20120621.ebuild,v 1.1 2014/07/03 07:49:40 aidecoe Exp $ |
56 | |
57 | EAPI=4 |
58 | |
59 | inherit eutils |
60 | |
61 | DESCRIPTION="MJPG-streamer takes JPGs from Linux-UVC compatible webcams" |
62 | HOMEPAGE="http://sourceforge.net/projects/mjpg-streamer" |
63 | SRC_URI="http://dev.gentoo.org/~aidecoe/distfiles/${CATEGORY}/${PN}/${P}.tar.bz2" |
64 | |
65 | LICENSE="GPL-2" |
66 | SLOT="0" |
67 | KEYWORDS="~x86 ~amd64" |
68 | |
69 | INPUT_PLUGINS="input_testpicture input_control input_file input_uvc" |
70 | OUTPUT_PLUGINS="output_file output_udp output_http output_autofocus output_rtsp" |
71 | IUSE_PLUGINS="${INPUT_PLUGINS} ${OUTPUT_PLUGINS}" |
72 | IUSE="input_testpicture input_control +input_file input_uvc output_file |
73 | output_udp +output_http output_autofocus output_rtsp |
74 | www v4l" |
75 | REQUIRED_USE="|| ( ${INPUT_PLUGINS} ) |
76 | || ( ${OUTPUT_PLUGINS} ) |
77 | v4l? ( input_uvc )" |
78 | |
79 | RDEPEND="virtual/jpeg |
80 | v4l? ( input_uvc? ( media-libs/libv4l ) )" |
81 | DEPEND="${RDEPEND} |
82 | input_testpicture? ( media-gfx/imagemagick )" |
83 | |
84 | src_prepare() { |
85 | epatch "${FILESDIR}/${PV}-make-var-instead-of-cmd.patch" |
86 | |
87 | local flag switch |
88 | |
89 | for flag in ${IUSE_PLUGINS}; do |
90 | use ${flag} && switch='' || switch='#' |
91 | sed -i \ |
92 | -e "s|^#*PLUGINS +\?= ${flag}.so|${switch}PLUGINS += ${flag}.so|" \ |
93 | Makefile |
94 | done |
95 | } |
96 | |
97 | src_compile() { |
98 | local v4l=$(use v4l && use input_uvc && echo 'USE_LIBV4L2=true') |
99 | emake ${v4l} |
100 | } |
101 | |
102 | src_install() { |
103 | into /usr |
104 | dobin ${PN//-/_} |
105 | dolib.so *.so |
106 | |
107 | if use www ; then |
108 | insinto /usr/share/${PN} |
109 | doins -r www |
110 | fi |
111 | |
112 | dodoc README TODO |
113 | |
114 | newinitd "${FILESDIR}"/${PN}.initd ${PN} |
115 | newconfd "${FILESDIR}"/${PN}.confd ${PN} |
116 | } |
117 | |
118 | pkg_postinst() { |
119 | elog "Remember to set an input and output plugin for mjpg-streamer." |
120 | |
121 | if use www ; then |
122 | echo |
123 | elog "An example webinterface has been installed into" |
124 | elog "/usr/share/mjpg-streamer/www for your usage." |
125 | fi |
126 | } |