mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
adwaita-qt: build for Qt6
This commit is contained in:
parent
3cc6d0612d
commit
d2ade215f1
2 changed files with 24 additions and 3 deletions
|
@ -1,10 +1,10 @@
|
||||||
# Template file for 'adwaita-qt'
|
# Template file for 'adwaita-qt'
|
||||||
pkgname=adwaita-qt
|
pkgname=adwaita-qt
|
||||||
version=1.4.2
|
version=1.4.2
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="qt5-host-tools qt5-qmake"
|
hostmakedepends="qt5-host-tools qt5-qmake qt6-base"
|
||||||
makedepends="qt5-devel qt5-x11extras-devel"
|
makedepends="qt5-devel qt5-x11extras-devel qt6-base-devel"
|
||||||
short_desc="Style to bend Qt applications to look like they belong into GNOME Shell"
|
short_desc="Style to bend Qt applications to look like they belong into GNOME Shell"
|
||||||
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
|
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
|
@ -12,6 +12,26 @@ homepage="https://github.com/FedoraQt/adwaita-qt"
|
||||||
distfiles="https://github.com/FedoraQt/adwaita-qt/archive/${version}.tar.gz"
|
distfiles="https://github.com/FedoraQt/adwaita-qt/archive/${version}.tar.gz"
|
||||||
checksum=cd5fd71c46271d70c08ad44562e57c34e787d6a8650071db115910999a335ba8
|
checksum=cd5fd71c46271d70c08ad44562e57c34e787d6a8650071db115910999a335ba8
|
||||||
|
|
||||||
|
post_configure() {
|
||||||
|
cmake_builddir=build-qt6
|
||||||
|
local fprefix=$wrksrc/build-qt6
|
||||||
|
CFLAGS="${CFLAGS} -ffile-prefix-map=$fprefix=."
|
||||||
|
CXXFLAGS="${CXXFLAGS} -ffile-prefix-map=$fprefix=."
|
||||||
|
configure_args+=" -DUSE_QT6=1"
|
||||||
|
do_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
post_build() {
|
||||||
|
cmake_builddir=build-qt6 do_build
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vdoc README.md
|
vdoc README.md
|
||||||
}
|
}
|
||||||
|
|
||||||
|
adwaita-qt6_package() {
|
||||||
|
short_desc+=" - Qt6"
|
||||||
|
pkg_install() {
|
||||||
|
DESTDIR="${PKGDESTDIR}" ninja -C build-qt6 install
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/adwaita-qt6
Symbolic link
1
srcpkgs/adwaita-qt6
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
adwaita-qt
|
Loading…
Add table
Reference in a new issue