aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mlt/APKBUILD
blob: 98a6ab7dce9b90fbb19188088549c44c2e9bff6e (plain) (blame)
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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=mlt
pkgver=6.2.0
pkgrel=0
pkgdesc="MLT Multimedia Framework"
url="https://www.mltframework.org/"
arch="all"
license="LGPL-2.1"
depends=""
makedepends="python ffmpeg-dev libsamplerate-dev sox-dev jack-dev
	gtk+2.0-dev sdl_image-dev frei0r-plugins-dev libxml2-dev fftw-dev
	sdl-dev libexif-dev swfdec-dev bsd-compat-headers"
install=""
subpackages="$pkgname-dev"
source="https://github.com/mltframework/mlt/releases/download/v$pkgver/mlt-$pkgver.tar.gz
	musl-locale.patch
	"
builddir="$srcdir/mlt-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--avformat-swscale \
		--enable-motion-est \
		--enable-gpl \
		--enable-gpl3 \
		--disable-kde \
		--disable-rtaudio \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="cdbc5d1d686b75dd2b8fd14059bdd9d4  mlt-6.2.0.tar.gz
ddef5213a187f9f1b347f161faac5c44  musl-locale.patch"
sha256sums="5acdc8760cc28b19e9dc291f66cbe3faa2bc5e8d53e2de3ef543eb5be0feb9f4  mlt-6.2.0.tar.gz
92ded1c0cdf28c33f2457ac3a93f41a889cc42c987249c6947b59b50bd06b5aa  musl-locale.patch"
sha512sums="24f5bab7debb75c644cc60a840bb351526a80e9cdf9216c00a627856c39b632898a45c649a5de7bd8beb590e36ae6f31409e5bc7ae32074d87c1e49f55ba20fc  mlt-6.2.0.tar.gz
44045f433408ef5a38a0d190a625f5d1cb5fb959de7aec595c6b80981f3600c2b35b521ef6bd2eb6c90f38a13ff8276ea44896977b6cf66743d817c99260dffa  musl-locale.patch"