mlt: update to 6.14.0.

This commit is contained in:
maxice8 2019-03-31 00:24:12 -03:00 committed by maxice8
parent 25e2f1a390
commit 6f638044ea
1 changed files with 9 additions and 6 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'mlt'
pkgname=mlt
version=6.12.0
version=6.14.0
revision=1
build_style=gnu-configure
configure_args="--enable-gpl --enable-gpl3 --disable-swfdec --without-kde
@ -17,7 +17,7 @@ maintainer="Diogo Leal <diogo@diogoleal.com>"
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=a4af6245f0d78f9b5d4bfdfd632d7f6a8a81e47c6eb7184fb1c040db747607ac
checksum=d387350f7bb7dd01efce3933c5ab7987b596e98bef7cc9c2349524d55a808b5e
CFLAGS+=" -DHAVE_STRTOD_L=1 -DHAVE_LOCALE_H=1"
CXXFLAGS+=" -DHAVE_STRTOD_L=1 -DHAVE_LOCALE_H=1"
@ -29,9 +29,9 @@ else
fi
do_configure() {
sed -i src/swig/python/build \
-e "s,PYTHON_INCLUDE=.*,PYTHON_INCLUDE=${XBPS_CROSS_BASE}/usr/include/python2.7," \
-e "s,python-config,${XBPS_CROSS_BASE}/usr/bin/python-config,"
vsed -i src/swig/python/build \
-e "s,PYTHON_INCLUDE=.*,PYTHON_INCLUDE=${XBPS_CROSS_BASE}/usr/include/python2.7," \
-e "s,python-config,${XBPS_CROSS_BASE}/usr/bin/python-config,"
# Enable or disable mmx, sse, sse2
case "${XBPS_TARGET_MACHINE}" in
@ -59,6 +59,7 @@ mlt-data_package() {
vmove usr/share/mlt
}
}
mlt-doc_package() {
short_desc+=" - documentation"
archs=noarch
@ -66,15 +67,17 @@ mlt-doc_package() {
vmove usr/share/doc
}
}
mlt-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
vmove "usr/lib/*.so"
}
}
mlt-python_package() {
lib32disabled=yes
short_desc+=" - Python bindings"