desktop/musique/PKGBUILD

36 lines
1.1 KiB
Bash
Raw Normal View History

2011-10-26 22:36:36 +08:00
pkgname=musique
2017-02-04 02:21:54 +08:00
pkgver=1.5
2012-02-29 03:44:28 +08:00
pkgrel=1
2011-10-26 22:36:36 +08:00
pkgdesc="Just another music player, only better"
2014-11-25 16:59:39 +08:00
arch=('x86_64')
2011-10-26 22:36:36 +08:00
url="http://flavio.tordini.org/musique"
license=('GPL3')
2017-02-04 02:21:54 +08:00
depends=('qt5-base' 'desktop-file-utils' 'hicolor-icon-theme' 'phonon-qt5' 'taglib' 'sqlite3')
makedepends=('qt5-tools')
2011-10-26 22:36:36 +08:00
optdepends=('gstreamer0.10-plugins: for gstreamer backend'
2017-02-04 02:21:54 +08:00
'phonon-qt5-backend-gstreamer: gstreamer backend'
'phonon-qt5-backend-vlc: vlc backend')
conflicts=('musique-git')
2011-10-26 22:36:36 +08:00
replaces=('minitunes' 'minitunes-git')
categories=('multimedia')
2017-02-04 02:21:54 +08:00
source=("$pkgname-$pkgver.tar.gz::https://github.com/flaviotordini/musique/archive/$pkgver.tar.gz")
sha256sums=('82600f4e3d58900df1cc11acd77efbf11e8eac94f8c7382d57f953cadcd49d54')
2013-10-22 20:31:58 +08:00
prepare() {
2017-02-04 02:21:54 +08:00
cd ${pkgname}-$pkgver
2013-10-22 20:31:58 +08:00
# Disable GTK integration (will not build in Chakra otherwise).
sed -e "/Fall back to gconf/,+3d" -i src/main.cpp
}
2011-10-26 22:36:36 +08:00
build() {
2017-02-04 02:21:54 +08:00
cd ${pkgname}-$pkgver
qmake-qt5 PREFIX=/usr
2011-10-26 22:36:36 +08:00
}
package() {
2017-02-04 02:21:54 +08:00
cd ${pkgname}-$pkgver
2013-10-22 20:31:58 +08:00
make INSTALL_ROOT="${pkgdir}" install
2017-02-04 02:21:54 +08:00
# install icon
install -Dm644 "data/${pkgname}.svg" "${pkgdir}/usr/share/pixmaps/${pkgname}.svg"
2012-02-29 01:10:23 +08:00
}