diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-04-21 12:11:28 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-04-21 12:12:03 +0200 |
commit | e96543dff22927a309f4bc9018e88ffd1eafd825 (patch) | |
tree | 60c1274c3ddc33007cc831809a216b6eb531010d /x11-misc | |
parent | dev-java/commons-logging: switched 1.2-r3 to tomcat-servlet-api:4.0 (diff) | |
download | gentoo-e96543dff22927a309f4bc9018e88ffd1eafd825.tar.gz gentoo-e96543dff22927a309f4bc9018e88ffd1eafd825.tar.bz2 gentoo-e96543dff22927a309f4bc9018e88ffd1eafd825.zip |
x11-misc/qt5ct: Fix install paths
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/qt5ct/files/qt5ct-1.2-cmake.patch | 22 | ||||
-rw-r--r-- | x11-misc/qt5ct/qt5ct-1.2-r1.ebuild (renamed from x11-misc/qt5ct/qt5ct-1.2.ebuild) | 7 |
2 files changed, 28 insertions, 1 deletions
diff --git a/x11-misc/qt5ct/files/qt5ct-1.2-cmake.patch b/x11-misc/qt5ct/files/qt5ct-1.2-cmake.patch new file mode 100644 index 000000000000..67313d824fa8 --- /dev/null +++ b/x11-misc/qt5ct/files/qt5ct-1.2-cmake.patch @@ -0,0 +1,22 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -39,7 +39,7 @@ + set(QT_QTPATHS_EXECUTABLE ${QT_QTPATHS_EXECUTABLE}/qtpaths) + + if(EXISTS ${QT_QTPATHS_EXECUTABLE}) +- message(STATUS "Found qtpaths executable: " ${QT_QTPATHS_EXECUTABLE}) ++ message(STATUS "Found qtpaths executable: " ${QT_QTPATHS_EXECUTABLE}) + else() + message(FATAL_ERROR "Could NOT find qtpaths executable") + endif() +@@ -54,8 +54,8 @@ + add_subdirectory(src/qt5ct-qtplugin) + add_subdirectory(src/qt5ct-style) + +-install(DIRECTORY qss DESTINATION ${CMAKE_INSTALL_DATADIR}) +-install(DIRECTORY colors DESTINATION ${CMAKE_INSTALL_DATADIR}) ++install(DIRECTORY qss DESTINATION ${CMAKE_INSTALL_DATADIR}/qt5ct) ++install(DIRECTORY colors DESTINATION ${CMAKE_INSTALL_DATADIR}/qt5ct) + + if(UNIX) + add_custom_target(distclean @echo cleaning for source distribution) diff --git a/x11-misc/qt5ct/qt5ct-1.2.ebuild b/x11-misc/qt5ct/qt5ct-1.2-r1.ebuild index cadb81998d16..419efe47f940 100644 --- a/x11-misc/qt5ct/qt5ct-1.2.ebuild +++ b/x11-misc/qt5ct/qt5ct-1.2-r1.ebuild @@ -24,11 +24,16 @@ RDEPEND=" dev-qt/qtgui:5[dbus] ) " -DEPEND="${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" dev-qt/linguist-tools:5 dev-qt/qtpaths:5 " +PATCHES=( + "${FILESDIR}"/${P}-cmake.patch +) + src_install() { cmake_src_install |