Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-video/aravis: metadata.xml aravis-9999.ebuild aravis-0.1.11.ebuild ChangeLog
Date: Tue, 07 Feb 2012 19:16:48
Message-Id: 20120207191638.974672004B@flycatcher.gentoo.org
1 flameeyes 12/02/07 19:16:38
2
3 Added: metadata.xml aravis-9999.ebuild
4 aravis-0.1.11.ebuild ChangeLog
5 Log:
6 Initial import of Aravis project, maintained by me and Luca.
7
8 (Portage version: 2.2.0_alpha85/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.1 media-video/aravis/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/aravis/metadata.xml?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/aravis/metadata.xml?rev=1.1&content-type=text/plain
15
16 Index: metadata.xml
17 ===================================================================
18 <?xml version="1.0" encoding="UTF-8"?>
19 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
20 <pkgmetadata>
21 <herd>video</herd>
22 <maintainer>
23 <email>flameeyes@g.o</email>
24 </maintainer>
25 <maintainer>
26 <email>lu_zero@g.o</email>
27 </maintainer>
28
29 <use>
30 <flag name='X'>
31 Build the GTK+-based video viewer for aravis. This requires
32 GStreamer and a few plugins but technically not the GST plugin
33 for aravis.
34 </flag>
35
36 <flag name='gstreamer'>
37 Build the GStreamer plugin for aravis, but not the video viewer.
38 </flag>
39 </use>
40 </pkgmetadata>
41
42
43
44 1.1 media-video/aravis/aravis-9999.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/aravis/aravis-9999.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/aravis/aravis-9999.ebuild?rev=1.1&content-type=text/plain
48
49 Index: aravis-9999.ebuild
50 ===================================================================
51 # Copyright 1999-2012 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/media-video/aravis/aravis-9999.ebuild,v 1.1 2012/02/07 19:16:38 flameeyes Exp $
54
55 EAPI=4
56
57 KEYWORDS="~amd64"
58
59 if [[ ${PV} == "9999" ]]; then
60 KEYWORDS=""
61 EGIT_REPO_URI="git://git.gnome.org/aravis"
62 EGIT_COMMIT="${aravis_LIVE_COMMIT:-master}"
63 fi
64
65 inherit versionator ${EGIT_COMMIT+git-2 autotools}
66
67 DESCRIPTION="Library for video acquisition using Genicam cameras."
68 HOMEPAGE="http://live.gnome.org/Aravis"
69
70 LICENSE="LGPL-2.1"
71 SLOT="0"
72
73 IUSE="X gstreamer"
74
75 GST_DEPEND="media-libs/gstreamer
76 media-libs/gst-plugins-base"
77
78 RDEPEND=">=dev-libs/glib-2.22
79 dev-libs/libxml2
80 X? (
81 >=x11-libs/gtk+-2.12:2
82 ${GST_DEPEND}
83 media-libs/gst-plugins-base
84 media-plugins/gst-plugins-xvideo
85 )
86 gstreamer? ( ${GST_DEPEND} )"
87 DEPEND="${RDEPEND}
88 dev-libs/gobject-introspection"
89
90 if [[ -z ${EGIT_COMMIT} ]]; then
91 SRC_URI="mirror://gnome/sources/${PN}/$(get_version_component_range 1-2)/${P}.tar.xz"
92 else
93 DEPEND+=" dev-util/gtk-doc dev-util/intltool"
94 fi
95
96 src_prepare() {
97 if [[ -n ${EGIT_COMMIT} ]]; then
98 intltoolize || die
99 gtkdocize || die
100 eautoreconf
101 fi
102 }
103
104 src_configure() {
105 econf \
106 --disable-silent-rules \
107 --disable-static \
108 $(use_enable X viewer) \
109 $(use_enable gstreamer gst-plugin) \
110 --enable-introspection
111 }
112
113 src_install() {
114 emake install DESTDIR="${D}" aravisdocdir="/usr/share/doc/${PF}"
115 find "${D}" -name '*.la' -delete
116 }
117
118
119
120 1.1 media-video/aravis/aravis-0.1.11.ebuild
121
122 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/aravis/aravis-0.1.11.ebuild?rev=1.1&view=markup
123 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/aravis/aravis-0.1.11.ebuild?rev=1.1&content-type=text/plain
124
125 Index: aravis-0.1.11.ebuild
126 ===================================================================
127 # Copyright 1999-2012 Gentoo Foundation
128 # Distributed under the terms of the GNU General Public License v2
129 # $Header: /var/cvsroot/gentoo-x86/media-video/aravis/aravis-0.1.11.ebuild,v 1.1 2012/02/07 19:16:38 flameeyes Exp $
130
131 EAPI=4
132
133 KEYWORDS="~amd64"
134
135 if [[ ${PV} == "9999" ]]; then
136 KEYWORDS=""
137 EGIT_REPO_URI="git://git.gnome.org/aravis"
138 EGIT_COMMIT="${aravis_LIVE_COMMIT:-master}"
139 fi
140
141 inherit versionator ${EGIT_COMMIT+git-2 autotools}
142
143 DESCRIPTION="Library for video acquisition using Genicam cameras."
144 HOMEPAGE="http://live.gnome.org/Aravis"
145
146 LICENSE="LGPL-2.1"
147 SLOT="0"
148
149 IUSE="X gstreamer"
150
151 GST_DEPEND="media-libs/gstreamer
152 media-libs/gst-plugins-base"
153
154 RDEPEND=">=dev-libs/glib-2.22
155 dev-libs/libxml2
156 X? (
157 >=x11-libs/gtk+-2.12:2
158 ${GST_DEPEND}
159 media-libs/gst-plugins-base
160 media-plugins/gst-plugins-xvideo
161 )
162 gstreamer? ( ${GST_DEPEND} )"
163 DEPEND="${RDEPEND}
164 dev-libs/gobject-introspection"
165
166 if [[ -z ${EGIT_COMMIT} ]]; then
167 SRC_URI="mirror://gnome/sources/${PN}/$(get_version_component_range 1-2)/${P}.tar.xz"
168 else
169 DEPEND+=" dev-util/gtk-doc dev-util/intltool"
170 fi
171
172 src_prepare() {
173 if [[ -n ${EGIT_COMMIT} ]]; then
174 intltoolize || die
175 gtkdocize || die
176 eautoreconf
177 fi
178 }
179
180 src_configure() {
181 econf \
182 --disable-silent-rules \
183 --disable-static \
184 $(use_enable X viewer) \
185 $(use_enable gstreamer gst-plugin) \
186 --enable-introspection
187 }
188
189 src_install() {
190 emake install DESTDIR="${D}" aravisdocdir="/usr/share/doc/${PF}"
191 find "${D}" -name '*.la' -delete
192 }
193
194
195
196 1.1 media-video/aravis/ChangeLog
197
198 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/aravis/ChangeLog?rev=1.1&view=markup
199 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/aravis/ChangeLog?rev=1.1&content-type=text/plain
200
201 Index: ChangeLog
202 ===================================================================
203 # ChangeLog for media-video/aravis
204 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
205 # $Header: /var/cvsroot/gentoo-x86/media-video/aravis/ChangeLog,v 1.1 2012/02/07 19:16:38 flameeyes Exp $
206
207 *aravis-9999 (07 Feb 2012)
208 *aravis-0.1.11 (07 Feb 2012)
209
210 07 Feb 2012; Diego E. Pettenò <flameeyes@g.o> +aravis-0.1.11.ebuild,
211 +aravis-9999.ebuild, +metadata.xml:
212 Initial import of Aravis project, maintained by me and Luca.