View | Details | Raw Unified | Return to bug 121273
Collapse All | Expand All

(-)/usr/tmp/port/Makefile (-12 / +43 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	mediatomb
8
PORTNAME=	mediatomb
9
PORTVERSION=	0.10.0
9
PORTVERSION=	0.11.0
10
CATEGORIES=	net multimedia
10
CATEGORIES=	net multimedia
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITE_SUBDIR=	${PORTNAME}
12
MASTER_SITE_SUBDIR=	${PORTNAME}
Lines 24-29 Link Here
24
		PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
24
		PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
25
		LDFLAGS="${LDFLAGS}" \
25
		LDFLAGS="${LDFLAGS}" \
26
		CFLAGS="${CFLAGS}"
26
		CFLAGS="${CFLAGS}"
27
LIB_DEPENDS+=	expat:${PORTSDIR}/textproc/expat2
27
USE_RC_SUBR=	mediatomb.sh
28
USE_RC_SUBR=	mediatomb.sh
28
29
29
# --- configurable variables ---
30
# --- configurable variables ---
Lines 51-58 Link Here
51
		MYSQL "MySQL support" on \
52
		MYSQL "MySQL support" on \
52
		JS "JavaScript (SpiderMonkey) support" on \
53
		JS "JavaScript (SpiderMonkey) support" on \
53
		LIBEXIF "libexif support" on \
54
		LIBEXIF "libexif support" on \
54
		ID3LIB "id3lib support" on \
55
		TAGLIB "taglib support" on \
55
		TAGLIB "taglib support" off \
56
		FFMPEG "ffmpeg metadata extraction support" on \
57
		EXTERNAL_TRANSCODING "external transcoding support" on \
58
		CURL "curl support" on \
59
		ID3LIB "id3lib support" off \
56
		LIBEXTRACTOR "libextractor support" off \
60
		LIBEXTRACTOR "libextractor support" off \
57
		DEBUG "debug build" off
61
		DEBUG "debug build" off
58
62
Lines 98-103 Link Here
98
CONFIGURE_ARGS+=	--disable-libexif
102
CONFIGURE_ARGS+=	--disable-libexif
99
.endif
103
.endif
100
104
105
.if defined(WITH_EXTERNAL_TRANSCODING)
106
CONFIGURE_ARGS+=	--enable-external-transcoding
107
.else
108
CONFIGURE_ARGS+=	--disable-external-transcoding
109
.endif
110
111
# CURL is only useful in combination with EXTERNAL_TRANSCODING
112
.if defined(WITH_CURL) && defined(WITH_EXTERNAL_TRANSCODING)
113
CONFIGURE_ARGS+=	--enable-curl \
114
			--with-curl-cfg="${LOCALBASE}/bin/curl-config"
115
.else
116
CONFIGURE_ARGS+=	--disable-curl
117
.endif
118
119
.if defined(WITH_FFMPEG) && defined(WITH_LIBEXTRACTOR)
120
IGNORE=	cannot be compiled with both, ffmpeg and libextractor. Please (re)run 'make config' and deselect either FFMPEG or LIBEXTRACTOR
121
.endif
122
123
.if defined(WITH_FFMPEG)
124
CONFIGURE_ARGS+=	--enable-ffmpeg \
125
			--with-ffmpeg-h="${LOCALBASE}/include" \
126
			--with-ffmpeg-libs="${LOCALBASE}/lib"
127
LIB_DEPENDS+=		avformat:${PORTSDIR}/multimedia/ffmpeg
128
.else
129
CONFIGURE_ARGS+=	--disable-ffmpeg
130
.endif
131
132
.if defined(WITH_LIBEXTRACTOR)
133
CONFIGURE_ARGS+=	--enable-libextractor \
134
			--with-extractor-h="${LOCALBASE}/include" \
135
			--with-extractor-libs="${LOCALBASE}/lib"
136
LIB_DEPENDS+=		extractor:${PORTSDIR}/textproc/libextractor
137
.else
138
CONFIGURE_ARGS+=	--disable-libextractor
139
.endif
140
101
.if defined(WITH_ID3LIB) && defined(WITH_TAGLIB)
141
.if defined(WITH_ID3LIB) && defined(WITH_TAGLIB)
102
IGNORE=	cannot be compiled with both, taglib and id3lib. Please (re)run 'make config' and deselect either TAGLIB or ID3LIB
142
IGNORE=	cannot be compiled with both, taglib and id3lib. Please (re)run 'make config' and deselect either TAGLIB or ID3LIB
103
.endif
143
.endif
Lines 117-131 Link Here
117
LIB_DEPENDS+=		tag:${PORTSDIR}/audio/taglib
157
LIB_DEPENDS+=		tag:${PORTSDIR}/audio/taglib
118
.else
158
.else
119
CONFIGURE_ARGS+=	--disable-taglib
159
CONFIGURE_ARGS+=	--disable-taglib
120
.endif
121
122
.if defined(WITH_LIBEXTRACTOR)
123
CONFIGURE_ARGS+=	--enable-libextractor \
124
			--with-extractor-h="${LOCALBASE}/include" \
125
			--with-extractor-libs="${LOCALBASE}/lib"
126
LIB_DEPENDS+=		extractor:${PORTSDIR}/textproc/libextractor
127
.else
128
CONFIGURE_ARGS+=	--disable-libextractor
129
.endif
160
.endif
130
161
131
.if defined(WITH_DEBUG)
162
.if defined(WITH_DEBUG)
(-)/usr/tmp/port/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (mediatomb-0.10.0.tar.gz) = 2436c73de4ac5f3ba1575f7ee93a0430
1
MD5 (mediatomb-0.11.0.tar.gz) = 661f08933830d920de21436fe122fb15
2
SHA256 (mediatomb-0.10.0.tar.gz) = 801bb34cc552b31e7bd873ab90b7af92cc8a473f1603265baf7c3b62a71a4877
2
SHA256 (mediatomb-0.11.0.tar.gz) = 25e0b3d761e41fc6793c780eb7f638719867cdc6d3429ec24f72d1e9556ac1d2
3
SIZE (mediatomb-0.10.0.tar.gz) = 910233
3
SIZE (mediatomb-0.11.0.tar.gz) = 1059429
(-)/usr/tmp/port/files/config.xml.dist.in (-6 / +65 lines)
Lines 1-15 Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
1
<?xml version="1.0" encoding="UTF-8"?>
2
<config xmlns="http://mediatomb.cc/0.10.0/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://mediatomb.cc/0.10.0/config http://mediatomb.cc/0.10.0/config.xsd">
2
<config version="1" xmlns="http://mediatomb.cc/config/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://mediatomb.cc/config/1 http://mediatomb.cc/config/1.xsd">
3
  <server>
3
  <server>
4
    <ui enabled="yes">
4
    <ui enabled="yes">
5
      <accounts enabled="no" session-timeout="30"/>
5
      <accounts enabled="no" session-timeout="30">
6
        <account user="mediatomb" password="mediatomb"/>
7
      </accounts>
6
    </ui>
8
    </ui>
7
    <name>MediaTomb</name>
9
    <name>MediaTomb</name>
10
    <udn/>
8
    <home>%%MEDIATOMB_DIR%%</home>
11
    <home>%%MEDIATOMB_DIR%%</home>
9
    <webroot>%%DATADIR%%/web</webroot>
12
    <webroot>%%DATADIR%%/web</webroot>
10
    <storage driver="sqlite3">
13
    <storage>
11
      <database-file>mediatomb.db</database-file>
14
      <sqlite3 enabled="yes">
15
        <database-file>mediatomb.db</database-file>
16
      </sqlite3>
17
      <mysql enabled="no">
18
        <host>localhost</host>
19
        <username>mediatomb</username>
20
        <database>mediatomb</database>
21
      </mysql>
12
    </storage>
22
    </storage>
23
    <protocolInfo extend="no"/><!-- For PS3 support change to "yes" -->
24
    <!--
25
       Uncomment the lines below to get rid of jerky avi playback on the
26
       DSM320 or to enable subtitles support on the DSM units
27
    -->
28
    <!--
29
    <custom-http-headers>
30
      <add header="X-User-Agent: redsonic"/>
31
    </custom-http-headers>
32
33
    <manufacturerURL>redsonic.com</manufacturerURL>
34
    <modelNumber>105</modelNumber>
35
    -->
36
    <!-- Uncomment the line below if you have a Telegent TG100 -->
37
    <!--
38
       <upnp-string-limit>101</upnp-string-limit>
39
    -->
13
  </server>
40
  </server>
14
  <import hidden-files="no">
41
  <import hidden-files="no">
15
    <scripting script-charset="UTF-8">
42
    <scripting script-charset="UTF-8">
Lines 33-42 Link Here
33
        <map from="wmx" to="video/x-ms-wmx"/>
60
        <map from="wmx" to="video/x-ms-wmx"/>
34
        <map from="m3u" to="audio/x-mpegurl"/>
61
        <map from="m3u" to="audio/x-mpegurl"/>
35
        <map from="pls" to="audio/x-scpls"/>
62
        <map from="pls" to="audio/x-scpls"/>
63
        <map from="flv" to="video/x-flv"/>
64
        <!-- Uncomment the line below for PS3 divx support -->
65
        <!-- <map from="avi" to="video/divx"/> -->
66
        <!-- Uncomment the line below for D-Link DSM / ZyXEL DMA-1000 -->
67
        <!-- <map from="avi" to="video/avi"/> -->
36
      </extension-mimetype>
68
      </extension-mimetype>
37
      <mimetype-upnpclass>
69
      <mimetype-upnpclass>
38
        <map from="audio/*" to="object.item.audioItem.musicTrack"/>
70
        <map from="audio/*" to="object.item.audioItem.musicTrack"/>
39
        <map from="application/ogg" to="object.item.audioItem.musicTrack"/>
40
        <map from="video/*" to="object.item.videoItem"/>
71
        <map from="video/*" to="object.item.videoItem"/>
41
        <map from="image/*" to="object.item.imageItem"/>
72
        <map from="image/*" to="object.item.imageItem"/>
42
      </mimetype-upnpclass>
73
      </mimetype-upnpclass>
Lines 47-53 Link Here
47
        <treat mimetype="image/jpeg" as="jpg"/>
78
        <treat mimetype="image/jpeg" as="jpg"/>
48
        <treat mimetype="audio/x-mpegurl" as="playlist"/>
79
        <treat mimetype="audio/x-mpegurl" as="playlist"/>
49
        <treat mimetype="audio/x-scpls" as="playlist"/>
80
        <treat mimetype="audio/x-scpls" as="playlist"/>
81
        <treat mimetype="audio/x-wav" as="pcm"/>
82
        <treat mimetype="video/x-msvideo" as="avi"/>
50
      </mimetype-contenttype>
83
      </mimetype-contenttype>
51
    </mappings>
84
    </mappings>
52
  </import>
85
  </import>
53
</config>
86
  <transcoding enabled="no">
87
    <mimetype-profile-mappings>
88
      <transcode mimetype="video/x-flv" using="vlcmpeg"/>
89
      <transcode mimetype="application/ogg" using="vlcmpeg"/>
90
      <transcode mimetype="application/ogg" using="oggflac2raw"/>
91
      <transcode mimetype="audio/x-flac" using="oggflac2raw"/>
92
    </mimetype-profile-mappings>
93
    <profiles>
94
      <profile name="oggflac2raw" enabled="no" type="external">
95
        <mimetype>audio/L16</mimetype>
96
        <accept-url>no</accept-url>
97
        <first-resource>yes</first-resource>
98
        <accept-ogg-theora>no</accept-ogg-theora>
99
        <agent command="ogg123" arguments="-d raw -f %out %in"/>
100
        <buffer size="1048576" chunk-size="131072" fill-size="262144"/>
101
      </profile>
102
      <profile name="vlcmpeg" enabled="no" type="external">
103
        <mimetype>video/mpeg</mimetype>
104
        <accept-url>yes</accept-url>
105
        <first-resource>yes</first-resource>
106
        <accept-ogg-theora>yes</accept-ogg-theora>
107
        <agent command="vlc" arguments="-I dummy %in --sout #transcode{venc=ffmpeg,vcodec=mp2v,vb=4096,fps=25,aenc=ffmpeg,acodec=mpga,ab=192,samplerate=44100,channels=2}:standard{access=file,mux=ps,dst=%out} vlc:quit"/>
108
        <buffer size="14400000" chunk-size="512000" fill-size="120000"/>
109
      </profile>
110
    </profiles>
111
  </transcoding>
112
</config>
(-)/usr/tmp/port/pkg-plist (-1 / +1 lines)
Lines 74-80 Link Here
74
%%DATADIR%%/web/js/items.js
74
%%DATADIR%%/web/js/items.js
75
%%DATADIR%%/web/js/md5.js
75
%%DATADIR%%/web/js/md5.js
76
%%DATADIR%%/web/js/nanotree.js
76
%%DATADIR%%/web/js/nanotree.js
77
%%DATADIR%%/web/js/pngbehavior.htc
77
%%DATADIR%%/web/js/iepngfix.htc
78
%%DATADIR%%/web/js/prototype.js
78
%%DATADIR%%/web/js/prototype.js
79
%%DATADIR%%/web/js/tasks.js
79
%%DATADIR%%/web/js/tasks.js
80
%%DATADIR%%/web/js/tools.js
80
%%DATADIR%%/web/js/tools.js

Return to bug 121273