blob: a8856bcf2fd71e0b6bf235e604d58c5238f6d7bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=gst-plugin-libde265_0.10
pkgver=0.1.11
pkgrel=0
pkgdesc="Libde265 gstreamer plugin"
url="https://github.com/strukturag/gstreamer-libde265"
arch="all"
license="LGPL"
depends=""
depends_dev="gstreamer0.10-dev gst-plugins-base0.10-dev gst-plugins-bad0.10-dev
bzip2-dev libde265-dev"
makedepends="$depends_dev"
install=""
subpackages=""
source="https://github.com/strukturag/gstreamer-libde265/releases/download/v$pkgver/gstreamer-libde265-$pkgver.tar.gz"
_builddir="$srcdir"/gstreamer-libde265-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
update_config_sub || return 1
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--enable-gstreamer0.10 \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="7d855cccc653f296ec0a2c3f3c216c9f gstreamer-libde265-0.1.11.tar.gz"
sha256sums="59e987e4ee985cc8b712936990c4d7a94d469d905d137f85f4ca5f7363d1d5b1 gstreamer-libde265-0.1.11.tar.gz"
sha512sums="66241bb956487db65fab903ab2bbee481fc7eb6859cfbbac4ea1c0422acaff23c312defdae83fd4e7615d4f09dcdf26c68887df96ddb1b6c350692a51df6e177 gstreamer-libde265-0.1.11.tar.gz"
|