blob: a020a6590dc1b86ed6c7e44d2a1ae00863a55cab (
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
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=vlc-libde265
pkgver=0.1.6
pkgrel=0
pkgdesc=" Standalone plugin for VLC 2.x to support decoding of HEVC/H.265 using libde265"
url="https://github.com/strukturag/vlc-libde265"
arch="all"
license="LGPL"
depends=""
depends_dev="vlc-dev libde265-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="https://github.com/strukturag/vlc-libde265/releases/download/$pkgver/vlc-libde265-$pkgver.tar.gz"
_builddir="$srcdir"/vlc-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 \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="559567e11a717f8ddbf04dbb9265de8d vlc-libde265-0.1.6.tar.gz"
sha256sums="33c7e031f2b4dea08e31086803f64d190068a86c6235b17f94f600f161176010 vlc-libde265-0.1.6.tar.gz"
sha512sums="fdf9d78696879f6194c0767163f7843c57e57cc8d5ecfa2e0753607b5a1c81b428b29f584644196759bf64de6f8d8f3331339420c49e2035aa18b679db541c8d vlc-libde265-0.1.6.tar.gz"
|