blob: 4a38d03d35083e297aecaf841d8ed6e79609ef3d (
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
54
|
# Maintainer: Rodrigo Bezerra <rodrigobezerra21 at gmail dot com>
_basename=libde265
pkgname=lib32-libde265
pkgver=1.0.16
pkgrel=1
pkgdesc='Open h.265 video codec implementation (32-bit)'
arch=(x86_64)
url='https://github.com/strukturag/libde265'
license=(LGPL-3.0-or-later)
depends=(
lib32-gcc-libs
lib32-glibc
libde265
)
makedepends=(
git
)
source=(git+https://github.com/strukturag/libde265#tag=v$pkgver)
sha256sums=('103ad98bbfbee5e93011c5197c9106ce849e2479e3ce2a49edf5882b15654015')
prepare() {
cd $_basename
./autogen.sh
}
build() {
cd $_basename
export CC='gcc -m32'
export CXX='g++ -m32'
export PKG_CONFIG='/usr/bin/i686-pc-linux-gnu-pkg-config'
./configure \
--build=i686-pc-linux-gnu \
--prefix=/usr \
--libdir=/usr/lib32 \
--enable-static=no \
--disable-sherlock265
make
}
package() {
cd $_basename
make DESTDIR="$pkgdir" install
cd "$pkgdir/usr"
rm -r bin include
}
|