[arch-commits] Commit in apper/repos/community-x86_64 (4 files)
Antonio Rojas
arojas at gemini.archlinux.org
Tue Feb 22 07:37:30 UTC 2022
Date: Tuesday, February 22, 2022 @ 07:37:30
Author: arojas
Revision: 1135775
archrelease: copy trunk to community-x86_64
Added:
apper/repos/community-x86_64/PKGBUILD
(from rev 1135774, apper/trunk/PKGBUILD)
apper/repos/community-x86_64/apper-rpath.patch
(from rev 1135774, apper/trunk/apper-rpath.patch)
Deleted:
apper/repos/community-x86_64/PKGBUILD
apper/repos/community-x86_64/apper-rpath.patch
-------------------+
PKGBUILD | 104 +++++++++++++++++++++++++---------------------------
apper-rpath.patch | 26 ++++++-------
2 files changed, 64 insertions(+), 66 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-22 07:37:19 UTC (rev 1135774)
+++ PKGBUILD 2022-02-22 07:37:30 UTC (rev 1135775)
@@ -1,53 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: BlackIkeEagle < ike DOT devolder AT gmail DOT com >
-# Contributor: Valeriy Lyasotskiy <onestep at ukr.net>
-# Contributor: Zom <zom at eevul.org>
-
-pkgname=apper
-pkgver=1.0.0
-pkgrel=4
-pkgdesc="An application and package manager using PackageKit"
-arch=(x86_64)
-url="https://www.kde.org/applications/system/apper/"
-license=(GPL)
-depends=(packagekit-qt5 kcmutils appstream-qt qt5-xmlpatterns)
-makedepends=(extra-cmake-modules kdoctools plasma-workspace)
-optdepends=('plasma-workspace: Updates daemon')
-source=("https://download.kde.org/stable/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig} apper-rpath.patch
- apper-qt5.11.patch::"https://cgit.kde.org/apper.git/patch/?id=d8960ea9"
- apper-qt5.14.patch::"https://cgit.kde.org/apper.git/patch/?id=1815d19f"
- kdebug-401461.patch::"https://cgit.kde.org/apper.git/patch/?id=d486706f")
-sha256sums=('1a30be92aab8bd258c2a8824f533c5646b934e06b4268edbd11724ea450f4923'
- 'SKIP'
- '17ce82a3f9ba8888febc5d2b2dc63e5c73d7be4b216e9110f0ca73050be0010d'
- '05d9f54d788256ec658cadec6571f3ec649ab3e82adb8daa2e7209aa9c1ff062'
- '1275d8af4d61d50e3d39a6507395bb4142572720937e9ebfe9679c69b53ce402'
- '2f66e12f40c68fb1b8c7a1d4fcf71adfdd4dceb9ecf0806c636fbf20d55e2154')
-validpgpkeys=(70C26659D184ABC01FFAF45228DDEDC6E4480AD0) # Daniel Nicoletti <dantti12 at gmail.com>
-
-prepare() {
- mkdir -p build
-
- cd $pkgname-$pkgver
- patch -p1 -i ../apper-rpath.patch # Fix RPATH of apper binary
- patch -p1 -i ../apper-qt5.11.patch # fix build with Qt 5.11
- patch -p1 -i ../apper-qt5.14.patch # fix build with Qt 5.14
- patch -p1 -i ../kdebug-401461.patch # fix crash
-}
-
-build() {
- cd build
-
- cmake ../$pkgname-$pkgver \
- -DCMAKE_INSTALL_LIBEXECDIR=lib \
- -DAPPSTREAM=ON
- make
-}
-
-package() {
- cd build
- make DESTDIR="$pkgdir" install
-
-# fix conflicts with gnome-software
- mv "$pkgdir"/usr/share/dbus-1/services/{,kde_}org.freedesktop.PackageKit.service
-}
Copied: apper/repos/community-x86_64/PKGBUILD (from rev 1135774, apper/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-02-22 07:37:30 UTC (rev 1135775)
@@ -0,0 +1,51 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: BlackIkeEagle < ike DOT devolder AT gmail DOT com >
+# Contributor: Valeriy Lyasotskiy <onestep at ukr.net>
+# Contributor: Zom <zom at eevul.org>
+
+pkgname=apper
+pkgver=1.0.0
+pkgrel=5
+pkgdesc='An application and package manager using PackageKit'
+arch=(x86_64)
+url='https://www.kde.org/applications/system/apper/'
+license=(GPL)
+depends=(packagekit-qt5 kcmutils appstream-qt qt5-xmlpatterns)
+makedepends=(extra-cmake-modules kdoctools plasma-workspace)
+optdepends=('plasma-workspace: Updates daemon')
+source=("https://download.kde.org/stable/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig} apper-rpath.patch
+ apper-qt5.11.patch::https://invent.kde.org/system/apper/-/commit/d8960ea9.patch
+ apper-qt5.14.patch::https://invent.kde.org/system/apper/-/commit/1815d19f.patch
+ kdebug-401461.patch::https://invent.kde.org/system/apper/-/commit/d486706f.patch
+ apper-qt5.15.patch::https://invent.kde.org/system/apper/-/commit/f2fb923e.patch)
+sha256sums=('1a30be92aab8bd258c2a8824f533c5646b934e06b4268edbd11724ea450f4923'
+ 'SKIP'
+ '17ce82a3f9ba8888febc5d2b2dc63e5c73d7be4b216e9110f0ca73050be0010d'
+ '667301c14bc6b4c83eaf78b5c5724f1a6cfe7f49aadd3a3fde2e3e1192f9374e'
+ 'a662281b518929c5ae1d91bc829d60a02a7cf20fb434a1a3809017c5dc971312'
+ 'fedc93b12289136b777d3b4441ce7997bea089c996463eec491328f2e6c1f390'
+ 'b91e81fc476c443f6e20920476f5907e5e1695e5551595b42b866607ba2bcb9c')
+validpgpkeys=(70C26659D184ABC01FFAF45228DDEDC6E4480AD0) # Daniel Nicoletti <dantti12 at gmail.com>
+options=(debug)
+
+prepare() {
+ patch -d $pkgname-$pkgver -p1 < apper-rpath.patch # Fix RPATH of apper binary
+ patch -d $pkgname-$pkgver -p1 < apper-qt5.11.patch # Fix build with Qt 5.11
+ patch -d $pkgname-$pkgver -p1 < apper-qt5.14.patch # Fix build with Qt 5.14
+ patch -d $pkgname-$pkgver -p1 < kdebug-401461.patch # Fix crash
+ patch -d $pkgname-$pkgver -p1 < apper-qt5.15.patch # Fix build with Qt 5.15
+}
+
+build() {
+ cmake -B build -S $pkgname-$pkgver \
+ -DCMAKE_INSTALL_LIBEXECDIR=lib \
+ -DAPPSTREAM=ON
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+
+# fix conflicts with gnome-software
+ mv "$pkgdir"/usr/share/dbus-1/services/{,kde_}org.freedesktop.PackageKit.service
+}
Deleted: apper-rpath.patch
===================================================================
--- apper-rpath.patch 2022-02-22 07:37:19 UTC (rev 1135774)
+++ apper-rpath.patch 2022-02-22 07:37:30 UTC (rev 1135775)
@@ -1,13 +0,0 @@
-diff --git a/Apper/CMakeLists.txt b/Apper/CMakeLists.txt
-index 2b71603..8c24305 100644
---- a/Apper/CMakeLists.txt
-+++ b/Apper/CMakeLists.txt
-@@ -49,7 +49,7 @@ target_link_libraries(apper
-
- set_target_properties(apper PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_FULL_LIBDIR}/apper)
-
--install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/apper DESTINATION ${CMAKE_INSTALL_BINDIR})
-+install(TARGETS apper DESTINATION ${CMAKE_INSTALL_BINDIR})
- install(FILES org.kde.apper.desktop DESTINATION ${CMAKE_INSTALL_APPDIR})
- install(FILES org.kde.apper_installer.desktop DESTINATION ${CMAKE_INSTALL_APPDIR})
- install(FILES org.kde.apper_settings.desktop DESTINATION ${CMAKE_INSTALL_APPDIR})
Copied: apper/repos/community-x86_64/apper-rpath.patch (from rev 1135774, apper/trunk/apper-rpath.patch)
===================================================================
--- apper-rpath.patch (rev 0)
+++ apper-rpath.patch 2022-02-22 07:37:30 UTC (rev 1135775)
@@ -0,0 +1,13 @@
+diff --git a/Apper/CMakeLists.txt b/Apper/CMakeLists.txt
+index 2b71603..8c24305 100644
+--- a/Apper/CMakeLists.txt
++++ b/Apper/CMakeLists.txt
+@@ -49,7 +49,7 @@ target_link_libraries(apper
+
+ set_target_properties(apper PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_FULL_LIBDIR}/apper)
+
+-install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/apper DESTINATION ${CMAKE_INSTALL_BINDIR})
++install(TARGETS apper DESTINATION ${CMAKE_INSTALL_BINDIR})
+ install(FILES org.kde.apper.desktop DESTINATION ${CMAKE_INSTALL_APPDIR})
+ install(FILES org.kde.apper_installer.desktop DESTINATION ${CMAKE_INSTALL_APPDIR})
+ install(FILES org.kde.apper_settings.desktop DESTINATION ${CMAKE_INSTALL_APPDIR})
More information about the arch-commits
mailing list