aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoni Aloy Torrens <aaloytorrens@gmail.com>2021-02-12 02:14:12 +0100
committerLeo <thinkabit.ukim@gmail.com>2021-03-21 07:10:35 +0000
commit4ed4adeaf774b0bab8a0b20e62bb727083848d8e (patch)
tree1424628670bec0bcb5bc474998bf69b79ded5693
parent10a12a5a1a71ec232823340f9a1c35c779ec2a40 (diff)
downloadaports-4ed4adeaf774b0bab8a0b20e62bb727083848d8e.tar.gz
aports-4ed4adeaf774b0bab8a0b20e62bb727083848d8e.tar.bz2
aports-4ed4adeaf774b0bab8a0b20e62bb727083848d8e.tar.xz
testing/pcmanfm-qt: new aport
-rw-r--r--testing/pcmanfm-qt/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/pcmanfm-qt/APKBUILD b/testing/pcmanfm-qt/APKBUILD
new file mode 100644
index 0000000000..93c38b9b69
--- /dev/null
+++ b/testing/pcmanfm-qt/APKBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
+pkgname=pcmanfm-qt
+pkgver=0.16.0
+pkgrel=0
+pkgdesc="Qt port of pcmanfm"
+url="https://github.com/lxqt/pcmanfm-qt"
+arch="all !s390x" # s390x blocked by libfm-qt
+license="LGPL-2.0-or-later"
+depends="desktop-file-utils paper-icon-theme lxmenu-data"
+makedepends="
+ cmake lxqt-build-tools menu-cache-dev
+ qt5-qttools-dev libfm-qt-dev libexif-dev
+ "
+subpackages="$pkgname-doc"
+source="https://github.com/lxqt/pcmanfm-qt/releases/download/$pkgver/pcmanfm-qt-$pkgver.tar.xz"
+
+build() {
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ $CMAKE_CROSSOPTS .
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --build build --target install
+}
+sha512sums="42c754267966b29722bd771d6f6f09c20cdb3b33bbe49deec982bdac98379dff92ac13f6f70b603aea963a3e1003034475cb682ec4264cfcf581c189826ea727 pcmanfm-qt-0.16.0.tar.xz"