diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-25 15:26:24 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-25 15:26:24 +0200 |
commit | b6af1e02efe594039707cd882517663d5370f375 (patch) | |
tree | ff9c2d55873e051e82972ba64c017352d3a75d34 /unmaintained/libdlna | |
parent | a71346b7acebc600960a98c84fb32cfd72fe864b (diff) | |
download | aports-b6af1e02efe594039707cd882517663d5370f375.tar.bz2 aports-b6af1e02efe594039707cd882517663d5370f375.tar.xz |
testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been
updated for atleast 6 months. If you are affected by this commit please follow
this proceddure:
* make sure your packages build on all architectures
* move your pacakge(s) back to testing
* if you want to keep this package and can maintain it (or find somebody to
maintain it for you) for a minimum of 6 months ask it to be moved to community
Diffstat (limited to 'unmaintained/libdlna')
-rw-r--r-- | unmaintained/libdlna/APKBUILD | 47 | ||||
-rw-r--r-- | unmaintained/libdlna/avmedia_type.patch | 18 |
2 files changed, 65 insertions, 0 deletions
diff --git a/unmaintained/libdlna/APKBUILD b/unmaintained/libdlna/APKBUILD new file mode 100644 index 0000000000..bc0a22da1e --- /dev/null +++ b/unmaintained/libdlna/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: Ćukasz Jendrysik <scadu@yandex.com> +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: Francesco Colista <francesco.colista@gmail.com> +pkgname=libdlna +pkgver=0.2.4 +pkgrel=2 +pkgdesc="An open-source implementation of DLNA (Digital Living Network Alliance) standards" +url="http://libdlna.geexbox.org" +arch="all" +license="LGPL" +depends="ctags" +depends_dev="ffmpeg-dev" +makedepends="$depends_dev" +subpackages="$pkgname-dev" +source="http://libdlna.geexbox.org/releases/$pkgname-$pkgver.tar.bz2" +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done + + sed -i -e 's/cat -n/cat/' configure + sed -i 's|ffmpeg/avformat.h|libavformat/avformat.h|' \ + ./configure src/profiles.h src/*.c || return 1 + sed -i 's|ffmpeg/avcodec.h|libavcodec/avcodec.h|' \ + ./configure src/profiles.h src/*.c || return 1 + +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --includedir=/usr/include/libavformat \ + --with-ffmpeg-dir=/usr/lib \ + --disable-static + make lib || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="64d7de57aff5a729f2434fc5e69b4ffc libdlna-0.2.4.tar.bz2" diff --git a/unmaintained/libdlna/avmedia_type.patch b/unmaintained/libdlna/avmedia_type.patch new file mode 100644 index 0000000000..b4caa1892e --- /dev/null +++ b/unmaintained/libdlna/avmedia_type.patch @@ -0,0 +1,18 @@ +--- ./src/profiles.c.orig ++++ ./src/profiles.c +@@ -205,13 +205,13 @@ + for (i = 0; i < ctx->nb_streams; i++) + { + if (audio_stream == -1 && +- ctx->streams[i]->codec->codec_type == CODEC_TYPE_AUDIO) ++ ctx->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO) + { + audio_stream = i; + continue; + } + else if (video_stream == -1 && +- ctx->streams[i]->codec->codec_type == CODEC_TYPE_VIDEO) ++ ctx->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO) + { + video_stream = i; + continue; |