Import bomi from CCR.

This commit is contained in:
Jeff Huang 2015-02-09 08:28:38 +00:00
parent 666ad7e2b3
commit ce4857d5e9
2 changed files with 57 additions and 0 deletions

45
bomi/PKGBUILD Normal file
View File

@ -0,0 +1,45 @@
# Maintainer: Jeff Huang <s8321414[at]gmail[dot]com>
# Original CCR Maintainer and Contributer:
# Maintainer: ahjolinna < ahjolinna@ovi.com>
# Contributor: xylosper <darklin20@gmail.com>
pkgname=bomi
pkgver=0.9.0
pkgrel=3
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'
provides=('cmplayer')
install=$pkgname.install
depends=('qt5-base' 'qt5-declarative' 'qt5-x11extras' 'qt5-quickcontrols' 'icu'
'libdvdread' 'libdvdnav' 'libcdio-paranoia' 'libcdio'
'alsa-lib' 'libpulse' 'jack' 'libchardet' 'libbluray'
'mpg123' 'libva' 'libgl' 'fribidi' 'libass' 'ffmpeg')
makedepends=('mesa' 'gcc' 'pkg-config' 'python3')
optdepends=('libaacs: AACS decryption for Blu-ray support'
'libbdplus: BD+ decryption for Blu-ray support'
'youtube-dl: streaming website support including YouTube'
'yle-dl: rtmpdump frontend for Yle servers')
provides=('cmplayer')
replace=('cmplayer')
conflicts=('cmplayer' 'bomi-git')
source=(https://github.com/xylosper/bomi/archive/v$pkgver.tar.gz)
md5sums=('67d252b27c6d3f771e9399b1c045f563')
#options=(debug !strip)
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr --enable-jack \
--enable-pulseaudio --enable-cdda \
--defaultskin=Breeze
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DEST_DIR=$pkgdir install
}

12
bomi/bomi.install Normal file
View File

@ -0,0 +1,12 @@
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
update-desktop-database -q
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}