1 |
darkside 10/03/30 01:13:26 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mediatomb-0.12.0-r1.ebuild |
5 |
Removed: mediatomb-0.12.0.ebuild |
6 |
Log: |
7 |
minor revbump to grab new init/conf files from bug 264235 that I forgot |
8 |
(Portage version: 2.1.8.3/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.12 net-misc/mediatomb/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/mediatomb/ChangeLog?rev=1.12&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/mediatomb/ChangeLog?rev=1.12&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/mediatomb/ChangeLog?r1=1.11&r2=1.12 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/mediatomb/ChangeLog,v |
20 |
retrieving revision 1.11 |
21 |
retrieving revision 1.12 |
22 |
diff -u -r1.11 -r1.12 |
23 |
--- ChangeLog 29 Mar 2010 22:32:23 -0000 1.11 |
24 |
+++ ChangeLog 30 Mar 2010 01:13:26 -0000 1.12 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for net-misc/mediatomb |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/mediatomb/ChangeLog,v 1.11 2010/03/29 22:32:23 darkside Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/mediatomb/ChangeLog,v 1.12 2010/03/30 01:13:26 darkside Exp $ |
30 |
+ |
31 |
+*mediatomb-0.12.0-r1 (30 Mar 2010) |
32 |
+ |
33 |
+ 30 Mar 2010; Jeremy Olexa <darkside@g.o> -mediatomb-0.12.0.ebuild, |
34 |
+ +mediatomb-0.12.0-r1.ebuild, +files/mediatomb-0.12.0.confd, |
35 |
+ +files/mediatomb-0.12.0.initd: |
36 |
+ minor revbump to grab new init/conf files from bug 264235 that I forgot |
37 |
|
38 |
29 Mar 2010; Jeremy Olexa <darkside@g.o> +mediatomb-0.12.0.ebuild, |
39 |
+files/mediatomb-0.12.0.config, metadata.xml: |
40 |
|
41 |
|
42 |
|
43 |
1.1 net-misc/mediatomb/mediatomb-0.12.0-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/mediatomb/mediatomb-0.12.0-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/mediatomb/mediatomb-0.12.0-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: mediatomb-0.12.0-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2010 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/mediatomb/mediatomb-0.12.0-r1.ebuild,v 1.1 2010/03/30 01:13:26 darkside Exp $ |
53 |
|
54 |
EAPI=2 |
55 |
|
56 |
inherit eutils linux-info |
57 |
|
58 |
DESCRIPTION="MediaTomb is an open source UPnP MediaServer" |
59 |
HOMEPAGE="http://www.mediatomb.cc/" |
60 |
SRC_URI="mirror://sourceforge/mediatomb/${P}.tar.gz" |
61 |
|
62 |
LICENSE="GPL-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~x86" |
65 |
IUSE="debug +exif +ffmpeg inotify +javascript lastfm +mp4 mysql +taglib thumbnail" |
66 |
|
67 |
DEPEND=" |
68 |
mysql? ( virtual/mysql ) |
69 |
!mysql? ( >=dev-db/sqlite-3 ) |
70 |
javascript? ( dev-lang/spidermonkey ) |
71 |
dev-libs/expat |
72 |
taglib? ( media-libs/taglib ) |
73 |
!taglib? ( media-libs/id3lib ) |
74 |
lastfm? ( >=media-libs/lastfmlib-0.4 ) |
75 |
exif? ( media-libs/libexif ) |
76 |
mp4? ( media-libs/libmp4v2 ) |
77 |
ffmpeg? ( media-video/ffmpeg ) |
78 |
thumbnail? ( media-video/ffmpegthumbnailer[jpeg] ) |
79 |
net-misc/curl |
80 |
sys-apps/file |
81 |
sys-libs/zlib |
82 |
virtual/libiconv" |
83 |
|
84 |
RDEPEND="${DEPEND}" |
85 |
|
86 |
pkg_setup() { |
87 |
if use inotify; then |
88 |
if linux_config_exists; then |
89 |
if ! linux_chkconfig_present INOTIFY_USER; then |
90 |
ewarn "Please enable Inotify support in your kernel:" |
91 |
ewarn |
92 |
ewarn " File systems --->" |
93 |
ewarn " [*] Inotify support for userspace" |
94 |
ewarn |
95 |
fi |
96 |
fi |
97 |
fi |
98 |
enewgroup mediatomb |
99 |
enewuser mediatomb -1 -1 /dev/null mediatomb |
100 |
} |
101 |
|
102 |
src_configure() { |
103 |
if use thumbnail; then |
104 |
myconf="${myconf} --enable-ffmpegthumbnailer --enable-ffmpeg" |
105 |
else |
106 |
myconf="${myconf} $(use_enable thumbnail ffmpegthumbnailer) $(use_enable ffmpeg)" |
107 |
fi |
108 |
|
109 |
econf \ |
110 |
$(use_enable debug tombdebug) \ |
111 |
$(use_enable exif libexif) \ |
112 |
$(use_enable inotify) \ |
113 |
$(use_enable javascript libjs) \ |
114 |
$(use_enable lastfm lastfmlib) \ |
115 |
$(use_enable mp4 libmp4v2) \ |
116 |
$(use_enable mysql) $(use_enable !mysql sqlite3) \ |
117 |
$(use_enable taglib) $(use_enable !taglib id3lib) \ |
118 |
--enable-curl \ |
119 |
--enable-external-transcoding \ |
120 |
--enable-libmagic \ |
121 |
--enable-protocolinfo-extension \ |
122 |
--enable-youtube \ |
123 |
--enable-zlib \ |
124 |
${myconf} |
125 |
} |
126 |
|
127 |
src_install() { |
128 |
emake DESTDIR="${D}" install || die "Install failed!" |
129 |
|
130 |
dodoc AUTHORS ChangeLog NEWS README TODO |
131 |
|
132 |
sed -e "s:#MYSQL#:$(use mysql && has_version dev-db/mysql[-minimal] && echo "mysql"):" \ |
133 |
"${FILESDIR}/${P}.initd" > "${T}/mediatomb.initd" || die |
134 |
newinitd "${T}/mediatomb.initd" mediatomb || die |
135 |
newconfd "${FILESDIR}/${P}.confd" mediatomb || die |
136 |
|
137 |
insinto /etc/mediatomb |
138 |
newins "${FILESDIR}/${P}.config" config.xml || die |
139 |
fperms 0600 /etc/mediatomb/config.xml |
140 |
fowners mediatomb:mediatomb /etc/mediatomb/config.xml |
141 |
|
142 |
keepdir /var/lib/mediatomb |
143 |
fowners mediatomb:mediatomb /var/lib/mediatomb |
144 |
} |
145 |
|
146 |
pkg_postinst() { |
147 |
if use mysql; then |
148 |
elog "MediaTomb has been built with MySQL support and needs" |
149 |
elog "to be configured before being started." |
150 |
elog "For more information, please consult the MediaTomb" |
151 |
elog "documentation: http://mediatomb.cc/pages/documentation" |
152 |
elog |
153 |
fi |
154 |
|
155 |
elog "To configure MediaTomb edit:" |
156 |
elog "/etc/mediatomb/config.xml" |
157 |
elog |
158 |
elog "To start MediaTomb:" |
159 |
elog "/etc/init.d/mediatomb start" |
160 |
elog |
161 |
elog "To start MediaTomb at boot:" |
162 |
elog "rc-update add mediatomb default" |
163 |
elog |
164 |
elog "The MediaTomb web interface can be reached at:" |
165 |
elog "http://localhost:49152/" |
166 |
} |