diff options
author | Jeremy Olexa <darkside@gentoo.org> | 2009-12-23 22:03:54 +0000 |
---|---|---|
committer | Jeremy Olexa <darkside@gentoo.org> | 2009-12-23 22:03:54 +0000 |
commit | e660a1f23f237f45f271676f17c1607fd2100204 (patch) | |
tree | f518311f153bdb8206549eb705654a53e61c0989 /media-libs/libdlna | |
parent | Initial commit. (diff) | |
download | historical-e660a1f23f237f45f271676f17c1607fd2100204.tar.gz historical-e660a1f23f237f45f271676f17c1607fd2100204.tar.bz2 historical-e660a1f23f237f45f271676f17c1607fd2100204.zip |
Initial import. Many thanks to all the contributors on bug 204007. Moved from sunrise overlay
Package-Manager: portage-2.1.7.15/cvs/Linux x86_64
Diffstat (limited to 'media-libs/libdlna')
-rw-r--r-- | media-libs/libdlna/ChangeLog | 12 | ||||
-rw-r--r-- | media-libs/libdlna/Manifest | 5 | ||||
-rw-r--r-- | media-libs/libdlna/files/libdlna-0.2.3-libavcodec-libavformat-include-paths.patch | 89 | ||||
-rw-r--r-- | media-libs/libdlna/libdlna-0.2.3.ebuild | 40 | ||||
-rw-r--r-- | media-libs/libdlna/metadata.xml | 9 |
5 files changed, 155 insertions, 0 deletions
diff --git a/media-libs/libdlna/ChangeLog b/media-libs/libdlna/ChangeLog new file mode 100644 index 000000000000..89410f1cd2a9 --- /dev/null +++ b/media-libs/libdlna/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for media-libs/libdlna +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libdlna/ChangeLog,v 1.1 2009/12/23 22:03:53 darkside Exp $ + +*libdlna-0.2.3 (23 Dec 2009) + + 23 Dec 2009; Jeremy Olexa <darkside@gentoo.org> +libdlna-0.2.3.ebuild, + +files/libdlna-0.2.3-libavcodec-libavformat-include-paths.patch, + +metadata.xml: + Initial import. Many thanks to all the contributors on bug 204007. Moved + from sunrise overlay + diff --git a/media-libs/libdlna/Manifest b/media-libs/libdlna/Manifest new file mode 100644 index 000000000000..25428452a842 --- /dev/null +++ b/media-libs/libdlna/Manifest @@ -0,0 +1,5 @@ +AUX libdlna-0.2.3-libavcodec-libavformat-include-paths.patch 2551 RMD160 29b311c7e3122ab6d6ae4ec31c10f222e5e06060 SHA1 c9d55f9cb6b7da89549329b85f8cafaf5e087819 SHA256 b2bb3464d4fbd65a58b59d51edfec4667c9dbb5399facb7cac93dfe58918872a +DIST libdlna-0.2.3.tar.bz2 37142 RMD160 b6ef7cca1c661b95d3f8892ad99179fae9ddfbf4 SHA1 87159167610abde806a7addb8e425dbdc446856e SHA256 8eb7941cbae088026dd394fbe6f465cae6dd848edc430c6313f04cf57d1192b4 +EBUILD libdlna-0.2.3.ebuild 1025 RMD160 06ad52b4a9a47962d89abd08e9b6b214469d1bf9 SHA1 af27933b77dfb0fd18eb913a1f71f155478562dd SHA256 b528b38a9845c3845db1b6724f4f8ae512149690cd7dcc6954c09b8891e21077 +MISC ChangeLog 497 RMD160 d102f13ea68f21c115189a28c080747a52c16ea5 SHA1 458e99e84c6a24bb10e494845b46279b03e9b5a0 SHA256 21b8bd67f362b8d104d771d860dc1b5e829913e6807355c89adbedad284360b4 +MISC metadata.xml 229 RMD160 3a8e522635a6feb5a6d1789b4d2a8a57cd4d4410 SHA1 4bcf75a5c61ef2544c2be69ab04fb126e3c4b792 SHA256 3f4219555e18629cc5efb10260dc2850d8fe3f7942293c6be9fda5af5479c353 diff --git a/media-libs/libdlna/files/libdlna-0.2.3-libavcodec-libavformat-include-paths.patch b/media-libs/libdlna/files/libdlna-0.2.3-libavcodec-libavformat-include-paths.patch new file mode 100644 index 000000000000..8620ab2eb67f --- /dev/null +++ b/media-libs/libdlna/files/libdlna-0.2.3-libavcodec-libavformat-include-paths.patch @@ -0,0 +1,89 @@ +https://bugs.gentoo.org/show_bug.cgi?id=297872 +http://hg.geexbox.org/libdlna/raw-rev/4113a728a2ca + +From 81130b9ade274bfc53900999ccc6f963ae9ce9d7 Mon Sep 17 00:00:00 2001 +From: Jeremy Olexa <darkside@gentoo.org> +Date: Tue, 22 Dec 2009 00:22:42 -0600 +Subject: [PATCH] Update reference to ffmpeg header files + +--- + configure | 4 ++-- + src/av_mpeg4_part10.c | 2 +- + src/av_mpeg4_part2.c | 2 +- + src/containers.c | 2 +- + src/profiles.h | 4 ++-- + 5 files changed, 7 insertions(+), 7 deletions(-) + +diff --git a/configure b/configure +index 8acbd9d..85c1091 100755 +--- a/configure ++++ b/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/src/av_mpeg4_part10.c b/src/av_mpeg4_part10.c +index bd17022..f9c8ee5 100644 +--- a/src/av_mpeg4_part10.c ++++ b/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/src/av_mpeg4_part2.c b/src/av_mpeg4_part2.c +index 0148384..823e1b6 100644 +--- a/src/av_mpeg4_part2.c ++++ b/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/src/containers.c b/src/containers.c +index 71b51f7..ca0819b 100644 +--- a/src/containers.c ++++ b/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/src/profiles.h b/src/profiles.h +index 7b86d33..a7fc0fd 100644 +--- a/src/profiles.h ++++ b/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" +-- +1.6.4.4 + diff --git a/media-libs/libdlna/libdlna-0.2.3.ebuild b/media-libs/libdlna/libdlna-0.2.3.ebuild new file mode 100644 index 000000000000..51188b78698c --- /dev/null +++ b/media-libs/libdlna/libdlna-0.2.3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libdlna/libdlna-0.2.3.ebuild,v 1.1 2009/12/23 22:03:53 darkside Exp $ + +EAPI=2 +inherit eutils + +DESCRIPTION="A reference open-source implementation of DLNA (Digital Living Network Alliance) standards." +HOMEPAGE="http://libdlna.geexbox.org" +SRC_URI="http://libdlna.geexbox.org/releases/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/ffmpeg-0.5" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}/${P}-libavcodec-libavformat-include-paths.patch" +} + +src_configure() { + # I can't use econf + # --host is not implemented in ./configure file + ./configure \ + --prefix=/usr \ + || die "./configure failed" +} + +src_compile() { + # not parallel safe, error "cannot find -ldlna" + emake -j1 || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc README AUTHORS ChangeLog || die +} diff --git a/media-libs/libdlna/metadata.xml b/media-libs/libdlna/metadata.xml new file mode 100644 index 000000000000..a69cac58c33f --- /dev/null +++ b/media-libs/libdlna/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>media-video</herd> +<maintainer> + <email>darkside@gentoo.org</email> +</maintainer> + +</pkgmetadata> |