mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 08:27:15 +08:00
Import bomi from CCR.
This commit is contained in:
parent
666ad7e2b3
commit
ce4857d5e9
45
bomi/PKGBUILD
Normal file
45
bomi/PKGBUILD
Normal 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
12
bomi/bomi.install
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user