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

Sergej Pupykin spupykin at archlinux.org
Wed Nov 19 17:12:43 UTC 2014


    Date: Wednesday, November 19, 2014 @ 18:12:43
  Author: spupykin
Revision: 122771

upgpkg: ripperx 2.8.0-1

upd

Modified:
  ripperx/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++++++++----------
 1 file changed, 14 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-11-19 16:51:19 UTC (rev 122770)
+++ PKGBUILD	2014-11-19 17:12:43 UTC (rev 122771)
@@ -3,18 +3,18 @@
 # Maintainer: dorphell <dorphell at archlinux.org>
 
 pkgname=ripperx
-pkgver=2.7.3
-pkgrel=5
+pkgver=2.8.0
+pkgrel=1
 pkgdesc="GTK program to rip and encode mp3 files"
 arch=(i686 x86_64)
 url="http://ripperx.sourceforge.net/"
-depends=('gtk2' 'id3lib')
+depends=('gtk2' 'taglib')
 license=('GPL')
-source=(http://downloads.sourceforge.net/ripperx/ripperX-$pkgver.tar.gz)
-md5sums=('f07c55edf08a1cd57537f1b9379b4e4d')
+source=(http://downloads.sourceforge.net/project/ripperx/ripperx/$pkgver/ripperx-$pkgver.tar.bz2)
+md5sums=('51ac9ec0fddef9d2e951232a60d23bcd')
 
 prepare() {
-  cd $srcdir/ripperX-$pkgver
+  cd $srcdir/ripperx-$pkgver
   sed -i 's|Icon=.*|Icon=ripperX.xpm|g' ripperX.desktop
   echo "Categories=GTK;GNOME;AudioVideo;DiscBurning;" >>ripperX.desktop
   patch ripperX.pc.in <<EOF
@@ -22,17 +22,21 @@
 3a4
 > includedir=@includedir@
 EOF
+  sed -i 's/.*gtk_cpp_workaround.h.*//g' \
+    src/config_window_handler.c \
+    src/select_frame_handler.c \
+    src/status_frame_handler.c
 }
 
 build() {
-  cd $srcdir/ripperX-$pkgver
-  LDFLAGS=-lm ./configure --prefix=/usr
+  cd $srcdir/ripperx-$pkgver
+  CFLAGS="-fpermissive" ./configure --prefix=/usr
   make
 }
 
 package() {
-  cd $srcdir/ripperX-$pkgver
+  cd $srcdir/ripperx-$pkgver
   make DESTDIR=$pkgdir install
   install -Dm0644 ripperX.desktop $pkgdir/usr/share/applications/ripperX.desktop
-  install -Dm0644 ripperX.xpm $pkgdir/usr/share/icons/ripperX.xpm
+  install -Dm0644 src/xpms/ripperX-icon.xpm $pkgdir/usr/share/icons/ripperX.xpm
 }


More information about the arch-commits mailing list