void-packages/srcpkgs/deepin-movie-reborn/template

39 lines
1.4 KiB
Bash

# Template file for 'deepin-movie-reborn'
pkgname=deepin-movie-reborn
version=3.2.24
revision=1
build_style=cmake
hostmakedepends="pkg-config qt5-host-tools qt5-qmake"
makedepends="dtkwidget-devel ffmpegthumbnailer-devel libdvdnav-devel mpv-devel
pulseaudio-devel qt5-declarative-devel qt5-plugin-mysql qt5-plugin-odbc
qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds qt5-svg-devel qt5-tools-devel
qt5-x11extras-devel xcb-util-wm-devel"
depends="qt5integration"
short_desc="Deepin Movie Player"
maintainer="John <johnz@posteo.net>"
license="GPL-3.0-or-later"
homepage="https://github.com/linuxdeepin/deepin-movie-reborn"
changelog="https://github.com/linuxdeepin/deepin-movie-reborn/blob/${version}/CHANGELOG.md"
distfiles="https://github.com/linuxdeepin/deepin-movie-reborn/archive/${version}.tar.gz"
checksum=428bac7d37e28aab33244de9e43c5b84d77e78f52ff192ff319fda46e5e7f64c
CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/libdtk-2.0.6/DWidget"
CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/libdtk-2.0.6/DCore"
CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/libdtk-2.0.6/DWm"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" dtkcore-devel"
fi
case $XBPS_TARGET_MACHINE in
arm*) broken="https://travis-ci.org/void-linux/void-packages/jobs/394936356";;
esac
deepin-movie-reborn-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/lib/pkgconfig
vmove usr/include
vmove "usr/lib/*.so"
}
}