Last active
December 18, 2015 12:29
-
-
Save rejuvyesh/5782743 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: James Thomas <dairy_water at yahoo dot co dot uk> | |
# Contributor: Anton Larionov <diffident dot cat at gmail dot com> | |
_pkgname=cantata | |
pkgname="${_pkgname}-qt" | |
pkgver=1.0.3 | |
pkgrel=1 | |
pkgdesc="QT4 client for the music player daemon (MPD) (without kdelibs)" | |
arch=('i686' 'x86_64') | |
url="https://code.google.com/p/cantata/" | |
license=('GPL') | |
depends=('qtwebkit' 'taglib' 'ffmpeg' 'mpg123' 'qt5-tools' 'phonon') | |
optdepends=('libmtp: to support MTP devices' | |
'oxygen-icons: to fill in otherwise missing icons') | |
makedepends=('cmake' 'automoc4') | |
provides=('cantata') | |
conflicts=('cantata') | |
install=${pkgname}.install | |
source=("http://cantata.googlecode.com/files/${_pkgname}-${pkgver}.tar.bz2") | |
build() { | |
cd "${srcdir}/${_pkgname}-${pkgver}" | |
mkdir build | |
cd build | |
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_KDE=OFF -DQT_QMAKE_EXECUTABLE=qmake-qt5 -DENABLE_QT5=ON | |
make | |
} | |
package() { | |
cd "${srcdir}/${_pkgname}-${pkgver}/build" | |
make DESTDIR=${pkgdir} install | |
} | |
md5sums=('fd942d25127a7936efaf1fe887d66189') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment