-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
33 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- a/Kvantum/style/CMakeLists.txt 2023-12-09 19:15:19.658089615 -0500 | ||
+++ b/Kvantum/style/CMakeLists.txt 2023-12-09 19:15:31.014342407 -0500 | ||
@@ -36,10 +36,7 @@ | ||
if(QT_VERSION_MAJOR EQUAL 6) | ||
get_target_property(REAL_QMAKE_EXECUTABLE Qt6::qmake | ||
IMPORTED_LOCATION) | ||
- execute_process(COMMAND "${REAL_QMAKE_EXECUTABLE}" -query QT_INSTALL_PLUGINS | ||
- OUTPUT_VARIABLE _Qt6_PLUGIN_INSTALL_DIR | ||
- ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE) | ||
- set(KVANTUM_STYLE_DIR "${_Qt6_PLUGIN_INSTALL_DIR}/styles/") | ||
+ set(KVANTUM_STYLE_DIR "${QT6_INSTALL_PLUGINS}/styles/") | ||
|
||
include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} | ||
${Qt6Core_INCLUDE_DIRS} ${Qt6Widgets_INCLUDE_DIRS} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,31 @@ | ||
# Template file for 'kvantum' | ||
pkgname=kvantum | ||
version=1.0.5 | ||
version=1.0.10 | ||
revision=1 | ||
build_wrksrc=Kvantum | ||
build_style=qmake | ||
hostmakedepends="qt5-tools qt5-qmake qt5-host-tools" | ||
makedepends="qt5-devel qt5-svg-devel qt5-x11extras-devel | ||
kwindowsystem-devel" | ||
short_desc="SVG-based theme engine for Qt4/Qt5, KDE and LXQt" | ||
build_style=cmake | ||
hostmakedepends="qt5-tools-devel qt5-host-tools qt6-tools-devel" | ||
makedepends="qt5-devel qt6-base-devel qt5-svg-devel qt6-svg-devel | ||
qt5-x11extras-devel kwindowsystem-devel" | ||
short_desc="SVG-based theme engine for Qt4/Qt5/Qt6, KDE and LXQt" | ||
maintainer="Giuseppe Fierro <[email protected]>" | ||
license="GPL-3.0-or-later" | ||
homepage="https://github.com/tsujan/Kvantum" | ||
changelog="https://raw.githubusercontent.com/tsujan/Kvantum/master/Kvantum/ChangeLog" | ||
distfiles="https://github.com/tsujan/Kvantum/archive/V${version}.tar.gz" | ||
checksum=2284017dbe5b4b4b5f657215525ca1d1e30d702b28102067d4aa2ec1e764c6a6 | ||
checksum=2ef368df6c54a3bde2097ed89341f188b6670d1b1f8d11bcb3a80138887aca12 | ||
|
||
do_build() { | ||
cmake -B build5 -DCMAKE_INSTALL_PREFIX:PATH=/usr | ||
make ${makejobs} -C build5 | ||
cmake -B build6 -DCMAKE_INSTALL_PREFIX:PATH=/usr -DENABLE_QT5=OFF | ||
make ${makejobs} -C build6 | ||
} | ||
|
||
do_install() { | ||
DESTDIR="$DESTDIR" cmake --install build5 | ||
DESTDIR="$DESTDIR" cmake --install build6 | ||
} | ||
|
||
post_install() { | ||
vdoc doc/Theme-Config.pdf | ||
|