Date: Friday, January 7, 2011 @ 21:06:22
  Author: andrea
Revision: 105345

upgpkg: kdepim 4.5.94-1
upstream release; patched to build translations; kalarm does not build ATM

Added:
  kdepim/kde-unstable/fix-translations.patch
Modified:
  kdepim/kde-unstable/PKGBUILD

------------------------+
 PKGBUILD               |   17 +++++++++++------
 fix-translations.patch |   31 +++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2011-01-08 01:32:55 UTC (rev 105344)
+++ PKGBUILD    2011-01-08 02:06:22 UTC (rev 105345)
@@ -8,7 +8,7 @@
          'kdepim-blogilo'
          'kdepim-console'
          'kdepim-kaddressbook'
-         'kdepim-kalarm'
+#         'kdepim-kalarm'
          'kdepim-kjots'
          'kdepim-kleopatra'
          'kdepim-kmail'
@@ -20,8 +20,7 @@
          'kdepim-ktimetracker'
          'kdepim-libkdepim'
          'kdepim-wizards')
-pkgver=4.5.93
-_pkgver=4.6beta3
+pkgver=4.5.94
 pkgrel=1
 arch=('i686' 'x86_64')
 url='http://www.kde.org'
@@ -30,17 +29,23 @@
 makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost' 'kdepim-runtime' 'libxss'
        'pilot-link' 'kde-agent' 'docbook-xsl')
 
#source=("http://download.kde.org/unstable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2";)
-source=("http://download.kde.org/unstable/${pkgbase}/${pkgver}/${pkgbase}-${_pkgver}.tar.bz2";)
-sha1sums=('de9e1dcef1c25031dbdbad0bb68aee75852b02df')
+source=("http://download.kde.org/unstable/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.bz2";
+        'fix-translations.patch')
+sha1sums=('4e79e8dfd1bca2a57716e3c2546c9550fe95c9a2'
+        'eb54bbcb6cb1e2380580228b40919baafe7c2364')
 
 build() {
+    cd ${srcdir}/${pkgbase}-${pkgver}
+    patch -Np1 -i ${srcdir}/fix-translations.patch
+
        cd ${srcdir}
        mkdir build
        cd build
-       cmake ../${pkgbase}-${_pkgver} \
+       cmake ../${pkgbase}-${pkgver} \
                -DCMAKE_BUILD_TYPE=Release \
                -DCMAKE_SKIP_RPATH=ON \
                -DCMAKE_INSTALL_PREFIX=/usr \
+        -DBUILD_kalarm=OFF \
                -DKDEPIM_BUILD_MOBILE=OFF
        make
 }

Added: fix-translations.patch
===================================================================
--- fix-translations.patch                              (rev 0)
+++ fix-translations.patch      2011-01-08 02:06:22 UTC (rev 105345)
@@ -0,0 +1,31 @@
+--- kdepim-4.5.94/doc-translations/da_kdepim/CMakeLists.txt~   2011-01-07 
10:42:01.440058878 -0800
++++ kdepim-4.5.94/doc-translations/da_kdepim/CMakeLists.txt    2011-01-07 
10:42:07.336725552 -0800
+@@ -1,2 +1 @@
+-add_subdirectory(knode)
+ add_subdirectory(korganizer)
+--- kdepim-4.5.94/doc-translations/en_GB_kdepim/CMakeLists.txt~        
2011-01-07 10:49:34.213392475 -0800
++++ kdepim-4.5.94/doc-translations/en_GB_kdepim/CMakeLists.txt 2011-01-07 
10:49:38.770060062 -0800
+@@ -1,2 +1 @@
+ add_subdirectory(kalarm)
+-add_subdirectory(knode)
+--- kdepim-4.5.94/doc-translations/gl_kdepim/CMakeLists.txt~   2011-01-07 
10:54:42.620059446 -0800
++++ kdepim-4.5.94/doc-translations/gl_kdepim/CMakeLists.txt    2011-01-07 
10:54:46.216725611 -0800
+@@ -1,2 +1 @@
+ add_subdirectory(kmail)
+-add_subdirectory(knode)
+--- kdepim-4.5.94/doc-translations/fr_kdepim/CMakeLists.txt~   2011-01-07 
10:53:35.673391707 -0800
++++ kdepim-4.5.94/doc-translations/fr_kdepim/CMakeLists.txt    2011-01-07 
10:54:25.783391997 -0800
+@@ -1,6 +1,2 @@
+ add_subdirectory(akregator)
+ add_subdirectory(kabcclient)
+-add_subdirectory(kalarm)
+-add_subdirectory(kmail)
+-add_subdirectory(knode)
+-add_subdirectory(korganizer)
+--- kdepim-4.5.94/doc-translations/ru_kdepim/CMakeLists.txt~   2011-01-07 
10:56:17.573391995 -0800
++++ kdepim-4.5.94/doc-translations/ru_kdepim/CMakeLists.txt    2011-01-07 
10:56:22.026725552 -0800
+@@ -1,4 +1,3 @@
+ add_subdirectory(akregator)
+ add_subdirectory(kmail)
+-add_subdirectory(knode)
+ add_subdirectory(korganizer)

Reply via email to