blob: 474041d18c081083ea16a190deb040c868624194 (
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
55
56
57
58
59
60
61
62
63
64
|
# Maintainer: b6b <b6bb at pm dot me>
pkgname=l-smash-x264-tmod-git
pkgver=v2.14.5.21.g18a9ed2
pkgrel=1
pkgdesc='MP4 muxer and other tools (git version with support for compiling x264-tmod)'
arch=(x86_64)
url=http://l-smash.github.io/l-smash
license=(custom)
depends=(
glibc
)
makedepends=(
git
)
provides=(
l-smash
liblsmash.so
)
conflicts=(
l-smash
)
source=(
git+https://github.com/l-smash/l-smash.git
https://gist.githubusercontent.com/b6b/817262540eb2348c35b4c5592317d49f/raw/b4dcb1773713943187b58c2796aa7c3b379b9e8c/x264-tmod.patch
)
sha256sums=(
SKIP
2c0d80a45b0d2f7b2628b9bf32fef4261c39a3b46c91769f32771ca0fc2ce410
)
prepare() {
cd l-smash
patch -i "${srcdir}"/x264-tmod.patch
}
pkgver() {
cd l-smash
echo "$(git describe --long --tags | tr - .)"
}
build() {
cd l-smash
./configure \
--prefix=/usr \
--enable-shared \
--disable-static \
--extra-cflags="$CFLAGS" \
--extra-ldflags="$LDFLAGS"
make
}
package() {
cd l-smash
make DESTDIR="${pkgdir}" install
install -dm 755 "${pkgdir}"/usr/share/licenses/l-smash
install -m 644 LICENSE "${pkgdir}"/usr/share/licenses/l-smash/
}
|