parent
dc7b92c071
commit
7c63f9a496
2 changed files with 76 additions and 0 deletions
|
@ -2133,3 +2133,6 @@ libsybdb.so.5 freetds-0.95.19_1
|
|||
libqqwing.so.2 qqwing-1.3.4_1
|
||||
libiniparser.so.0 iniparser-4.0_1
|
||||
libzita-resampler.so.1 zita-resampler-1.3.0_1
|
||||
libmlt.so.6 mlt-0.9.6_1
|
||||
libmlt++.so.3 mlt-0.9.6_1
|
||||
|
||||
|
|
73
srcpkgs/mlt/template
Normal file
73
srcpkgs/mlt/template
Normal file
|
@ -0,0 +1,73 @@
|
|||
# Template file for 'mlt'
|
||||
pkgname=mlt
|
||||
version=0.9.6
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-gpl --enable-gpl3"
|
||||
hostmakedepends="doxygen pkg-config ladspa-sdk"
|
||||
# XXX: frei0r movit swfdec 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"
|
||||
depends="mlt-data ladspa-sdk-example-plugins"
|
||||
short_desc="Multimedia framework, designed for television broadcasting"
|
||||
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
||||
license="GPL-3"
|
||||
homepage="http://mltframework.org/"
|
||||
distfiles="${SOURCEFORGE_SITE}/project/${pkgname}/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||
checksum=ab999992828a03dadbf62f6a131aada776cfd7afe63a94d994877fdba31a3000
|
||||
|
||||
if [ -n "$CROSS_BUILD" ]; then
|
||||
make_build_args="CROSS=${XBPS_CROSS_TRIPLET}-"
|
||||
else
|
||||
makedepends+=" qt5-devel qt5-svg-devel"
|
||||
configure_args+=" --qt-libdir=${XBPS_CROSS_BASE}/usr/lib"
|
||||
configure_args+=" --qt-includedir=${XBPS_CROSS_BASE}/usr/include/qt5"
|
||||
configure_args+=" --without-kde"
|
||||
fi
|
||||
|
||||
do_configure() {
|
||||
# Enable or disable mmx, sse, sse2
|
||||
case "${XBPS_TARGET_MACHINE}" in
|
||||
x86_64*|i686*)
|
||||
configure_args+=" --enable-mmx"
|
||||
;;
|
||||
*)
|
||||
configure_args+=" --disable-mmx --disable-sse --disable-sse2"
|
||||
;;
|
||||
esac
|
||||
./configure ${configure_args}
|
||||
}
|
||||
|
||||
post_build() {
|
||||
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
|
||||
}
|
||||
|
||||
mlt-data_package() {
|
||||
short_desc+=" - data files"
|
||||
noarch=yes
|
||||
pkg_install() {
|
||||
vmove usr/share/mlt
|
||||
}
|
||||
}
|
||||
|
||||
mlt-docs_package() {
|
||||
short_desc+=" - documentation"
|
||||
noarch=yes
|
||||
pkg_install() {
|
||||
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"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue