aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-06-22 15:32:21 +0200
committerBart Ribbers <bribbers@disroot.org>2021-06-22 15:32:31 +0200
commit84bdd4c515614928bfd6b2edcb2c6f159837ccb1 (patch)
treead097c98a5d8d8a23dcb9ee52e9e852969ba4f60
parent263bb2b7cedae2288988b22d1ffc1169ba29f1f2 (diff)
downloadaports-84bdd4c515614928bfd6b2edcb2c6f159837ccb1.tar.gz
aports-84bdd4c515614928bfd6b2edcb2c6f159837ccb1.tar.bz2
aports-84bdd4c515614928bfd6b2edcb2c6f159837ccb1.tar.xz
community/corefm: disable on riscv64 and modernize
-rw-r--r--community/corefm/APKBUILD20
1 files changed, 12 insertions, 8 deletions
diff --git a/community/corefm/APKBUILD b/community/corefm/APKBUILD
index 1f335c515e..2ffb11afaf 100644
--- a/community/corefm/APKBUILD
+++ b/community/corefm/APKBUILD
@@ -2,26 +2,30 @@
# Maintainer: rahmanshaber <rahmanshaber@yahoo.com>
pkgname=corefm
pkgver=4.2.0
-pkgrel=0
+pkgrel=1
pkgdesc="A lightweight file-manager from C-Suite"
-arch="all !armhf !s390x !mips64" # missing qtdeclarative, polkit
+# armhf blocked by qt5-qtdeclarative
+# s390x, mips64 and riscv64 blocked by polkit
+arch="all !armhf !s390x !mips64 !riscv64"
url="https://gitlab.com/cubocore"
license="GPL-3.0-or-later"
depends="qt5-qtsvg"
makedepends="qt5-qtbase-dev libcprime-dev libcsys-dev qt5-qtmultimedia-dev cmake ninja"
-source="$pkgname-$pkgver.tar.gz::https://gitlab.com/cubocore/corefm/-/archive/v$pkgver/corefm-v$pkgver.tar.gz"
+source="https://gitlab.com/cubocore/corefm/-/archive/v$pkgver/corefm-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check"
build() {
- cmake ../$pkgname-v$pkgver \
- -GNinja \
+ cmake -B build -GNinja \
+ -DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
- ninja
+ cmake --build build
}
package() {
- DESTDIR="$pkgdir" ninja install
+ DESTDIR="$pkgdir" cmake --install build
}
-sha512sums="dce7592abf393c7adad2f07c9cb95450285f3af155abb41a76eceac2c50bdcd2c41f85a46e9a341ec06a7525599de5daea240fa9cdcb7f3c0dee25e00eac49dc corefm-4.2.0.tar.gz"
+sha512sums="
+dce7592abf393c7adad2f07c9cb95450285f3af155abb41a76eceac2c50bdcd2c41f85a46e9a341ec06a7525599de5daea240fa9cdcb7f3c0dee25e00eac49dc corefm-v4.2.0.tar.gz
+"