desktop/musique/PKGBUILD

42 lines
1.3 KiB
Bash
Raw Normal View History

2011-10-26 22:36:36 +08:00
#
# Apps Packages for Chakra, part of chakra-project.org
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
# Contributor: arriagga <ramon.arriaga@gmail.com>
# Contributor: dieghen89 <dieghen89@gmail.com>
pkgname=musique
2014-11-25 16:59:39 +08:00
pkgver=1.4
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')
depends=('qt>=4.5' 'desktop-file-utils' 'hicolor-icon-theme' 'phonon' 'taglib' 'sqlite3')
optdepends=('gstreamer0.10-plugins: for gstreamer backend'
'phonon-gstreamer: gstreamer backend'
'phonon-mplayer-git: mplayer backend'
'phonon-vlc: vlc backend'
'phonon-xine: xine backend')
conflicts=('$pkgname-git')
replaces=('minitunes' 'minitunes-git')
categories=('multimedia')
2013-10-22 20:31:58 +08:00
source=("http://flavio.tordini.org/files/musique/${pkgname}-${pkgver}.tar.gz")
2014-11-25 16:59:39 +08:00
sha256sums=('08dfb4201aa0edc4b3fe4ef7788e618f754c3921f3a7c1cdce40ef3999760670')
2013-10-22 20:31:58 +08:00
prepare() {
cd ${pkgname}
# 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() {
2013-10-22 20:31:58 +08:00
cd ${pkgname}
2011-10-26 22:36:36 +08:00
qmake PREFIX=/usr
}
package() {
2013-10-22 20:31:58 +08:00
cd ${pkgname}
make INSTALL_ROOT="${pkgdir}" install
install -Dm644 "${srcdir}/${pkgname}/data/128x128/${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
2012-02-29 01:10:23 +08:00
}