pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/libdlna Import libdlna-0.2.3 as net/libdlna.
details: https://anonhg.NetBSD.org/pkgsrc/rev/cd89a2bea621
branches: trunk
changeset: 575791:cd89a2bea621
user: obache <obache%pkgsrc.org@localhost>
date: Sun May 23 08:03:18 2010 +0000
description:
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:
net/libdlna/DESCR | 15 +++++++++++++++
net/libdlna/Makefile | 29 +++++++++++++++++++++++++++++
net/libdlna/PLIST | 7 +++++++
net/libdlna/buildlink3.mk | 15 +++++++++++++++
net/libdlna/distinfo | 11 +++++++++++
net/libdlna/patches/patch-aa | 18 ++++++++++++++++++
net/libdlna/patches/patch-ab | 17 +++++++++++++++++
net/libdlna/patches/patch-ac | 15 +++++++++++++++
net/libdlna/patches/patch-ad | 15 +++++++++++++++
net/libdlna/patches/patch-ae | 15 +++++++++++++++
net/libdlna/patches/patch-af | 14 ++++++++++++++
11 files changed, 171 insertions(+), 0 deletions(-)
diffs (215 lines):
diff -r a3a6921cdaa3 -r cd89a2bea621 net/libdlna/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libdlna/DESCR Sun May 23 08:03:18 2010 +0000
@@ -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 -r a3a6921cdaa3 -r cd89a2bea621 net/libdlna/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libdlna/Makefile Sun May 23 08:03:18 2010 +0000
@@ -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@localhost
+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 -r a3a6921cdaa3 -r cd89a2bea621 net/libdlna/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libdlna/PLIST Sun May 23 08:03:18 2010 +0000
@@ -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 -r a3a6921cdaa3 -r cd89a2bea621 net/libdlna/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libdlna/buildlink3.mk Sun May 23 08:03:18 2010 +0000
@@ -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 -r a3a6921cdaa3 -r cd89a2bea621 net/libdlna/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libdlna/distinfo Sun May 23 08:03:18 2010 +0000
@@ -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 -r a3a6921cdaa3 -r cd89a2bea621 net/libdlna/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libdlna/patches/patch-aa Sun May 23 08:03:18 2010 +0000
@@ -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 -r a3a6921cdaa3 -r cd89a2bea621 net/libdlna/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libdlna/patches/patch-ab Sun May 23 08:03:18 2010 +0000
@@ -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 -r a3a6921cdaa3 -r cd89a2bea621 net/libdlna/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libdlna/patches/patch-ac Sun May 23 08:03:18 2010 +0000
@@ -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 -r a3a6921cdaa3 -r cd89a2bea621 net/libdlna/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libdlna/patches/patch-ad Sun May 23 08:03:18 2010 +0000
@@ -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 -r a3a6921cdaa3 -r cd89a2bea621 net/libdlna/patches/patch-ae
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libdlna/patches/patch-ae Sun May 23 08:03:18 2010 +0000
@@ -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 -r a3a6921cdaa3 -r cd89a2bea621 net/libdlna/patches/patch-af
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libdlna/patches/patch-af Sun May 23 08:03:18 2010 +0000
@@ -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"
Home |
Main Index |
Thread Index |
Old Index