New package: mlt7-7.0.1

This commit is contained in:
John 2021-07-07 20:37:26 +02:00
parent 3bc66d030c
commit 9ec6a6b734
6 changed files with 75 additions and 0 deletions

View file

@ -2416,6 +2416,8 @@ libiniparser.so.1 iniparser-4.1_1
libzita-resampler.so.1 zita-resampler-1.3.0_1
libmlt.so.6 mlt-6.4.1_1
libmlt++.so.3 mlt-6.4.1_1
libmlt++-7.so.7 mlt7-7.0.1_1
libmlt-7.so.7 mlt7-7.0.1_1
libunibilium.so.4 unibilium-2.0.0_1
libtermkey.so.1 libtermkey-0.17_1
libicu4lua.so.0 icu4lua-0.2B_1

1
srcpkgs/mlt7-data Symbolic link
View file

@ -0,0 +1 @@
mlt7

1
srcpkgs/mlt7-devel Symbolic link
View file

@ -0,0 +1 @@
mlt7

1
srcpkgs/mlt7-doc Symbolic link
View file

@ -0,0 +1 @@
mlt7

1
srcpkgs/mlt7-python3 Symbolic link
View file

@ -0,0 +1 @@
mlt7

69
srcpkgs/mlt7/template Normal file
View file

@ -0,0 +1,69 @@
# Template file for 'mlt'
pkgname=mlt7
version=7.0.1
revision=1
wrksrc="mlt-${version}"
build_style=cmake
configure_args="-DMOD_OPENCV=ON -DSWIG_PYTHON=ON"
hostmakedepends="doxygen pkg-config ladspa-sdk swig python3 which
qt5-host-tools qt5-qmake"
# XXX: movit vid.stab
makedepends="alsa-lib-devel ffmpeg-devel gtk+-devel jack-devel ladspa-sdk
libexif-devel libsamplerate-devel libxml2-devel sox-devel SDL_image-devel
fftw-devel frei0r-plugins python3-devel pulseaudio-devel movit-devel
libvidstab-devel libatomic-devel qt5-svg-devel libopencv4-devel"
depends="mlt7-data>=${version}_${revision} ladspa-sdk-example-plugins"
short_desc="Multimedia framework, designed for television broadcasting"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later, LGPL-2.1-or-later"
homepage="https://mltframework.org/"
distfiles="https://github.com/mltframework/mlt/archive/v${version}.tar.gz"
checksum=b68c88d9ad91889838186188cce938feee8b63e3755a3b6fb45dc9c2ae0c5ecd
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi
CFLAGS="-DHAVE_LOCALE_H=1"
CXXFLAGS="-DHAVE_LOCALE_H=1"
post_install() {
vman docs/melt.1
doxygen -u && doxygen
vmkdir usr/share/doc/mlt/html
vcopy "docs/*.txt" usr/share/doc/mlt
vcopy "docs/html/*" usr/share/doc/mlt/html
}
mlt7-data_package() {
short_desc+=" - data files"
pkg_install() {
vmove usr/share/mlt-7
}
}
mlt7-doc_package() {
short_desc+=" - documentation"
pkg_install() {
vmove usr/share/doc
}
}
mlt7-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
mlt7-python3_package() {
lib32disabled=yes
short_desc+=" - Python bindings"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove ${py3_lib}
}
}