summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/libfm-qt/APKBUILD17
1 files changed, 8 insertions, 9 deletions
diff --git a/user/libfm-qt/APKBUILD b/user/libfm-qt/APKBUILD
index f69e6a700..ccf7a2fe0 100644
--- a/user/libfm-qt/APKBUILD
+++ b/user/libfm-qt/APKBUILD
@@ -1,19 +1,18 @@
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=libfm-qt
-pkgver=0.11.2
+pkgver=0.12.0
pkgrel=0
pkgdesc="Qt library for file management and bindings for libfm"
url="http://lxqt.org"
arch="all"
license="LGPL-2.1+"
depends=""
-depends_dev="libfm-dev menu-cache-dev"
+depends_dev="libfm-dev menu-cache-dev libexif-dev"
makedepends="cmake extra-cmake-modules lxqt-build-tools qt5-qtx11extras-dev qt5-qttools-dev $depends_dev"
install=""
subpackages="$pkgname-dev"
-source="https://github.com/lxde/libfm-qt/releases/download/$pkgver/libfm-qt-$pkgver.tar.xz
- libfm-qt-0.11.2-const-fixes.patch"
+source="https://github.com/lxde/libfm-qt/releases/download/$pkgver/libfm-qt-$pkgver.tar.xz"
builddir="$srcdir/libfm-qt-$pkgver"
build() {
@@ -21,6 +20,7 @@ build() {
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
+ mkdir -p build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
@@ -29,19 +29,18 @@ build() {
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
-DPULL_TRANSLATIONS=False \
- ${CMAKE_CROSSOPTS}
+ ${CMAKE_CROSSOPTS} ..
make
}
check() {
- cd "$builddir"
+ cd "$builddir/build"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
- cd "$builddir"
+ cd "$builddir/build"
make DESTDIR="$pkgdir" install
}
-sha512sums="f31ec46bb7b6aa98bdbf619dba6d18f6180603a88ef841d7330565dab9d604714406075ab20d35c8356ff93eca84478d98e835f2057f5d4cc0339fa448f05570 libfm-qt-0.11.2.tar.xz
-80a92f55832bd69ad9c7b8e14e72fc2c5a0f8d659cc60efca23eb29577180ac9c11b931a500262d4e6ebb290af28effa71ec6255ed77660f7fb14e6ff455fa45 libfm-qt-0.11.2-const-fixes.patch"
+sha512sums="5c6aa4341672ff7c9d992cf248cff8c8e7f4eaa6e76ed9cc0655bc1a7dcb1cc7768136bb7509c2326a23d93159fa4496151fe284b9129503c03a11c852a60c43 libfm-qt-0.12.0.tar.xz"