[arch-commits] Commit in kdepim-runtime/kde-unstable (PKGBUILD disable-l10n.patch)

Andrea Scarpino andrea at archlinux.org
Sun Jan 30 09:43:31 EST 2011


    Date: Sunday, January 30, 2011 @ 09:43:30
  Author: andrea
Revision: 108227

upgpkg: kdepim-runtime 4.5.94.1-2
remove translations to fix conflicts (FS#22628)

Added:
  kdepim-runtime/kde-unstable/disable-l10n.patch
Modified:
  kdepim-runtime/kde-unstable/PKGBUILD

--------------------+
 PKGBUILD           |   13 +++++++++----
 disable-l10n.patch |   10 ++++++++++
 2 files changed, 19 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-30 14:33:18 UTC (rev 108226)
+++ PKGBUILD	2011-01-30 14:43:30 UTC (rev 108227)
@@ -4,7 +4,7 @@
 
 pkgname=kdepim-runtime
 pkgver=4.5.94.1
-pkgrel=1
+pkgrel=2
 pkgdesc='KDE PIM Runtime Environment'
 arch=('i686' 'x86_64')
 url='http://www.kde.org'
@@ -13,11 +13,16 @@
 makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost')
 install=${pkgname}.install
 #source=("http://download.kde.org/unstable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
-source=("http://download.kde.org/unstable/kdepim/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
-sha1sums=('f226165cd7f92524be354329097e5009b5754046')
+source=("http://download.kde.org/unstable/kdepim/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2"
+        'disable-l10n.patch')
+sha1sums=('f226165cd7f92524be354329097e5009b5754046'
+        '991d81435205185dcb2285a6e728f7756ae92b0d')
 
 build() {
-	cd $srcdir
+	cd "${srcdir}"/${pkgname}-${pkgver}
+    patch -Np0 -i ${srcdir}/disable-l10n.patch
+
+    cd "${srcdir}"
 	mkdir build
 	cd build
 	cmake ../${pkgname}-${pkgver} \

Added: disable-l10n.patch
===================================================================
--- disable-l10n.patch	                        (rev 0)
+++ disable-l10n.patch	2011-01-30 14:43:30 UTC (rev 108227)
@@ -0,0 +1,10 @@
+--- CMakeLists.txt~	2011-01-30 06:27:14.403350537 -0800
++++ CMakeLists.txt	2011-01-30 06:27:58.130017204 -0800
+@@ -192,7 +192,3 @@
+ update_xdg_mimetypes(${XDG_MIME_INSTALL_DIR})
+ 
+ macro_display_feature_log()
+-
+-find_package(Msgfmt REQUIRED)
+-find_package(Gettext REQUIRED)
+-add_subdirectory(po)



More information about the arch-commits mailing list