[arch-commits] Commit in kcalc/repos (6 files)

Antonio Rojas arojas at archlinux.org
Sat Jul 23 18:59:45 UTC 2016


    Date: Saturday, July 23, 2016 @ 18:59:45
  Author: arojas
Revision: 272414

archrelease: copy kde-unstable to kde-unstable-i686, kde-unstable-x86_64

Added:
  kcalc/repos/kde-unstable-i686/
  kcalc/repos/kde-unstable-i686/PKGBUILD
    (from rev 272413, kcalc/kde-unstable/PKGBUILD)
  kcalc/repos/kde-unstable-i686/kcalc-qt5.6.patch
    (from rev 272413, kcalc/kde-unstable/kcalc-qt5.6.patch)
  kcalc/repos/kde-unstable-x86_64/
  kcalc/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 272413, kcalc/kde-unstable/PKGBUILD)
  kcalc/repos/kde-unstable-x86_64/kcalc-qt5.6.patch
    (from rev 272413, kcalc/kde-unstable/kcalc-qt5.6.patch)

---------------------------------------+
 kde-unstable-i686/PKGBUILD            |   37 ++++++++++++++++++++++++++++++++
 kde-unstable-i686/kcalc-qt5.6.patch   |   11 +++++++++
 kde-unstable-x86_64/PKGBUILD          |   37 ++++++++++++++++++++++++++++++++
 kde-unstable-x86_64/kcalc-qt5.6.patch |   11 +++++++++
 4 files changed, 96 insertions(+)

Copied: kcalc/repos/kde-unstable-i686/PKGBUILD (from rev 272413, kcalc/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD	                        (rev 0)
+++ kde-unstable-i686/PKGBUILD	2016-07-23 18:59:45 UTC (rev 272414)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kcalc
+pkgver=16.07.80
+pkgrel=1
+pkgdesc='Scientific Calculator'
+url='http://kde.org/applications/utilities/kcalc/'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+depends=('kinit')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+conflicts=('kdeutils-kcalc')
+replaces=('kdeutils-kcalc')
+groups=('kde-applications' 'kdeutils')
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/kcalc-${pkgver}.tar.xz")
+sha1sums=('7e1435acd61ab6ba126ca223ac8eb39360bfffae')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DKDE_INSTALL_LIBDIR=lib
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: kcalc/repos/kde-unstable-i686/kcalc-qt5.6.patch (from rev 272413, kcalc/kde-unstable/kcalc-qt5.6.patch)
===================================================================
--- kde-unstable-i686/kcalc-qt5.6.patch	                        (rev 0)
+++ kde-unstable-i686/kcalc-qt5.6.patch	2016-07-23 18:59:45 UTC (rev 272414)
@@ -0,0 +1,11 @@
+--- kcalc-15.12.3/kcalc.cpp.orig	2016-03-16 16:26:37.327157522 +0000
++++ kcalc-15.12.3/kcalc.cpp	2016-03-16 16:28:08.533357025 +0000
+@@ -123,7 +123,7 @@
+ 
+ 	updateGeometry();
+ 
+-	setFixedSize(minimumSize());
++	if ( ! minimumSize().isEmpty() ) setFixedSize(minimumSize());
+ 
+ 	updateDisplay(UPDATE_FROM_CORE);
+ 

Copied: kcalc/repos/kde-unstable-x86_64/PKGBUILD (from rev 272413, kcalc/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2016-07-23 18:59:45 UTC (rev 272414)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kcalc
+pkgver=16.07.80
+pkgrel=1
+pkgdesc='Scientific Calculator'
+url='http://kde.org/applications/utilities/kcalc/'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+depends=('kinit')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+conflicts=('kdeutils-kcalc')
+replaces=('kdeutils-kcalc')
+groups=('kde-applications' 'kdeutils')
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/kcalc-${pkgver}.tar.xz")
+sha1sums=('7e1435acd61ab6ba126ca223ac8eb39360bfffae')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DKDE_INSTALL_LIBDIR=lib
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: kcalc/repos/kde-unstable-x86_64/kcalc-qt5.6.patch (from rev 272413, kcalc/kde-unstable/kcalc-qt5.6.patch)
===================================================================
--- kde-unstable-x86_64/kcalc-qt5.6.patch	                        (rev 0)
+++ kde-unstable-x86_64/kcalc-qt5.6.patch	2016-07-23 18:59:45 UTC (rev 272414)
@@ -0,0 +1,11 @@
+--- kcalc-15.12.3/kcalc.cpp.orig	2016-03-16 16:26:37.327157522 +0000
++++ kcalc-15.12.3/kcalc.cpp	2016-03-16 16:28:08.533357025 +0000
+@@ -123,7 +123,7 @@
+ 
+ 	updateGeometry();
+ 
+-	setFixedSize(minimumSize());
++	if ( ! minimumSize().isEmpty() ) setFixedSize(minimumSize());
+ 
+ 	updateDisplay(UPDATE_FROM_CORE);
+ 



More information about the arch-commits mailing list