[arch-commits] Commit in kbibtex/repos/community-x86_64 (4 files)

Antonio Rojas arojas at archlinux.org
Tue Dec 5 07:46:57 UTC 2017


    Date: Tuesday, December 5, 2017 @ 07:46:56
  Author: arojas
Revision: 272212

archrelease: copy trunk to community-x86_64

Added:
  kbibtex/repos/community-x86_64/PKGBUILD
    (from rev 272211, kbibtex/trunk/PKGBUILD)
  kbibtex/repos/community-x86_64/kbibtex-no-qtwebkit.patch
    (from rev 272211, kbibtex/trunk/kbibtex-no-qtwebkit.patch)
Deleted:
  kbibtex/repos/community-x86_64/PKGBUILD
  kbibtex/repos/community-x86_64/kbibtex-no-qtwebkit.patch

---------------------------+
 PKGBUILD                  |   78 +++++++++++++++++++++-----------------------
 kbibtex-no-qtwebkit.patch |   68 +++++++++++++++++++-------------------
 2 files changed, 72 insertions(+), 74 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-05 07:46:30 UTC (rev 272211)
+++ PKGBUILD	2017-12-05 07:46:56 UTC (rev 272212)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer: Ray Rashif <schiv at archlinux.org>
-# Contributor: Antonio Rojas <nqn1976 @ gmail.com>
-# Contributor: cmorlok <christianmorlok at web.de>
-
-pkgname=kbibtex
-pkgver=0.6.2
-pkgrel=1
-pkgdesc="A BibTeX editor for KDE"
-arch=('i686' 'x86_64')
-url='http://home.gna.org/kbibtex/'
-license=('GPL')
-depends=('kdebase-runtime' 'poppler-qt4')
-optdepends=('okular: Document preview')
-makedepends=('cmake' 'automoc4')
-source=("http://download.kde.org/stable/KBibTeX/$pkgname-$pkgver.tar.xz" kbibtex-no-qtwebkit.patch)
-md5sums=('5372f79e4ce0ee498e48aabdc377b114'
-         '73a6be6e48e0e9106f60b65ad07d73e6')
-
-prepare() {
-  cd $pkgname-$pkgver
-
-# Disable insecure qtwebkit
-  patch -p1 -i ../kbibtex-no-qtwebkit.patch
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-
-  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
-  make
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-
-  make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: kbibtex/repos/community-x86_64/PKGBUILD (from rev 272211, kbibtex/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-12-05 07:46:56 UTC (rev 272212)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: Antonio Rojas <nqn1976 @ gmail.com>
+# Contributor: cmorlok <christianmorlok at web.de>
+
+pkgname=kbibtex
+pkgver=0.7
+pkgrel=1
+pkgdesc="A BibTeX editor for KDE"
+arch=('x86_64')
+url='https://userbase.kde.org/KBibTeX'
+license=('GPL')
+depends=('kdebase-runtime' 'poppler-qt4')
+optdepends=('okular: Document preview')
+makedepends=('cmake' 'automoc4' 'qca-qt4')
+source=("https://download.kde.org/stable/KBibTeX/$pkgname-$pkgver.tar.xz"{,.asc})
+sha256sums=('5d3acdd7cd6da9cb8db23e46cd02b8a6648e516330b169d09a6b6ffe226f9a96'
+            'SKIP')
+validpgpkeys=('1808CB466328F4380685A3B1A264FD738D861F41') # Thomas Fischer <fischer at unix-ag.uni-kl.de>
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release
+  make
+}
+
+package() {
+  cd build
+
+  make DESTDIR="$pkgdir" install
+}

Deleted: kbibtex-no-qtwebkit.patch
===================================================================
--- kbibtex-no-qtwebkit.patch	2017-12-05 07:46:30 UTC (rev 272211)
+++ kbibtex-no-qtwebkit.patch	2017-12-05 07:46:56 UTC (rev 272212)
@@ -1,34 +0,0 @@
-diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index 04222a74..1485acc1 100644
---- a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -34,29 +34,6 @@ include(
- ##SET(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO} -pg")
- ##SET(CMAKE_CXX_FLAGS_DISTRIBUTION "${CMAKE_CXX_FLAGS_DISTRIBUTION} -pg")
- 
--# check if QtWebKit is available, which seems to be not available
--# on e.g. RedHat Enterprise Linux 6 or Scientific Linux 6
--if(
--    QT_QTWEBKIT_FOUND
--)
--    message(
--        STATUS
--        "Found QtWebKit, enabling WebKit support"
--    )
--    add_definitions(
--        -DHAVE_QTWEBKIT
--    )
--else(
--    QT_QTWEBKIT_FOUND
--)
--    message(
--        STATUS
--        "QtWebKit not found, disabling WebKit support"
--    )
--endif(
--    QT_QTWEBKIT_FOUND
--)
--
- add_definitions(
-     ${QT_DEFINITIONS}
-     ${KDE4_DEFINITIONS}

Copied: kbibtex/repos/community-x86_64/kbibtex-no-qtwebkit.patch (from rev 272211, kbibtex/trunk/kbibtex-no-qtwebkit.patch)
===================================================================
--- kbibtex-no-qtwebkit.patch	                        (rev 0)
+++ kbibtex-no-qtwebkit.patch	2017-12-05 07:46:56 UTC (rev 272212)
@@ -0,0 +1,34 @@
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 04222a74..1485acc1 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -34,29 +34,6 @@ include(
+ ##SET(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO} -pg")
+ ##SET(CMAKE_CXX_FLAGS_DISTRIBUTION "${CMAKE_CXX_FLAGS_DISTRIBUTION} -pg")
+ 
+-# check if QtWebKit is available, which seems to be not available
+-# on e.g. RedHat Enterprise Linux 6 or Scientific Linux 6
+-if(
+-    QT_QTWEBKIT_FOUND
+-)
+-    message(
+-        STATUS
+-        "Found QtWebKit, enabling WebKit support"
+-    )
+-    add_definitions(
+-        -DHAVE_QTWEBKIT
+-    )
+-else(
+-    QT_QTWEBKIT_FOUND
+-)
+-    message(
+-        STATUS
+-        "QtWebKit not found, disabling WebKit support"
+-    )
+-endif(
+-    QT_QTWEBKIT_FOUND
+-)
+-
+ add_definitions(
+     ${QT_DEFINITIONS}
+     ${KDE4_DEFINITIONS}



More information about the arch-commits mailing list