summaryrefslogtreecommitdiff
path: root/community/guayadeque/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/guayadeque/PKGBUILD')
-rwxr-xr-xcommunity/guayadeque/PKGBUILD24
1 files changed, 16 insertions, 8 deletions
diff --git a/community/guayadeque/PKGBUILD b/community/guayadeque/PKGBUILD
index 7d0863cec..7ef2cdb4d 100755
--- a/community/guayadeque/PKGBUILD
+++ b/community/guayadeque/PKGBUILD
@@ -1,16 +1,16 @@
-# $Id: PKGBUILD 86605 2013-03-20 15:17:37Z alucryd $
+# $Id: PKGBUILD 103795 2014-01-11 20:08:28Z eric $
# Maintainer: Maxime Gauduin <alucryd@gmail.com>
# Contributor: Sial <sial@cpan.org>
# Contributor: Martin Herndl <martin.herndl@gmail.com>
pkgname=guayadeque
pkgver=0.3.5
-pkgrel=5
+pkgrel=6
pkgdesc="Lightweight music player"
arch=('i686' 'x86_64' 'mips64el')
url="http://guayadeque.org/"
license=('GPL3')
-depends=('curl' 'dbus' 'desktop-file-utils' 'flac' 'libgpod' 'taglib' 'wxgtk')
+depends=('curl' 'desktop-file-utils' 'flac' 'libgpod' 'taglib' 'wxgtk2.8')
makedepends=('cmake')
optdepends=('gstreamer0.10-good-plugins: Support for additional file formats'
'gvfs: Support for external devices')
@@ -18,17 +18,25 @@ install=$pkgname.install
source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
sha256sums=('8281286a715731b567097238e1c0aaf962e052fbc7e2761b10f36407eb6ec4d5')
+prepare() {
+ cd ${pkgname}-${pkgver}/src
+
+ xgettext -d guayadeque -o guayadeque.pot -C --keyword=_ *.cpp
+ mv guayadeque.pot ../po
+}
+
build() {
- cd "${srcdir}"/${pkgname}-${pkgver}
+ cd ${pkgname}-${pkgver}
+
+ rm -rf build
+ mkdir build && cd build
-# Build
- ./build
+ cmake .. -DCMAKE_BUILD_TYPE='Release' -DCMAKE_INSTALL_PREFIX='/usr' -DwxWidgets_wxrc_EXECUTABLE='/usr/bin/wxrc-2.8' -DwxWidgets_CONFIG_EXECUTABLE='/usr/bin/wx-config-2.8'
}
package() {
- cd "${srcdir}"/${pkgname}-${pkgver}
+ cd ${pkgname}-${pkgver}/build
-# Install
make DESTDIR="${pkgdir}" install
}