aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mlt/APKBUILD
blob: 4fbc0a1721d0d7fa75696486c807e2cb3130cac1 (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.4.1
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 swfdec-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="b5489e6f414d50a62eb578c65d6973e09a89502856f467034594740db6f19942be09f2c475cee898b50825617c9b7a0a142fda779f1428073550379515e6eac4  mlt-6.4.1.tar.gz
44045f433408ef5a38a0d190a625f5d1cb5fb959de7aec595c6b80981f3600c2b35b521ef6bd2eb6c90f38a13ff8276ea44896977b6cf66743d817c99260dffa  musl-locale.patch"