community/obconf-qt: update dependencies, enable on riscv64 and s390x

This commit is contained in:
mio 2024-09-13 21:21:26 +00:00 committed by Celeste
parent cbaa58baf5
commit ebf7e990e1
2 changed files with 21 additions and 7 deletions

View file

@ -1,20 +1,22 @@
# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
pkgname=obconf-qt
pkgver=0.16.4
pkgrel=0
pkgrel=1
pkgdesc="Qt port of obconf, the Openbox configuration tool"
url="https://github.com/lxqt/obconf-qt"
# s390x, riscv64: blocked by openbox
# *: blocked by lxqt
arch="all !s390x !armhf !riscv64"
# armhf: blocked by liblxqt
arch="all !armhf"
license="LGPL-2.0-or-later"
depends="gtk-update-icon-cache hicolor-icon-theme openbox"
makedepends="
cmake samurai lxqt-build-tools liblxqt-dev
qt5-qttools-dev openbox-dev
cmake samurai lxqt-build-tools qt6-qttools-dev liblxqt-dev
qt5-qttools-dev qt5-qtx11extras-dev openbox-dev
"
options="!check" # No testsuite
subpackages="$pkgname-lang"
source="https://github.com/lxqt/obconf-qt/releases/download/$pkgver/obconf-qt-$pkgver.tar.xz"
source="https://github.com/lxqt/obconf-qt/releases/download/$pkgver/obconf-qt-$pkgver.tar.xz
find-lxqt-build-tools.patch
"
build() {
if [ "$CBUILD" != "$CHOST" ]; then
@ -40,4 +42,5 @@ lang() {
sha512sums="
4f75a5275e14cd7e8f0abc1bfcd40b4d860d613bc37c06c0e68d6f622ed126dce2fea98b5dd8e629b5de472ab5e668a5b0af7f6621d09fcb0b2287a11b0fb662 obconf-qt-0.16.4.tar.xz
5cc4e7f4648891425af5da19b38131ccb89caaab7906b3b74806db611a1d53f1ba1502e498d5c1986bafcbd8b7b1b8a00c743c4c65a5f5be8561f22adc32b305 find-lxqt-build-tools.patch
"

View file

@ -0,0 +1,11 @@
--- obconf-qt-0.16.4-origin/CMakeLists.txt
+++ obconf-qt-0.16.4/CMakeLists.txt
@@ -31,7 +31,7 @@
find_package(Qt5LinguistTools ${QT_MINIMUM_VERSION} REQUIRED)
message(STATUS "Building with Qt${Qt5Core_VERSION}")
-find_package(lxqt-build-tools ${LXQTBT_MINIMUM_VERSION} REQUIRED)
+find_package(lxqt2-build-tools ${LXQTBT_MINIMUM_VERSION} REQUIRED)
find_package(GLIB ${GLIB_MINIMUM_VERSION} REQUIRED)