# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortGroup conflicts_build 1.0
categories net multimedia
description Open source (GPL) UPnP MediaServer
MediaTomb is an open source (GPL) UPnP MediaServer \
with a nice web user interface, it allows you to stream \
your digital media through your home network and \
listen to/watch it on a variety of UPnP compatible devices.
homepage http://mediatomb.cc/
checksums md5 e927dd5dc52d3cfcebd8ca1af6f0d3c2 \
sha1 86e880584cc9c8aaf3926d56048510d1d06e76b4 \
rmd160 ecb61ca2483f76421beef1036ac442b8f805fa96
depends_lib port:libiconv port:zlib port:spidermonkey \
path:lib/libssl.dylib:openssl \
port:file port:curl port:libexif port:expat
# /opt/local/include/server.h:12:3: error: #error this file is for mongo server programs not client lib
patchfiles patch-configure.ac.diff \
patch-src-metadata-ffmpeg_handler.cc.diff
# Buggy C++ code, so don't use clang
compiler.blacklist *clang*
ui_error "$name does not build on Mavericks or later."
error "unsupported platform"
--enable-libjs --with-js-h=${prefix}/include/js --enable-libexif \
--disable-sqlite3 --disable-mysql \
--disable-taglib --disable-id3lib \
--disable-ffmpeg --disable-libextractor \
--with-search=${prefix} \
--with-curl-cfg=${prefix}/bin/curl-config
variant sqlite3 description {Use SQLite 3 database} {
depends_lib-append port:sqlite3