void-packages/srcpkgs/libfm-qt/template

30 lines
963 B
Bash

# Template file for 'libfm-qt'
pkgname=libfm-qt
version=0.12.0
revision=2
build_style=cmake
configure_args="-DPULL_TRANSLATIONS=0"
hostmakedepends="pkg-config qt5-qmake qt5-host-tools qt5-tools"
makedepends="lxqt-build-tools qt5-tools-devel qt5-x11extras-devel
liblxqt-devel libfm-devel libexif-devel"
short_desc="Core library of PCManFM-Qt (Qt binding for libfm)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1"
homepage="http://lxqt.org/"
distfiles="https://github.com/lxde/libfm-qt/releases/download/${version}/libfm-qt-${version}.tar.xz"
checksum=a2cc4fc811aff6a83507e41770152cb01ea564668a33f4c878c7132a42b4f693
replaces="libfm-qt5>=0"
CXXFLAGS="-D_GLIBCXX_USE_C99_STDLIB=1 -D_GLIBCXX_USE_C99_STDIO=1"
libfm-qt-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
vmove usr/share/cmake
}
}