1 |
thev00d00 13/05/30 16:45:36 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mediatomb-0.12.1-r6.ebuild |
5 |
Log: |
6 |
Use system AR, bug #464710, thanks to Michael Mair-Keimberger for the patch |
7 |
|
8 |
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.46 net-misc/mediatomb/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/mediatomb/ChangeLog?rev=1.46&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/mediatomb/ChangeLog?rev=1.46&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/mediatomb/ChangeLog?r1=1.45&r2=1.46 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/mediatomb/ChangeLog,v |
20 |
retrieving revision 1.45 |
21 |
retrieving revision 1.46 |
22 |
diff -u -r1.45 -r1.46 |
23 |
--- ChangeLog 5 Apr 2013 11:04:33 -0000 1.45 |
24 |
+++ ChangeLog 30 May 2013 16:45:36 -0000 1.46 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-misc/mediatomb |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/mediatomb/ChangeLog,v 1.45 2013/04/05 11:04:33 ago Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/mediatomb/ChangeLog,v 1.46 2013/05/30 16:45:36 thev00d00 Exp $ |
30 |
+ |
31 |
+*mediatomb-0.12.1-r6 (30 May 2013) |
32 |
+ |
33 |
+ 30 May 2013; Ian Whyman <thev00d00@g.o> |
34 |
+ +files/mediatomb-0.12.1-system-ar.patch, +mediatomb-0.12.1-r6.ebuild: |
35 |
+ Use system AR, bug #464710, thanks to Michael Mair-Keimberger for the patch |
36 |
|
37 |
05 Apr 2013; Agostino Sarubbo <ago@g.o> mediatomb-0.12.1-r5.ebuild: |
38 |
Stable for x86, wrt bug #464566 |
39 |
|
40 |
|
41 |
|
42 |
1.1 net-misc/mediatomb/mediatomb-0.12.1-r6.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/mediatomb/mediatomb-0.12.1-r6.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/mediatomb/mediatomb-0.12.1-r6.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: mediatomb-0.12.1-r6.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2013 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/mediatomb/mediatomb-0.12.1-r6.ebuild,v 1.1 2013/05/30 16:45:36 thev00d00 Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
inherit autotools eutils linux-info user |
55 |
|
56 |
DEB_VER="4" |
57 |
DESCRIPTION="MediaTomb is an open source UPnP MediaServer" |
58 |
HOMEPAGE="http://www.mediatomb.cc/" |
59 |
SRC_URI="mirror://sourceforge/mediatomb/${P}.tar.gz |
60 |
mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}-${DEB_VER}.debian.tar.gz" |
61 |
|
62 |
LICENSE="GPL-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~arm ~ppc ~x86" |
65 |
IUSE="+curl debug +exif +ffmpeg id3tag inotify +javascript lastfm libextractor +magic +mp4 mysql +sqlite +taglib thumbnail +zlib" |
66 |
REQUIRED_USE=" |
67 |
|| ( mysql sqlite ) |
68 |
taglib? ( !id3tag ) id3tag? ( !taglib ) |
69 |
thumbnail? ( ffmpeg !libextractor ) |
70 |
ffmpeg? ( !libextractor ) |
71 |
libextractor? ( !ffmpeg !thumbnail ) |
72 |
" |
73 |
|
74 |
DEPEND="mysql? ( virtual/mysql ) |
75 |
id3tag? ( media-libs/id3lib ) |
76 |
javascript? ( >=dev-lang/spidermonkey-1.8.5 ) |
77 |
dev-libs/expat |
78 |
taglib? ( media-libs/taglib ) |
79 |
sqlite? ( >=dev-db/sqlite-3 ) |
80 |
lastfm? ( >=media-libs/lastfmlib-0.4 ) |
81 |
exif? ( media-libs/libexif ) |
82 |
libextractor? ( media-libs/libextractor ) |
83 |
mp4? ( >=media-libs/libmp4v2-1.9.1_p479:0 ) |
84 |
ffmpeg? ( virtual/ffmpeg ) |
85 |
thumbnail? ( media-video/ffmpegthumbnailer[jpeg] ) |
86 |
curl? ( net-misc/curl ) |
87 |
magic? ( sys-apps/file ) |
88 |
sys-apps/util-linux |
89 |
zlib? ( sys-libs/zlib ) |
90 |
virtual/libiconv" |
91 |
RDEPEND="${DEPEND}" |
92 |
|
93 |
CONFIG_CHECK="~INOTIFY_USER" |
94 |
|
95 |
pkg_setup() { |
96 |
enewgroup mediatomb |
97 |
enewuser mediatomb -1 -1 /dev/null mediatomb |
98 |
} |
99 |
|
100 |
src_prepare() { |
101 |
local p dd="${WORKDIR}"/debian/patches |
102 |
sed -i -r '/^[-+]{3} /s:[.][.]/::' "${dd}"/* || die |
103 |
for p in $(<"${dd}"/series) ; do |
104 |
epatch "${dd}"/${p} |
105 |
done |
106 |
epatch "${FILESDIR}"/${P}-libmp4v2.patch |
107 |
epatch "${FILESDIR}"/${P}-system-uuid.patch #270830 |
108 |
if has_version ">=dev-lang/spidermonkey-1.8.7" ; then |
109 |
epatch "${FILESDIR}"/${P}-mozjs187.patch #435394 |
110 |
fi |
111 |
epatch "${FILESDIR}"/${P}-libextractor.patch #435394 |
112 |
epatch "${FILESDIR}"/${P}-inotify-hard-links.patch |
113 |
epatch "${FILESDIR}"/${P}-thumb-cache.patch |
114 |
epatch "${FILESDIR}"/${P}-libav9.patch |
115 |
epatch "${FILESDIR}"/${P}-avformatcontext-pointer.patch #446922 |
116 |
epatch "${FILESDIR}"/${P}-system-ar.patch |
117 |
eautoreconf |
118 |
} |
119 |
|
120 |
src_configure() { |
121 |
econf \ |
122 |
$(use_enable curl) $(use_enable curl youtube) \ |
123 |
$(use_enable debug tombdebug) \ |
124 |
$(use_enable exif libexif) \ |
125 |
$(use_enable ffmpeg) \ |
126 |
$(use_enable id3tag id3lib) \ |
127 |
$(use_enable inotify) \ |
128 |
$(use_enable javascript libjs) \ |
129 |
$(use_enable lastfm lastfmlib) \ |
130 |
$(use_enable libextractor) \ |
131 |
$(use_enable magic libmagic) \ |
132 |
$(use_enable mp4 libmp4v2) \ |
133 |
$(use_enable mysql) \ |
134 |
$(use_enable sqlite sqlite3) \ |
135 |
$(use_enable taglib) \ |
136 |
$(use_enable thumbnail ffmpegthumbnailer) \ |
137 |
$(use_enable zlib) \ |
138 |
--enable-external-transcoding \ |
139 |
--enable-protocolinfo-extension |
140 |
} |
141 |
|
142 |
src_install() { |
143 |
default |
144 |
|
145 |
newinitd "${FILESDIR}"/${PN}-0.12.1.initd ${PN} |
146 |
use mysql || sed -i -e "/use mysql/d" "${ED}"/etc/init.d/${PN} |
147 |
newconfd "${FILESDIR}"/${PN}-0.12.0.confd ${PN} |
148 |
|
149 |
insinto /etc/mediatomb |
150 |
newins "${FILESDIR}/${PN}-0.12.0.config" config.xml |
151 |
fperms 0600 /etc/mediatomb/config.xml |
152 |
fowners mediatomb:mediatomb /etc/mediatomb/config.xml |
153 |
|
154 |
keepdir /var/lib/mediatomb |
155 |
fowners mediatomb:mediatomb /var/lib/mediatomb |
156 |
} |
157 |
|
158 |
pkg_postinst() { |
159 |
if use mysql ; then |
160 |
elog "MediaTomb has been built with MySQL support and needs" |
161 |
elog "to be configured before being started." |
162 |
elog "For more information, please consult the MediaTomb" |
163 |
elog "documentation: http://mediatomb.cc/pages/documentation" |
164 |
elog |
165 |
fi |
166 |
|
167 |
elog "To configure MediaTomb edit:" |
168 |
elog "/etc/mediatomb/config.xml" |
169 |
elog |
170 |
elog "The MediaTomb web interface can be reached at (after the service is started):" |
171 |
elog "http://localhost:49152/" |
172 |
} |