diff options
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/mediatomb/DESCR | 15 | ||||
-rw-r--r-- | multimedia/mediatomb/Makefile | 24 | ||||
-rw-r--r-- | multimedia/mediatomb/PLIST | 97 | ||||
-rw-r--r-- | multimedia/mediatomb/distinfo | 10 | ||||
-rw-r--r-- | multimedia/mediatomb/patches/patch-aa | 13 | ||||
-rw-r--r-- | multimedia/mediatomb/patches/patch-ab | 13 | ||||
-rw-r--r-- | multimedia/mediatomb/patches/patch-ac | 13 | ||||
-rw-r--r-- | multimedia/mediatomb/patches/patch-ad | 13 | ||||
-rw-r--r-- | multimedia/mediatomb/patches/patch-ae | 14 |
9 files changed, 212 insertions, 0 deletions
diff --git a/multimedia/mediatomb/DESCR b/multimedia/mediatomb/DESCR new file mode 100644 index 00000000000..f3fae26c620 --- /dev/null +++ b/multimedia/mediatomb/DESCR @@ -0,0 +1,15 @@ +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. + +MediaTomb implements the UPnP MediaServer V 1.0 specification that can +be found on http://www.upnp.org/. The current implementation focuses +on parts that are required by the specification, however we look into +extending the functionality to cover the optional parts of the spec as +well. + +MediaTomb should work with any UPnP compliant MediaRenderer, please +tell the authors if you experience difficulties with particular +models, also take a look at the Supported Devices list for more +information. diff --git a/multimedia/mediatomb/Makefile b/multimedia/mediatomb/Makefile new file mode 100644 index 00000000000..e41b5a9d918 --- /dev/null +++ b/multimedia/mediatomb/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/04/09 20:36:38 agc Exp $ + +DISTNAME= mediatomb-0.11.0 +CATEGORIES= multimedia +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mediatomb/} + +MAINTAINER= agc@NetBSD.org +HOMEPAGE= http://mediatomb.cc/ +COMMENT= UPnP MediaServer with a web user interface + +GNU_CONFIGURE= yes + +USE_LANGUAGES+= c c++ +USE_TOOLS+= pkg-config + +PREFER.bind= pkgsrc # we need the package for the lwres lib + +.include "../../databases/sqlite3/buildlink3.mk" +.include "../../multimedia/ffmpeg/buildlink3.mk" +.include "../../net/bind9/buildlink3.mk" +.include "../../textproc/expat/buildlink3.mk" +.include "../../www/curl/buildlink3.mk" + +.include "../../mk/bsd.pkg.mk" diff --git a/multimedia/mediatomb/PLIST b/multimedia/mediatomb/PLIST new file mode 100644 index 00000000000..441af1d0d99 --- /dev/null +++ b/multimedia/mediatomb/PLIST @@ -0,0 +1,97 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2008/04/09 20:36:38 agc Exp $ +bin/mediatomb +man/man1/mediatomb.1 +share/mediatomb/js/common.js +share/mediatomb/js/import.js +share/mediatomb/js/playlists.js +share/mediatomb/mappings.xml +share/mediatomb/mysql.sql +share/mediatomb/sqlite3.sql +share/mediatomb/web/cds.xml +share/mediatomb/web/cm.xml +share/mediatomb/web/disabled.html +share/mediatomb/web/favicon.ico +share/mediatomb/web/icons/add_as_autoscan.png +share/mediatomb/web/icons/autoscan_inotify_config_folder_open.png +share/mediatomb/web/icons/autoscan_inotify_folder_open.png +share/mediatomb/web/icons/autoscan_timed_config_folder_open.png +share/mediatomb/web/icons/autoscan_timed_folder_open.png +share/mediatomb/web/icons/blank.gif +share/mediatomb/web/icons/blank.png +share/mediatomb/web/icons/document-new.png +share/mediatomb/web/icons/film.png +share/mediatomb/web/icons/folder_new.png +share/mediatomb/web/icons/folder_open.png +share/mediatomb/web/icons/go-first.png +share/mediatomb/web/icons/go-last.png +share/mediatomb/web/icons/go-next.png +share/mediatomb/web/icons/go-previous.png +share/mediatomb/web/icons/mediatomb.png +share/mediatomb/web/icons/mt-icon120.bmp +share/mediatomb/web/icons/mt-icon120.jpg +share/mediatomb/web/icons/mt-icon120.png +share/mediatomb/web/icons/mt-icon32.bmp +share/mediatomb/web/icons/mt-icon32.jpg +share/mediatomb/web/icons/mt-icon32.png +share/mediatomb/web/icons/mt-icon48.bmp +share/mediatomb/web/icons/mt-icon48.jpg +share/mediatomb/web/icons/mt-icon48.png +share/mediatomb/web/icons/nanotree/images/autoscan_inotify_config_folder_closed.png +share/mediatomb/web/icons/nanotree/images/autoscan_inotify_config_folder_open.png +share/mediatomb/web/icons/nanotree/images/autoscan_inotify_folder_closed.png +share/mediatomb/web/icons/nanotree/images/autoscan_inotify_folder_open.png +share/mediatomb/web/icons/nanotree/images/autoscan_timed_config_folder_closed.png +share/mediatomb/web/icons/nanotree/images/autoscan_timed_config_folder_open.png +share/mediatomb/web/icons/nanotree/images/autoscan_timed_folder_closed.png +share/mediatomb/web/icons/nanotree/images/autoscan_timed_folder_open.png +share/mediatomb/web/icons/nanotree/images/folder_closed.png +share/mediatomb/web/icons/nanotree/images/folder_open.png +share/mediatomb/web/icons/nanotree/images/lastnode.png +share/mediatomb/web/icons/nanotree/images/line.png +share/mediatomb/web/icons/nanotree/images/minus.png +share/mediatomb/web/icons/nanotree/images/minus_last.png +share/mediatomb/web/icons/nanotree/images/minus_last_no_root.png +share/mediatomb/web/icons/nanotree/images/minus_no_root.png +share/mediatomb/web/icons/nanotree/images/plus.png +share/mediatomb/web/icons/nanotree/images/plus_last.png +share/mediatomb/web/icons/nanotree/images/plus_last_no_root.png +share/mediatomb/web/icons/nanotree/images/plus_no_root.png +share/mediatomb/web/icons/nanotree/images/t.png +share/mediatomb/web/icons/nanotree/images/t_no_root.png +share/mediatomb/web/icons/nanotree/images/white.png +share/mediatomb/web/icons/remove_all.png +share/mediatomb/web/icons/remove_autoscan.png +share/mediatomb/web/icons/remove_this.png +share/mediatomb/web/icons/status.png +share/mediatomb/web/icons/status_loading.png +share/mediatomb/web/icons/status_updates_pending.png +share/mediatomb/web/icons/stock-add.png +share/mediatomb/web/icons/stock_edit.png +share/mediatomb/web/icons/stock_exit.png +share/mediatomb/web/index.html +share/mediatomb/web/js/auth.js +share/mediatomb/web/js/autoscan.js +share/mediatomb/web/js/icons.js +share/mediatomb/web/js/iepngfix.htc +share/mediatomb/web/js/items.js +share/mediatomb/web/js/md5.js +share/mediatomb/web/js/nanotree.js +share/mediatomb/web/js/prototype.js +share/mediatomb/web/js/tasks.js +share/mediatomb/web/js/tools.js +share/mediatomb/web/js/tree.js +share/mediatomb/web/left.html +share/mediatomb/web/main.css +share/mediatomb/web/mr_reg.xml +share/mediatomb/web/right.html +share/mediatomb/web/std_treelook.css +share/mediatomb/web/top.html +share/mediatomb/web/topleft.html +share/mediatomb/web/topright.html +@dirrm share/mediatomb/web/js +@dirrm share/mediatomb/web/icons/nanotree/images +@dirrm share/mediatomb/web/icons/nanotree +@dirrm share/mediatomb/web/icons +@dirrm share/mediatomb/web +@dirrm share/mediatomb/js +@dirrm share/mediatomb diff --git a/multimedia/mediatomb/distinfo b/multimedia/mediatomb/distinfo new file mode 100644 index 00000000000..7789fd0c2dc --- /dev/null +++ b/multimedia/mediatomb/distinfo @@ -0,0 +1,10 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/04/09 20:36:38 agc Exp $ + +SHA1 (mediatomb-0.11.0.tar.gz) = 1d7c86924686f9999a359ba96092aa36d30832a6 +RMD160 (mediatomb-0.11.0.tar.gz) = 11c53d5757da3a689c025107331526c0486befc4 +Size (mediatomb-0.11.0.tar.gz) = 1059429 bytes +SHA1 (patch-aa) = 00bd9c244c4a4853e65a1430921ce7b170ce9373 +SHA1 (patch-ab) = c7ec78ca4fdae632b580487bf1451ed5f1370e82 +SHA1 (patch-ac) = 801ef3895fc848103f81433b066d6ae9fddccaf9 +SHA1 (patch-ad) = 6ab358d4ad7530a8337db154017024da8bf89fbf +SHA1 (patch-ae) = d570d0f4e0038ed12666dd66882213ced8c78f3a diff --git a/multimedia/mediatomb/patches/patch-aa b/multimedia/mediatomb/patches/patch-aa new file mode 100644 index 00000000000..5c6753806c2 --- /dev/null +++ b/multimedia/mediatomb/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2008/04/09 20:36:38 agc Exp $ + +--- tombupnp/threadutil/inc/ithread.h 2008-03-01 22:48:51.000000000 +0000 ++++ tombupnp/threadutil/inc/ithread.h 2008-03-21 20:18:37.000000000 +0000 +@@ -47,7 +47,7 @@ + #include <unistd.h> + #endif + +-#ifdef __FreeBSD__ ++#if defined(__FreeBSD__) || defined(__NetBSD__) + #define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE + #endif + diff --git a/multimedia/mediatomb/patches/patch-ab b/multimedia/mediatomb/patches/patch-ab new file mode 100644 index 00000000000..de0b9aa2993 --- /dev/null +++ b/multimedia/mediatomb/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2008/04/09 20:36:38 agc Exp $ + +--- tombupnp/threadutil/src/ThreadPool.c 2008-03-01 22:48:51.000000000 +0000 ++++ tombupnp/threadutil/src/ThreadPool.c 2008-03-21 20:18:54.000000000 +0000 +@@ -370,7 +370,7 @@ + gettimeofday( &t, NULL ); + #if defined(WIN32) + srand( ( unsigned int )(t.tv_usec/1000) + (unsigned int)ithread_get_current_thread_id( ).p ); +-#elif defined(__FreeBSD__) || defined (__APPLE__) ++#elif defined(__FreeBSD__) || defined (__APPLE__) || defined(__NetBSD__) + srand( ( unsigned int )(t.tv_usec/1000) + (unsigned int)ithread_get_current_thread_id( ) ); + #else + srand( ( unsigned int )(t.tv_usec/1000) + ithread_get_current_thread_id( ) ); diff --git a/multimedia/mediatomb/patches/patch-ac b/multimedia/mediatomb/patches/patch-ac new file mode 100644 index 00000000000..8733240ce80 --- /dev/null +++ b/multimedia/mediatomb/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1.1.1 2008/04/09 20:36:38 agc Exp $ + +--- tombupnp/upnp/inc/upnp.h 2008-03-01 22:48:51.000000000 +0000 ++++ tombupnp/upnp/inc/upnp.h 2008-03-21 20:17:16.000000000 +0000 +@@ -58,7 +58,7 @@ + //@{ + + #include <stdio.h> +-#if defined(__FreeBSD__) || defined(__APPLE__) ++#if defined(__FreeBSD__) || defined(__APPLE__) || defined(__NetBSD__) + #include <time.h> + #include <sys/types.h> + #endif diff --git a/multimedia/mediatomb/patches/patch-ad b/multimedia/mediatomb/patches/patch-ad new file mode 100644 index 00000000000..d7d2655d83a --- /dev/null +++ b/multimedia/mediatomb/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1.1.1 2008/04/09 20:36:38 agc Exp $ + +--- tombupnp/upnp/src/genlib/net/uri/uri.c 2008-03-01 22:48:50.000000000 +0000 ++++ tombupnp/upnp/src/genlib/net/uri/uri.c 2008-03-21 20:18:05.000000000 +0000 +@@ -61,7 +61,7 @@ + #include "config.h" + #include "uri.h" + +-#ifdef __FreeBSD__ ++#if defined(__FreeBSD__) || defined(__NetBSD__) + #ifdef HAVE_LWRES_NETDB_H + #include <lwres/netdb.h> + #endif diff --git a/multimedia/mediatomb/patches/patch-ae b/multimedia/mediatomb/patches/patch-ae new file mode 100644 index 00000000000..3575bcf0632 --- /dev/null +++ b/multimedia/mediatomb/patches/patch-ae @@ -0,0 +1,14 @@ +$NetBSD: patch-ae,v 1.1.1.1 2008/04/09 20:36:38 agc Exp $ + +--- tombupnp/upnp/src/ssdp/ssdp_server.c 2008-03-01 22:48:51.000000000 +0000 ++++ tombupnp/upnp/src/ssdp/ssdp_server.c 2008-03-21 20:17:43.000000000 +0000 +@@ -962,7 +962,7 @@ + return UPNP_E_SOCKET_ERROR; + } + +- #ifdef __FreeBSD__ ++ #if defined(__FreeBSD__) || defined(__NetBSD__) + if( setsockopt( ssdpSock, SOL_SOCKET, SO_REUSEPORT, + ( char * )&onOff, sizeof( onOff ) ) != 0 ) { + +Only in jmediatomb-0.11.0/web: Makefile |