desktop/bomi/PKGBUILD

49 lines
1.5 KiB
Bash
Raw Normal View History

2015-02-09 16:28:38 +08:00
pkgname=bomi
2018-05-25 06:34:11 +08:00
pkgver=0.9.11.r39.g5f0cc0a7
2018-07-11 04:17:36 +08:00
pkgrel=2
2015-02-09 16:28:38 +08:00
pkgdesc="Powerful and easy-to-use multimedia player"
arch=('x86_64')
url="http://bomi-player.github.io"
license=('GPL2')
screenshot='http://i.imgur.com/j76hzyd.png'
2015-03-31 07:39:36 +08:00
depends=('qt5-base' 'qt5-declarative' 'qt5-x11extras' 'qt5-quickcontrols' 'qt5-svg'
'libdvdread' 'libdvdnav' 'libcdio-paranoia' 'libcdio' 'smbclient'
2015-02-09 16:28:38 +08:00
'alsa-lib' 'libpulse' 'jack' 'libchardet' 'libbluray'
2015-04-21 23:58:50 +08:00
'libva' 'libgl' 'fribidi' 'libass' 'ffmpeg')
makedepends=('mesa' 'gcc' 'pkg-config' 'python3' 'qt5-tools')
2015-02-09 16:28:38 +08:00
optdepends=('libaacs: AACS decryption for Blu-ray support'
'libbdplus: BD+ decryption for Blu-ray support'
'youtube-dl: streaming website support including YouTube'
2015-02-15 21:27:09 +08:00
'yle-dl: rtmpdump frontend for Yle servers'
'mesa-vdpau: hardware acceleration for nvidia')
2015-02-09 16:28:38 +08:00
provides=('cmplayer')
replace=('cmplayer')
conflicts=('cmplayer' 'bomi-git')
2018-01-08 17:08:12 +08:00
source=(git+https://github.com/d-s-x/${pkgname}.git
qml_internal_types.patch)
2017-03-13 01:21:20 +08:00
md5sums=('SKIP'
2018-01-08 17:08:12 +08:00
'119bfa72cf4700c16c11c2b3ec8d8865')
2017-01-25 05:42:36 +08:00
2017-03-13 01:21:20 +08:00
pkgver() {
cd "$srcdir/$pkgname"
echo $(git describe --tags | sed -E 's/([^-]*-g)/r\1/;s/-/./g' | cut -c2-)
}
2017-01-25 05:42:36 +08:00
2015-02-09 16:28:38 +08:00
build() {
2017-03-13 01:21:20 +08:00
cd "$srcdir/$pkgname"
./configure --prefix=/usr \
--defaultskin=Breeze
2018-01-08 17:08:12 +08:00
# Temporary fix until the upstream is fixed.
if ! grep PlayInfoText ./src/bomi/imports/bomi/qmldir; then
patch -p1 -i "$srcdir/qml_internal_types.patch"
fi
2015-02-09 16:28:38 +08:00
make
}
package() {
2017-03-13 01:21:20 +08:00
cd "$srcdir/$pkgname"
2015-02-09 16:28:38 +08:00
make DEST_DIR=$pkgdir install
}