summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmcneill <jmcneill>2009-01-27 01:13:41 +0000
committerjmcneill <jmcneill>2009-01-27 01:13:41 +0000
commit03c5da5570c47aa8954b5139426ef0ead249eb82 (patch)
tree59b57459efb1dcfccdee42a05b471389d8777748
parenta9ea311c194997600515eb11620dfb4485610bc8 (diff)
downloadpkgsrc-03c5da5570c47aa8954b5139426ef0ead249eb82.tar.gz
Import fuppes version 0.629.
FUPPES is a free, multiplatform UPnP A/V Media Server. FUPPES supports a wide range of UPnP MediaRenderers (see website for details) as well as on-the-fly transcoding of various audio, video and image formats. It also includes basic DLNA support.
-rw-r--r--multimedia/fuppes/DESCR5
-rw-r--r--multimedia/fuppes/Makefile49
-rw-r--r--multimedia/fuppes/PLIST24
-rw-r--r--multimedia/fuppes/distinfo6
-rw-r--r--multimedia/fuppes/patches/patch-aa25
5 files changed, 109 insertions, 0 deletions
diff --git a/multimedia/fuppes/DESCR b/multimedia/fuppes/DESCR
new file mode 100644
index 00000000000..fac09c8b259
--- /dev/null
+++ b/multimedia/fuppes/DESCR
@@ -0,0 +1,5 @@
+FUPPES is a free, multiplatform UPnP A/V Media Server.
+
+FUPPES supports a wide range of UPnP MediaRenderers (see website for
+details) as well as on-the-fly transcoding of various audio, video and image
+formats. It also includes basic DLNA support.
diff --git a/multimedia/fuppes/Makefile b/multimedia/fuppes/Makefile
new file mode 100644
index 00000000000..937432685c8
--- /dev/null
+++ b/multimedia/fuppes/Makefile
@@ -0,0 +1,49 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/01/27 01:13:41 jmcneill Exp $
+#
+
+SVNREV= 629
+DISTNAME= fuppes-r${SVNREV}
+PKGNAME= ${DISTNAME:S/r/0./}
+CATEGORIES= multimedia
+MASTER_SITES= http://www.invisible.ca/~jmcneill/distfiles/
+
+MAINTAINER= tech-multimedia@NetBSD.org
+HOMEPAGE= http://fuppes.ulrich-voelkel.de/
+COMMENT= Free UPnP Entertainment Service
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c c++
+USE_TOOLS+= gmake pkg-config
+USE_TOOLS+= autoconf automake aclocal m4 autoreconf
+USE_LIBTOOL= yes
+
+CONFIGURE_ARGS+= --enable-video-transcoding
+
+SUBST_CLASSES+= version
+SUBST_STAGE.version= pre-patch
+SUBST_SED.version= -e "s,UNKNOWN,${SVNREV},g"
+SUBST_FILES.version= version.sh
+SUBST_MESSAGE.version= Patching version script for non-SVN checkout builds.
+
+pre-configure:
+ cd ${WRKSRC} && autoreconf -i
+
+.include "../../devel/pcre/buildlink3.mk"
+.include "../../audio/faad2/buildlink3.mk"
+.include "../../audio/flac/buildlink3.mk"
+.include "../../audio/lame/buildlink3.mk"
+.include "../../audio/libmad/buildlink3.mk"
+.include "../../audio/libmpcdec/buildlink3.mk"
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../audio/taglib/buildlink3.mk"
+.include "../../audio/twolame/buildlink3.mk"
+.include "../../databases/sqlite3/buildlink3.mk"
+.include "../../graphics/ImageMagick/buildlink3.mk"
+.include "../../graphics/exiv2/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../graphics/simage/buildlink3.mk"
+.include "../../multimedia/ffmpeg/buildlink3.mk"
+.include "../../multimedia/mpeg4ip/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/fuppes/PLIST b/multimedia/fuppes/PLIST
new file mode 100644
index 00000000000..1cc96148da4
--- /dev/null
+++ b/multimedia/fuppes/PLIST
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/01/27 01:13:41 jmcneill Exp $
+bin/fuppes
+bin/fuppesd
+include/fuppes_plugin.h
+include/fuppes_plugin_types.h
+lib/fuppes/libdecoder_flac.la
+lib/fuppes/libdecoder_vorbis.la
+lib/fuppes/libencoder_twolame.la
+lib/fuppes/libmetadata_dlna_profiles.la
+lib/fuppes/libmetadata_exiv2.la
+lib/fuppes/libmetadata_libavformat.la
+lib/fuppes/libmetadata_libmp4v2.la
+lib/fuppes/libmetadata_magickwand.la
+lib/fuppes/libmetadata_simage.la
+lib/fuppes/libmetadata_taglib.la
+lib/fuppes/libtranscoder_ffmpeg.la
+lib/fuppes/libtranscoder_magickpp.la
+lib/libfuppes.la
+share/fuppes/fuppes-small.png
+share/fuppes/header-gradient-small.png
+share/fuppes/header-gradient.png
+share/fuppes/style.css
+@dirrm share/fuppes
+@dirrm lib/fuppes
diff --git a/multimedia/fuppes/distinfo b/multimedia/fuppes/distinfo
new file mode 100644
index 00000000000..9b78978e406
--- /dev/null
+++ b/multimedia/fuppes/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/01/27 01:13:41 jmcneill Exp $
+
+SHA1 (fuppes-r629.tar.gz) = c567b5574aed7df287993279b8bf64d038624589
+RMD160 (fuppes-r629.tar.gz) = 770e82702a58573807c0af23482dbebe47aa9cae
+Size (fuppes-r629.tar.gz) = 373174 bytes
+SHA1 (patch-aa) = 5042b1dd24117e44effc9bc14af9ba89902a6634
diff --git a/multimedia/fuppes/patches/patch-aa b/multimedia/fuppes/patches/patch-aa
new file mode 100644
index 00000000000..6022e5862c4
--- /dev/null
+++ b/multimedia/fuppes/patches/patch-aa
@@ -0,0 +1,25 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/01/27 01:13:41 jmcneill Exp $
+
+--- src/plugins/ffmpeg/ffmpeg.cpp.orig 2009-01-26 19:32:25.000000000 -0500
++++ src/plugins/ffmpeg/ffmpeg.cpp
+@@ -1021,19 +1021,8 @@ int output_packet(AVInputStream *ist, in
+ if (subtitle_to_free) {
+ if (subtitle_to_free->rects != NULL) {
+ for (i = 0; i < subtitle_to_free->num_rects; i++) {
+-
+-#ifndef LIBAVCODEC_VERSION_MINOR
+-#define LIBAVCODEC_VERSION_MINOR 0
+-#endif
+-
+-#if LIBAVCODEC_VERSION_MINOR >= 11
+- av_freep(subtitle_to_free->rects[i]->pict.data[0]);
+- av_freep(subtitle_to_free->rects[i]->pict.data[1]);
+- av_freep(subtitle_to_free->rects[i]);
+-#else
+ av_free(subtitle_to_free->rects[i].bitmap);
+- av_free(subtitle_to_free->rects[i].rgba_palette);
+-#endif
++ av_free(subtitle_to_free->rects[i].rgba_palette);
+ }
+ av_freep(&subtitle_to_free->rects);
+ }