1 |
vapier 12/10/02 03:32:15 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: mediatomb-0.12.1-r3.ebuild |
5 |
Log: |
6 |
Use system libuuid from util-linux #270830 by Diego Elio Pettenò. Make mysql init script optional all the time to support external services #368409 by David Carlos Manuelda. Update to EAPI=4 and split up USE flags to make things more explicit. |
7 |
|
8 |
(Portage version: 2.2.0_alpha131/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.6 net-misc/mediatomb/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/mediatomb/metadata.xml?rev=1.6&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/mediatomb/metadata.xml?rev=1.6&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/mediatomb/metadata.xml?r1=1.5&r2=1.6 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/mediatomb/metadata.xml,v |
20 |
retrieving revision 1.5 |
21 |
retrieving revision 1.6 |
22 |
diff -u -r1.5 -r1.6 |
23 |
--- metadata.xml 28 Jun 2012 17:12:45 -0000 1.5 |
24 |
+++ metadata.xml 2 Oct 2012 03:32:15 -0000 1.6 |
25 |
@@ -1,18 +1,15 @@ |
26 |
<?xml version="1.0" encoding="UTF-8"?> |
27 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
28 |
<pkgmetadata> |
29 |
- <herd>video</herd> |
30 |
- <use> |
31 |
- <flag name="inotify">Enable inotify filesystem monitoring support</flag> |
32 |
- <flag name="lastfm">Enable last.fm support</flag> |
33 |
- <flag name="libextractor">Use libextractor to gather files' metadata.</flag> |
34 |
- <flag name="mysql">Use <pkg>dev-db/mysql</pkg> as backend rather than |
35 |
- SQLite3. If this USE flag is disabled, <pkg>dev-db/sqlite</pkg> is used |
36 |
- instead.</flag> |
37 |
- <flag name="taglib">Use <pkg>media-libs/taglib</pkg> for reading files' |
38 |
- metadata rather than id3lib. If this USE flag is disabled |
39 |
- <pkg>media-libs/id3lib</pkg> is used instead.</flag> |
40 |
- <flag name="thumbnail">Enables video thumbnails generation through |
41 |
- <pkg>media-video/ffmpegthumbnailer</pkg></flag> |
42 |
- </use> |
43 |
+ <herd>video</herd> |
44 |
+ <use> |
45 |
+ <flag name="id3tag">Use <pkg>media-libs/libid3tag</pkg> for reading files' metadata rather than taglib</flag> |
46 |
+ <flag name="inotify">Enable inotify filesystem monitoring support</flag> |
47 |
+ <flag name="lastfm">Enable last.fm support</flag> |
48 |
+ <flag name="libextractor">Use libextractor to gather files' metadata</flag> |
49 |
+ <flag name="magic">Use libmagic to determine file types</flag> |
50 |
+ <flag name="mysql">Use <pkg>dev-db/mysql</pkg> as backend rather than SQLite3</flag> |
51 |
+ <flag name="taglib">Use <pkg>media-libs/taglib</pkg> for reading files' metadata rather than id3lib</flag> |
52 |
+ <flag name="thumbnail">Enables video thumbnails generation through<pkg>media-video/ffmpegthumbnailer</pkg></flag> |
53 |
+ </use> |
54 |
</pkgmetadata> |
55 |
|
56 |
|
57 |
|
58 |
1.35 net-misc/mediatomb/ChangeLog |
59 |
|
60 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/mediatomb/ChangeLog?rev=1.35&view=markup |
61 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/mediatomb/ChangeLog?rev=1.35&content-type=text/plain |
62 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/mediatomb/ChangeLog?r1=1.34&r2=1.35 |
63 |
|
64 |
Index: ChangeLog |
65 |
=================================================================== |
66 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/mediatomb/ChangeLog,v |
67 |
retrieving revision 1.34 |
68 |
retrieving revision 1.35 |
69 |
diff -u -r1.34 -r1.35 |
70 |
--- ChangeLog 2 Jul 2012 07:57:43 -0000 1.34 |
71 |
+++ ChangeLog 2 Oct 2012 03:32:15 -0000 1.35 |
72 |
@@ -1,6 +1,16 @@ |
73 |
# ChangeLog for net-misc/mediatomb |
74 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
75 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/mediatomb/ChangeLog,v 1.34 2012/07/02 07:57:43 jdhore Exp $ |
76 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/mediatomb/ChangeLog,v 1.35 2012/10/02 03:32:15 vapier Exp $ |
77 |
+ |
78 |
+*mediatomb-0.12.1-r3 (02 Oct 2012) |
79 |
+ |
80 |
+ 02 Oct 2012; Mike Frysinger <vapier@g.o> |
81 |
+ +files/mediatomb-0.12.1-system-uuid.patch, +files/mediatomb-0.12.1.initd, |
82 |
+ +mediatomb-0.12.1-r3.ebuild, metadata.xml: |
83 |
+ Use system libuuid from util-linux #270830 by Diego Elio Pettenò. Make mysql |
84 |
+ init script optional all the time to support external services #368409 by |
85 |
+ David Carlos Manuelda. Update to EAPI=4 and split up USE flags to make things |
86 |
+ more explicit. |
87 |
|
88 |
02 Jul 2012; Jeff Horelick <jdhore@g.o> mediatomb-0.12.1-r2.ebuild: |
89 |
marked x86 per bug 422919 |
90 |
@@ -150,4 +160,3 @@ |
91 |
+mediatomb-0.11.0.ebuild: |
92 |
Initial import of mediatomb, an UPnP media server compatible with Sony |
93 |
PlayStation 3. Thanks to BT in bug #172799 for the ebuild. |
94 |
- |
95 |
|
96 |
|
97 |
|
98 |
1.1 net-misc/mediatomb/mediatomb-0.12.1-r3.ebuild |
99 |
|
100 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/mediatomb/mediatomb-0.12.1-r3.ebuild?rev=1.1&view=markup |
101 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/mediatomb/mediatomb-0.12.1-r3.ebuild?rev=1.1&content-type=text/plain |
102 |
|
103 |
Index: mediatomb-0.12.1-r3.ebuild |
104 |
=================================================================== |
105 |
# Copyright 1999-2012 Gentoo Foundation |
106 |
# Distributed under the terms of the GNU General Public License v2 |
107 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/mediatomb/mediatomb-0.12.1-r3.ebuild,v 1.1 2012/10/02 03:32:15 vapier Exp $ |
108 |
|
109 |
EAPI="4" |
110 |
inherit autotools eutils linux-info user |
111 |
|
112 |
DEB_VER="4" |
113 |
DESCRIPTION="MediaTomb is an open source UPnP MediaServer" |
114 |
HOMEPAGE="http://www.mediatomb.cc/" |
115 |
SRC_URI="mirror://sourceforge/mediatomb/${P}.tar.gz |
116 |
mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}-${DEB_VER}.debian.tar.gz" |
117 |
|
118 |
LICENSE="GPL-2" |
119 |
SLOT="0" |
120 |
KEYWORDS="~amd64 ~arm ~ppc ~x86" |
121 |
IUSE="+curl debug +exif +ffmpeg id3tag inotify +javascript lastfm libextractor +magic +mp4 mysql +sqlite +taglib thumbnail +zlib" |
122 |
REQUIRED_USE="|| ( mysql sqlite ) ^^ ( taglib id3tag )" |
123 |
|
124 |
DEPEND="mysql? ( virtual/mysql ) |
125 |
id3tag? ( media-libs/id3lib ) |
126 |
javascript? ( dev-lang/spidermonkey ) |
127 |
dev-libs/expat |
128 |
taglib? ( media-libs/taglib ) |
129 |
sqlite? ( >=dev-db/sqlite-3 ) |
130 |
lastfm? ( >=media-libs/lastfmlib-0.4 ) |
131 |
exif? ( media-libs/libexif ) |
132 |
libextractor? ( media-libs/libextractor ) |
133 |
mp4? ( >=media-libs/libmp4v2-1.9.1_p479:0 ) |
134 |
ffmpeg? ( virtual/ffmpeg ) |
135 |
thumbnail? ( media-video/ffmpegthumbnailer[jpeg] ) |
136 |
curl? ( net-misc/curl ) |
137 |
magic? ( sys-apps/file ) |
138 |
sys-apps/util-linux |
139 |
zlib? ( sys-libs/zlib ) |
140 |
virtual/libiconv" |
141 |
RDEPEND="${DEPEND}" |
142 |
|
143 |
pkg_setup() { |
144 |
if use inotify ; then |
145 |
if ! linux_config_exists || ! linux_chkconfig_present INOTIFY_USER ; then |
146 |
ewarn "Please enable Inotify support in your kernel:" |
147 |
ewarn " File systems --->" |
148 |
ewarn " [*] Inotify support for userspace" |
149 |
fi |
150 |
fi |
151 |
enewgroup mediatomb |
152 |
enewuser mediatomb -1 -1 /dev/null mediatomb |
153 |
} |
154 |
|
155 |
src_prepare() { |
156 |
local p dd="${WORKDIR}"/debian/patches |
157 |
sed -i -r '/^[-+]{3} /s:[.][.]/::' "${dd}"/* || die |
158 |
for p in $(<"${dd}"/series) ; do |
159 |
epatch "${dd}"/${p} |
160 |
done |
161 |
epatch "${FILESDIR}"/${P}-libmp4v2.patch |
162 |
epatch "${FILESDIR}"/${P}-system-uuid.patch #270830 |
163 |
if has_version ">=dev-lang/spidermonkey-1.8.7" ; then |
164 |
sed -i 's:mozjs185:mozjs187:g' configure.ac || die #423991 |
165 |
fi |
166 |
eautoreconf |
167 |
} |
168 |
|
169 |
src_configure() { |
170 |
local myconf=() |
171 |
if use thumbnail ; then |
172 |
elog "libextrator does not work with thumbnail, disabling libextrator" |
173 |
myconf+=( --enable-ffmpegthumbnailer --enable-ffmpeg --disable-libextractor ) |
174 |
elif ! use thumbnail && use ffmpeg && use libextractor ; then |
175 |
elog "libextrator does not work with ffmpeg, disabling libextrator" |
176 |
myconf+=( --disable-ffmpegthumbnailer --enable-ffmpeg --disable-libextractor ) |
177 |
else |
178 |
myconf+=( |
179 |
$(use_enable thumbnail ffmpegthumbnailer) |
180 |
$(use_enable ffmpeg) |
181 |
$(use_enable libextractor) |
182 |
) |
183 |
fi |
184 |
|
185 |
econf \ |
186 |
$(use_enable curl) $(use_enable curl youtube) \ |
187 |
$(use_enable debug tombdebug) \ |
188 |
$(use_enable exif libexif) \ |
189 |
$(use_enable id3tag id3lib) \ |
190 |
$(use_enable inotify) \ |
191 |
$(use_enable javascript libjs) \ |
192 |
$(use_enable lastfm lastfmlib) \ |
193 |
$(use_enable magic libmagic) \ |
194 |
$(use_enable mp4 libmp4v2) \ |
195 |
$(use_enable mysql) \ |
196 |
$(use_enable sqlite sqlite3) \ |
197 |
$(use_enable taglib) \ |
198 |
$(use_enable zlib) \ |
199 |
--enable-external-transcoding \ |
200 |
--enable-protocolinfo-extension \ |
201 |
"${myconf[@]}" |
202 |
} |
203 |
|
204 |
src_install() { |
205 |
default |
206 |
|
207 |
newinitd "${FILESDIR}"/${PN}-0.12.1.initd ${PN} |
208 |
use mysql || sed -i -e "/use mysql/d" "${ED}"/etc/init.d/${PN} |
209 |
newconfd "${FILESDIR}"/${PN}-0.12.0.confd ${PN} |
210 |
|
211 |
insinto /etc/mediatomb |
212 |
newins "${FILESDIR}/${PN}-0.12.0.config" config.xml |
213 |
fperms 0600 /etc/mediatomb/config.xml |
214 |
fowners mediatomb:mediatomb /etc/mediatomb/config.xml |
215 |
|
216 |
keepdir /var/lib/mediatomb |
217 |
fowners mediatomb:mediatomb /var/lib/mediatomb |
218 |
} |
219 |
|
220 |
pkg_postinst() { |
221 |
if use mysql ; then |
222 |
elog "MediaTomb has been built with MySQL support and needs" |
223 |
elog "to be configured before being started." |
224 |
elog "For more information, please consult the MediaTomb" |
225 |
elog "documentation: http://mediatomb.cc/pages/documentation" |
226 |
elog |
227 |
fi |
228 |
|
229 |
elog "To configure MediaTomb edit:" |
230 |
elog "/etc/mediatomb/config.xml" |
231 |
elog |
232 |
elog "The MediaTomb web interface can be reached at (after the service is started):" |
233 |
elog "http://localhost:49152/" |
234 |
} |