[arch-commits] Commit in guayadeque/trunk (PKGBUILD)

Maxime Gauduin alucryd at nymeria.archlinux.org
Sun Jan 5 18:53:20 UTC 2014


    Date: Sunday, January 5, 2014 @ 19:53:20
  Author: alucryd
Revision: 103417

wxgtk rebuild: guayadeque 0.3.5-6

Modified:
  guayadeque/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++++++++++-------
 1 file changed, 15 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-01-05 18:44:58 UTC (rev 103416)
+++ PKGBUILD	2014-01-05 18:53:20 UTC (rev 103417)
@@ -5,12 +5,12 @@
 
 pkgname=guayadeque
 pkgver=0.3.5
-pkgrel=5
+pkgrel=6
 pkgdesc="Lightweight music player"
 arch=('i686' 'x86_64')
 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 @@
 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}
 
-# Build
-  ./build
+  rm -rf build
+  mkdir build && cd 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
 }
 




More information about the arch-commits mailing list