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

40 lines
1.4 KiB
Bash

# Template file for 'deepin-movie-reborn'
pkgname=deepin-movie-reborn
version=3.2.20
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=9a3e8b198f2e64a2cfdd94dbda7ce4538642bfb99f92bdf9dfd915390b62387c
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"
}
}