28 lines
863 B
Bash
28 lines
863 B
Bash
# Template file for 'qt5-fsarchiver'
|
|
pkgname=qt5-fsarchiver
|
|
version=0.8.5
|
|
revision=2
|
|
_realversion=0.8.5-1
|
|
build_style=qmake
|
|
hostmakedepends="qt5-qmake qt5-host-tools"
|
|
makedepends="qt5-devel liblz4-devel liblzma-devel lzo-devel libzstd-devel
|
|
libgcrypt-devel e2fsprogs-devel attr-devel"
|
|
depends="fsarchiver"
|
|
short_desc="Program to save/restore partitions, folders and MBR/GPT"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-only"
|
|
homepage="https://sourceforge.net/projects/qt4-fsarchiver"
|
|
distfiles="${SOURCEFORGE_SITE}/qt4-fsarchiver/${pkgname}-${_realversion}.tar.gz"
|
|
checksum=b32e02c9e1fc8038482752f5620d88b103b700ed29314bd55dcf6486f5c6f175
|
|
|
|
CFLAGS="-fcommon"
|
|
|
|
pre_configure() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt5"
|
|
for i in ${XBPS_CROSS_BASE}/usr/include/qt5/*; do
|
|
CXXFLAGS+=" -I$i"
|
|
done
|
|
fi
|
|
}
|