desktop/bomi/PKGBUILD

45 lines
1.4 KiB
Bash
Raw Normal View History

2015-02-09 16:28:38 +08:00
pkgname=bomi
2015-05-21 18:06:04 +08:00
pkgver=0.9.11
2017-01-25 05:42: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'
install=$pkgname.install
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')
2017-01-25 05:42:36 +08:00
source=(https://github.com/xylosper/bomi/archive/v$pkgver.tar.gz
'ffmpeg2.8.patch')
md5sums=('543c592f588c68d6f0c3cf254c288f58'
'7bb39aea99bb5c0f6607cda44edc11ae')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
patch -Np0 -i "$srcdir/ffmpeg2.8.patch"
}
2015-02-09 16:28:38 +08:00
build() {
cd "$srcdir/$pkgname-$pkgver"
2015-04-21 23:58:50 +08:00
./configure --prefix=/usr
2015-02-09 16:28:38 +08:00
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DEST_DIR=$pkgdir install
}