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.
This commit is contained in:
jmcneill 2009-01-27 01:13:41 +00:00
parent 3a98717311
commit 40b9e24f9f
5 changed files with 109 additions and 0 deletions

5
multimedia/fuppes/DESCR Normal file
View file

@ -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.

View file

@ -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"

24
multimedia/fuppes/PLIST Normal file
View file

@ -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

View file

@ -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

View file

@ -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);
}