diff options
author | obache <obache@pkgsrc.org> | 2010-05-23 08:03:18 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2010-05-23 08:03:18 +0000 |
commit | 193055906a1d4c05afd20bbd8789708c7e479093 (patch) | |
tree | fff14ca56598ae17515babeb21424c897294793f /net/libdlna | |
parent | 366682e0e04d9b43dde052975925ecd553557a2c (diff) | |
download | pkgsrc-193055906a1d4c05afd20bbd8789708c7e479093.tar.gz |
Import libdlna-0.2.3 as net/libdlna.
libdlna aims at being the reference open-source implementation of DLNA (Digital
Living Network Alliance) standards. Its primary goal is to provide DLNA support
to uShare, an embedded DLNA & UPnP A/V Media Server, but it will be used to
build both DLNA servers and players in the long term.
libdlna is written in C and relies on FFMPEG librairies (libavformat and
libavcodec) to handle and demux A/V streams. You still need libupnp to provide
basic UPnP support to your project.
libdlna is based on official DLNA specifications and aims at a providing a
complete respect of the defined standards. Right now, libdlna can be used to
build compliant DLNA Media Servers.
libdlna is free software - it is licensed under the terms of the GNU Lesser
General Public License (LGPL).
Diffstat (limited to 'net/libdlna')
-rw-r--r-- | net/libdlna/DESCR | 15 | ||||
-rw-r--r-- | net/libdlna/Makefile | 29 | ||||
-rw-r--r-- | net/libdlna/PLIST | 7 | ||||
-rw-r--r-- | net/libdlna/buildlink3.mk | 15 | ||||
-rw-r--r-- | net/libdlna/distinfo | 11 | ||||
-rw-r--r-- | net/libdlna/patches/patch-aa | 18 | ||||
-rw-r--r-- | net/libdlna/patches/patch-ab | 17 | ||||
-rw-r--r-- | net/libdlna/patches/patch-ac | 15 | ||||
-rw-r--r-- | net/libdlna/patches/patch-ad | 15 | ||||
-rw-r--r-- | net/libdlna/patches/patch-ae | 15 | ||||
-rw-r--r-- | net/libdlna/patches/patch-af | 14 |
11 files changed, 171 insertions, 0 deletions
diff --git a/net/libdlna/DESCR b/net/libdlna/DESCR new file mode 100644 index 00000000000..cd92131c36a --- /dev/null +++ b/net/libdlna/DESCR @@ -0,0 +1,15 @@ +libdlna aims at being the reference open-source implementation of DLNA (Digital +Living Network Alliance) standards. Its primary goal is to provide DLNA support +to uShare, an embedded DLNA & UPnP A/V Media Server, but it will be used to +build both DLNA servers and players in the long term. + +libdlna is written in C and relies on FFMPEG librairies (libavformat and +libavcodec) to handle and demux A/V streams. You still need libupnp to provide +basic UPnP support to your project. + +libdlna is based on official DLNA specifications and aims at a providing a +complete respect of the defined standards. Right now, libdlna can be used to +build compliant DLNA Media Servers. + +libdlna is free software - it is licensed under the terms of the GNU Lesser +General Public License (LGPL). diff --git a/net/libdlna/Makefile b/net/libdlna/Makefile new file mode 100644 index 00000000000..2759cbe2369 --- /dev/null +++ b/net/libdlna/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/05/23 08:03:18 obache Exp $ +# + +DISTNAME= libdlna-0.2.3 +CATEGORIES= net +MASTER_SITES= http://libdlna.geexbox.org/releases/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= obache@NetBSD.org +HOMEPAGE= http://libdlna.geexbox.org/ +COMMENT= Reference DLNA open-source implementation +LICENSE= gnu-lgpl-v2.1 + +PKG_DESTDIR_SUPPORT= user-destdir + +USE_LANGUAGES= c +HAS_CONFIGURE= yes +USE_TOOLS+= gmake + +PKGCONFIG_OVERRIDE= libdlna.pc +PKGCONFIG_OVERRIDE_STAGE= post-configure + +CONFIGURE_ARGS+= --prefix=${PREFIX} +CONFIGURE_ARGS+= --with-ffmpeg-dir=${BUILDLINK_PREFIX.ffmpeg} + +MAKE_JOBS_SAFE= no + +.include "../../multimedia/ffmpeg/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/libdlna/PLIST b/net/libdlna/PLIST new file mode 100644 index 00000000000..7e88cd933d2 --- /dev/null +++ b/net/libdlna/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/05/23 08:03:18 obache Exp $ +include/dlna.h +lib/libdlna.a +lib/libdlna.so +lib/libdlna.so.0 +lib/libdlna.so.${PKGVERSION} +lib/pkgconfig/libdlna.pc diff --git a/net/libdlna/buildlink3.mk b/net/libdlna/buildlink3.mk new file mode 100644 index 00000000000..4d4ba19a780 --- /dev/null +++ b/net/libdlna/buildlink3.mk @@ -0,0 +1,15 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2010/05/23 08:03:18 obache Exp $ +# + +BUILDLINK_TREE+= libdlna + +.if !defined(LIBDLNA_BUILDLINK3_MK) +LIBDLNA_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.libdlna+= libdlna>=0.2.3 +BUILDLINK_PKGSRCDIR.libdlna?= ../../net/libdlna + +.include "../../multimedia/ffmpeg/buildlink3.mk" +.endif # LIBDLNA_BUILDLINK3_MK + +BUILDLINK_TREE+= -libdlna diff --git a/net/libdlna/distinfo b/net/libdlna/distinfo new file mode 100644 index 00000000000..dd1e36b1fc7 --- /dev/null +++ b/net/libdlna/distinfo @@ -0,0 +1,11 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/05/23 08:03:18 obache Exp $ + +SHA1 (libdlna-0.2.3.tar.bz2) = 87159167610abde806a7addb8e425dbdc446856e +RMD160 (libdlna-0.2.3.tar.bz2) = b6ef7cca1c661b95d3f8892ad99179fae9ddfbf4 +Size (libdlna-0.2.3.tar.bz2) = 37142 bytes +SHA1 (patch-aa) = 2ecdb279c68f5411c0c53de4f544ba84042a5af9 +SHA1 (patch-ab) = cd12b7c6a0055402047ccd7e7f6c7cdc1b997417 +SHA1 (patch-ac) = e5258dea39c7fd33cc123896830a6e1b15c25e3d +SHA1 (patch-ad) = 5a30c1491d4b5aa8a90187ca2f1096e9523e9e7c +SHA1 (patch-ae) = 97323e8fd202880b5b1fcad6ae544fbdd25e0abe +SHA1 (patch-af) = b34c260bf86062d268a8f113df17e285ed6ecdb7 diff --git a/net/libdlna/patches/patch-aa b/net/libdlna/patches/patch-aa new file mode 100644 index 00000000000..0a9cb106b82 --- /dev/null +++ b/net/libdlna/patches/patch-aa @@ -0,0 +1,18 @@ +$NetBSD: patch-aa,v 1.1.1.1 2010/05/23 08:03:18 obache Exp $ + +Adjust header file locations for ffmpeg changes. + +--- configure.orig 2007-11-26 20:47:43.000000000 +0000 ++++ configure +@@ -610,9 +610,9 @@ if [ -n "$ffmpegdir" ]; then + fi + + echolog "Checking for libavformat ..." +-check_lib ffmpeg/avformat.h av_register_all -lavformat || die "Error, can't find libavformat !" ++check_lib libavformat/avformat.h av_register_all -lavformat || die "Error, can't find libavformat !" + echolog "Checking for libavcodec ..." +-check_lib ffmpeg/avcodec.h avcodec_register_all -lavcodec || die "Error, can't find libavcodec !" ++check_lib libavcodec/avcodec.h avcodec_register_all -lavcodec || die "Error, can't find libavcodec !" + + ################################################# + # version diff --git a/net/libdlna/patches/patch-ab b/net/libdlna/patches/patch-ab new file mode 100644 index 00000000000..d4b9df785e2 --- /dev/null +++ b/net/libdlna/patches/patch-ab @@ -0,0 +1,17 @@ +$NetBSD: patch-ab,v 1.1.1.1 2010/05/23 08:03:18 obache Exp $ + +Adjust header file locations for ffmpeg changes. + +--- src/profiles.h.orig 2007-11-26 20:47:43.000000000 +0000 ++++ src/profiles.h +@@ -22,8 +22,8 @@ + #ifndef _PROFILES_H_ + #define _PROFILES_H_ + +-#include <ffmpeg/avcodec.h> +-#include <ffmpeg/avformat.h> ++#include <libavcodec/avcodec.h> ++#include <libavformat/avformat.h> + + #include "dlna_internals.h" + #include "containers.h" diff --git a/net/libdlna/patches/patch-ac b/net/libdlna/patches/patch-ac new file mode 100644 index 00000000000..7b4bb0caf20 --- /dev/null +++ b/net/libdlna/patches/patch-ac @@ -0,0 +1,15 @@ +$NetBSD: patch-ac,v 1.1.1.1 2010/05/23 08:03:18 obache Exp $ + +Adjust header file locations for ffmpeg changes. + +--- src/containers.c.orig 2007-11-26 20:47:43.000000000 +0000 ++++ src/containers.c +@@ -4,7 +4,7 @@ + #include <sys/stat.h> + #include <fcntl.h> + +-#include <ffmpeg/avformat.h> ++#include <libavformat/avformat.h> + + #include "containers.h" + #include "profiles.h" diff --git a/net/libdlna/patches/patch-ad b/net/libdlna/patches/patch-ad new file mode 100644 index 00000000000..226e3bc67bf --- /dev/null +++ b/net/libdlna/patches/patch-ad @@ -0,0 +1,15 @@ +$NetBSD: patch-ad,v 1.1.1.1 2010/05/23 08:03:18 obache Exp $ + +Adjust header file locations for ffmpeg changes. + +--- src/av_mpeg4_part10.c.orig 2007-11-26 20:47:43.000000000 +0000 ++++ src/av_mpeg4_part10.c +@@ -26,7 +26,7 @@ + #include <sys/stat.h> + #include <fcntl.h> + +-#include <ffmpeg/avcodec.h> ++#include <libavcodec/avcodec.h> + + #include "dlna_internals.h" + #include "profiles.h" diff --git a/net/libdlna/patches/patch-ae b/net/libdlna/patches/patch-ae new file mode 100644 index 00000000000..339157b6068 --- /dev/null +++ b/net/libdlna/patches/patch-ae @@ -0,0 +1,15 @@ +$NetBSD: patch-ae,v 1.1.1.1 2010/05/23 08:03:18 obache Exp $ + +Adjust header file locations for ffmpeg changes. + +--- src/av_mpeg4_part2.c.orig 2007-11-26 20:47:43.000000000 +0000 ++++ src/av_mpeg4_part2.c +@@ -26,7 +26,7 @@ + #include <sys/stat.h> + #include <fcntl.h> + +-#include <ffmpeg/avcodec.h> ++#include <libavcodec/avcodec.h> + + #include "dlna_internals.h" + #include "profiles.h" diff --git a/net/libdlna/patches/patch-af b/net/libdlna/patches/patch-af new file mode 100644 index 00000000000..b2da54d8192 --- /dev/null +++ b/net/libdlna/patches/patch-af @@ -0,0 +1,14 @@ +$NetBSD: patch-af,v 1.1.1.1 2010/05/23 08:03:18 obache Exp $ + +need stdlib.h for malloc(). + +--- src/upnp_dms.c.orig 2007-11-26 20:47:43.000000000 +0000 ++++ src/upnp_dms.c +@@ -20,6 +20,7 @@ + */ + + #include <stdio.h> ++#include <stdlib.h> + #include <string.h> + + #include "dlna_internals.h" |