aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mlt/APKBUILD
blob: a752b9853bbfaf7f85c9f9df4c05eaffd7f3982d (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=mlt
pkgver=6.10.0
pkgrel=0
pkgdesc="MLT Multimedia Framework"
url="https://www.mltframework.org/"
arch="all !s390x" # depends on fftw which does not work on s390x
license="LGPL-2.1"
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 bsd-compat-headers"
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
	make
}

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

sha512sums="d0c353e961bb77a4ff952dd40f7f8dac37743e7027d6928b880a02ec65a98a42503e5de33275357ab256be8fa11ee2d7a53cbd2b1a7c777d711fef18980aa8c5  mlt-6.10.0.tar.gz
096ce8b8ac7e41540a8f83639335bd9021efaf2a8eb51a28e1a647a2ea586fa53f6d7eac21b077b3d530f178b842940dfd665cc128ec82b135bf0e4e915eed14  musl-locale.patch"