[arch-commits] Commit in libdbusmenu-qt/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Wed May 1 09:10:16 UTC 2019


    Date: Wednesday, May 1, 2019 @ 09:10:15
  Author: arojas
Revision: 352338

Drop Qt4 support

Modified:
  libdbusmenu-qt/trunk/PKGBUILD

----------+
 PKGBUILD |   29 +++++------------------------
 1 file changed, 5 insertions(+), 24 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-01 09:04:13 UTC (rev 352337)
+++ PKGBUILD	2019-05-01 09:10:15 UTC (rev 352338)
@@ -2,19 +2,19 @@
 # Contributor: Andrea Scarpino <andrea at archlinux.org>
 
 pkgbase=libdbusmenu-qt
-pkgname=(libdbusmenu-qt4 libdbusmenu-qt5)
+pkgname=(libdbusmenu-qt5)
 pkgver=0.9.3+16.04.20160218
-pkgrel=2
+pkgrel=3
 pkgdesc="A library that provides a Qt implementation of the DBusMenu spec"
 arch=(x86_64)
 url="https://launchpad.net/libdbusmenu-qt"
 license=(GPL)
-makedepends=(cmake doxygen qjson qt4 qt5-base)
+makedepends=(cmake doxygen qt5-base)
 source=("http://archive.ubuntu.com/ubuntu/pool/main/libd/$pkgbase/${pkgbase}_$pkgver.orig.tar.gz")
-md5sums=('8b90312bd8654e026d814d4db986ce5e')
+sha256sums=('a8e6358a31c44ccdf1bfc46c95a77a6bfc7fc1f536aadb913ed4f4405c570cf6')
 
 prepare() {
-  mkdir -p build{-qt4,}
+  mkdir -p build
 }
 
 build() {
@@ -24,27 +24,8 @@
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_LIBDIR=lib
   make
-
-  cd ../build-qt4
-  cmake ../$pkgbase-$pkgver \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_LIBDIR=lib \
-    -DUSE_QT4=On
-  make  
 }
 
-package_libdbusmenu-qt4() {
-  pkgdesc="A library that provides a Qt4 implementation of the DBusMenu spec"
-  depends=(qt4)
-  conflicts=(libdbusmenu-qt)
-  provides=(libdbusmenu-qt)
-  replaces=(libdbusmenu-qt)
-
-  cd build-qt4
-  make DESTDIR="$pkgdir" install
-}
-
 package_libdbusmenu-qt5() {
   depends=(qt5-base)
 



More information about the arch-commits mailing list