New package: qtav

Closes #9089.
This commit is contained in:
cr6git 2017-11-11 13:34:35 +01:00 committed by Enno Boland
parent cd30771a14
commit eea11f7ca6
2 changed files with 30 additions and 0 deletions

View File

@ -2716,6 +2716,8 @@ libCGAL.so.13 cgal-4.10_1
libCGAL_Core.so.13 cgal-4.10_1
libCGAL_ImageIO.so.13 cgal-4.10_1
libqscintilla2_qt5.so.13 qscintilla-qt5-2.10_1
libQtAVWidgets.so.1 qtav-1.12.0_1
libQtAV.so.1 qtav-1.12.0_1
liblxpanel.so.0 lxpanel-0.9.3_1
libuim.so.8 uim-1.8.6_1
libuim-scm.so.0 uim-1.8.6_1

28
srcpkgs/qtav/template Normal file
View File

@ -0,0 +1,28 @@
# Template file for 'qtav'
pkgname=qtav
version=1.12.0
revision=1
wrksrc="QtAV-${version}"
build_style=qmake
makedepends="ffmpeg-devel libass-devel libopenal-devel
libva-glx-devel libXv-devel pulseaudio-devel
qt5-declarative-devel qt5-svg-devel
qt5-quickcontrols"
depends="desktop-file-utils hicolor-icon-theme qt5-svg"
maintainer="cr6git <quark6@protonmail.com>"
short_desc="Cross-platform multimedia playback framework based on Qt and FFmpeg"
homepage="http://www.qtav.org"
license="LGPL-2.1, GPL-3"
distfiles="https://github.com/wang-bin/QtAV/archive/v${version}.tar.gz"
checksum=65ab859985d73521c2d17e72117baae0f3f6242b69f59994acada76fa5364193
case "$XBPS_TARGET_MACHINE" in
arm*|aarch64*) broken="This CPU does not support SSE2 / SSE4.1" ;;
esac
post_install() {
vmkdir usr/bin
ln -s /usr/lib/qt5/bin/Player ${DESTDIR}/usr/bin/Player
ln -s /usr/lib/qt5/bin/QMLPlayer ${DESTDIR}/usr/bin/QMLPlayer
}