mlt7: remove conflictis with mlt-6.22.1

- remove usr/bin/melt symlink
- remove dublicated man page
- move docs to usr/share/mlt7
This commit is contained in:
John 2021-07-07 23:11:05 +02:00
parent 9ec6a6b734
commit 3f7f6372ff

View file

@ -1,13 +1,12 @@
# Template file for 'mlt'
pkgname=mlt7
version=7.0.1
revision=1
revision=2
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
@ -28,11 +27,11 @@ 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
vmkdir usr/share/doc/mlt-7/html
vcopy "docs/*.txt" usr/share/doc/mlt-7
vcopy "docs/html/*" usr/share/doc/mlt-7/html
rm ${DESTDIR}/usr/bin/melt
}
mlt7-data_package() {