wok-current view mlt-python-bindings/receipt @ rev 25019
updated openjpeg2 and openjpeg2-dev (2.3.1 -> 2.5.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed May 18 07:22:38 2022 +0100 (2022-05-18) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="mlt-python-bindings"
4 VERSION="6.14.0"
5 CATEGORY="multimedia"
6 MAINTAINER="jozee@slitaz.org"
7 SHORT_DESC="python bindings for MLT multimedia framework"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://www.mltframework.org/"
11 SOURCE="mlt"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/mltframework/$SOURCE/archive/refs/tags/v$VERSION.tar.gz"
15 DEPENDS="python mlt"
16 BUILD_DEPENDS="swig python-dev mlt"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src/src/swig/python
28 ./build
29 PYTHON_VERSION=$(python -c 'import sys; print sys.version[:3]')
30 mkdir -p $DESTDIR/usr/lib/python${PYTHON_VERSION}
31 cp -a $src/src/swig/python/mlt.py \
32 $DESTDIR/usr/lib/python${PYTHON_VERSION}
33 cp -a $src/src/swig/python/_mlt.so \
34 $DESTDIR/usr/lib/python${PYTHON_VERSION}
35 cp -a $src/src/swig/python/mlt_wrap.o \
36 $DESTDIR/usr/lib/python${PYTHON_VERSION}
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr
44 cp -a $install/usr/lib $fs/usr
45 }