# Maintainer: Taegil Bae # Contributor: Ben Reedy # Contributor: xylosper # Contributor: Kaan Kasım _pkgbase=bomi pkgname=$_pkgbase-git pkgver=0.9.11.r59.g28e54164 pkgrel=1 pkgdesc="Powerful and easy-to-use GUI multimedia player based on mpv (git version)" arch=('i686' 'x86_64') url="http://bomi-player.github.io" license=('GPL') depends=('qt5-base' 'qt5-declarative' 'qt5-x11extras' 'qt5-quickcontrols' 'qt5-svg' 'libdvdread' 'libdvdnav' 'libcdio-paranoia' 'libcdio' 'smbclient' 'alsa-lib' 'libpulse' 'jack' 'libchardet' 'libbluray' 'libva' 'libvdpau' 'libgl' 'fribidi' 'libass' 'ffmpeg' 'xdg-utils') makedepends=('git' 'mesa' 'gcc' 'pkg-config' 'python' 'qt5-tools') optdepends=('libva-intel-driver: hardware acceleration support for Intel GPU' 'mesa-vdpau: hardware acceleration support for AMD/NVIDIA opensource driver' 'youtube-dl: streaming website support including YouTube' 'libaacs: AACS decryption for Blu-ray support' 'libbdplus: BD+ decryption for Blu-ray support') provides=('bomi') conflicts=('cmplayer' 'bomi') source=(git+https://github.com/demokritos/${_pkgbase}.git) md5sums=('SKIP') #options=(debug !strip) pkgver() { cd "$srcdir/$_pkgbase" echo $(git describe --tags | sed -E 's/([^-]*-g)/r\1/;s/-/./g' | cut -c2-) } prepare() { cd "$srcdir/$_pkgbase" ./configure --prefix=/usr } build() { cd "$srcdir/$_pkgbase" make } package() { cd "$srcdir/$_pkgbase" make DEST_DIR="$pkgdir" install }