[arch-commits] Commit in ktorrent/repos (3 files)

Ronald van Haren ronald at archlinux.org
Tue Jun 2 05:46:15 EDT 2009


    Date: Tuesday, June 2, 2009 @ 05:46:15
  Author: ronald
Revision: 40999

Merged revisions 40978,40997 via svnmerge from 
svn+ssh://archlinux.org/srv/svn-packages/ktorrent/trunk

........
  r40978 | pierre | 2009-06-01 18:35:59 +0200 (Mon, 01 Jun 2009) | 1 line
  
  skip rpath and avoid unneeded linking
........
  r40997 | ronald | 2009-06-02 10:30:51 +0200 (Tue, 02 Jun 2009) | 2 lines
  
  upgpkg: ktorrent 3.2.2-1
      bump to latest version && compile with --as-needed
........

Modified:
  ktorrent/repos/extra-i686/	(properties)
  ktorrent/repos/extra-i686/PKGBUILD
  ktorrent/repos/extra-i686/ktorrent.install

------------------+
 PKGBUILD         |   10 ++++++----
 ktorrent.install |    1 +
 2 files changed, 7 insertions(+), 4 deletions(-)


Property changes on: ktorrent/repos/extra-i686
___________________________________________________________________
Modified: svnmerge-integrated
   - /ktorrent/trunk:1-36177
   + /ktorrent/trunk:1-40998

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2009-06-02 08:31:23 UTC (rev 40998)
+++ extra-i686/PKGBUILD	2009-06-02 09:46:15 UTC (rev 40999)
@@ -4,7 +4,7 @@
 # Contributor: Georg Grabler <ggrabler at gmail.com>
 
 pkgname=ktorrent
-pkgver=3.2.1
+pkgver=3.2.2
 pkgrel=1
 pkgdesc="A BitTorrent program for KDE"
 arch=('i686' 'x86_64')
@@ -16,9 +16,9 @@
 # 'kdebase-workspace' is needed to enable plasmoid building
 source=(http://ktorrent.org/downloads/$pkgver/${pkgname}-${pkgver}.tar.bz2 \
 	httpserver.patch)
-install=$pkgname.install
+install=${pkgname}.install
 options=('libtool')
-md5sums=('a013e070af30fe199d51910ebbdba5f5'
+md5sums=('409fc30dcb0d72fa3a6d3c3719db4199'
          '1f25b94615b0bbfa0457c99fb20de3e6')
 
 build() {
@@ -28,7 +28,9 @@
 	patch -Np0 -i ${srcdir}/httpserver.patch || return 1
 
 	cmake .	-DCMAKE_BUILD_TYPE=Release \
-		-DCMAKE_INSTALL_PREFIX=/usr 
+		-DCMAKE_INSTALL_PREFIX=/usr \
+		-DCMAKE_SKIP_RPATH=ON \
+		-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
 	make || return 1
 	make DESTDIR=${pkgdir} install 
 }

Modified: extra-i686/ktorrent.install
===================================================================
--- extra-i686/ktorrent.install	2009-06-02 08:31:23 UTC (rev 40998)
+++ extra-i686/ktorrent.install	2009-06-02 09:46:15 UTC (rev 40999)
@@ -1,5 +1,6 @@
 post_install() {
 	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+        update-mime-database usr/share/mime &> /dev/null
 }
 
 post_upgrade() {



More information about the arch-commits mailing list