33 lines
928 B
Bash
33 lines
928 B
Bash
# Template file for 'qtchooser'
|
|
pkgname=qtchooser
|
|
reverts=20150315_2
|
|
version=66
|
|
revision=3
|
|
build_style=gnu-makefile
|
|
make_install_args="INSTALL_ROOT=\${DESTDIR}"
|
|
short_desc="Qt4/Qt5 version chooser"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-only, GPL-3.0-only"
|
|
homepage="https://www.qt.io/"
|
|
distfiles="https://download.qt.io/official_releases/qtchooser/qtchooser-${version}.tar.xz"
|
|
checksum=b22c21df135d48fc775d26d771170c2c70555704d4625605383be2cd149c7cea
|
|
CXXFLAGS=" -D_LARGE_FILE_SOURCE=1 -D_FILE_OFFSET_BITS=64"
|
|
|
|
# XBPS_DISTFILES_MIRROR+=" https://master.qt.io/official_releases/qtchooser"
|
|
|
|
do_build() {
|
|
make LFLAGS="$LDFLAGS"
|
|
}
|
|
|
|
do_check() {
|
|
# uses qmake managed by qtchooser: dependency loop
|
|
:
|
|
}
|
|
|
|
post_install() {
|
|
vmkdir etc/xdg/qtchooser
|
|
vinstall ${FILESDIR}/4.conf 644 etc/xdg/qtchooser
|
|
vinstall ${FILESDIR}/5.conf 644 etc/xdg/qtchooser
|
|
ln -sf 5.conf ${DESTDIR}/etc/xdg/qtchooser/default.conf
|
|
}
|