2015-09-14 05:31:35 +00:00
|
|
|
# Template file for 'bomi'
|
2015-09-12 21:51:51 +00:00
|
|
|
pkgname=bomi
|
|
|
|
version=0.9.11
|
2015-09-14 05:37:46 +00:00
|
|
|
revision=3
|
2015-09-14 05:31:35 +00:00
|
|
|
build_style=configure
|
2015-09-12 21:51:51 +00:00
|
|
|
short_desc="A powerful and easy-to-use Qt5 multimedia player"
|
|
|
|
maintainer="Jakub Skrzypnik <jot.skrzyp@gmail.com>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="https://bomi-player.github.io/"
|
|
|
|
hostmakedepends="pkg-config curl perl"
|
2015-09-14 05:31:35 +00:00
|
|
|
makedepends="qt5-devel MesaLib-devel ffmpeg-devel mpg123-devel libass-devel
|
|
|
|
libdvdread-devel libdvdnav-devel libbluray-devel icu55-devel libxcb-devel
|
|
|
|
xcb-util-wm-devel libva-devel libva-glx-devel alsa-lib-devel libvdpau-devel
|
|
|
|
qt5-tools-devel qt5-declarative-devel qt5-svg-devel qt5-x11extras-devel
|
|
|
|
fribidi-devel libcdio-devel libcdio-paranoia-devel pulseaudio-devel
|
|
|
|
samba-devel libchardet-devel"
|
2015-09-14 05:37:46 +00:00
|
|
|
depends="qt5-quickcontrols"
|
2015-09-12 21:51:51 +00:00
|
|
|
configure_args="--disable-systemd --release --prefix=/usr"
|
|
|
|
distfiles="https://github.com/xylosper/bomi/archive/v${version}.tar.gz"
|
|
|
|
checksum="c76ac45733cdafa7003bbc178e5a90a683df9aec30cd85f188bb17c7af9e282e"
|
2015-09-14 05:31:35 +00:00
|
|
|
|
|
|
|
pre_configure() {
|
2015-09-12 21:51:51 +00:00
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
*-musl) # There is no <sys/sysctl.h> in musl libc
|
|
|
|
sed -e "s;<sys/sysctl\.h>;<linux/sysctl.h>;" \
|
|
|
|
-i ${wrksrc}/src/bomi/os/x11.cpp
|
2015-09-14 05:31:35 +00:00
|
|
|
;;
|
2015-09-12 21:51:51 +00:00
|
|
|
esac
|
|
|
|
}
|
|
|
|
do_install() {
|
|
|
|
make DEST_DIR=${DESTDIR} install
|
|
|
|
}
|