3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/misc/themes/qtcurve/qtcurve-1.8.18-install-paths.patch
2014-05-08 14:04:59 -05:00

25 lines
929 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b2be588..4cb9115 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -116,6 +116,7 @@ if(ENABLE_GTK2)
find_package(PkgConfig REQUIRED)
unset(__pkg_config_checked_GTK2 CACHE)
pkg_check_modules(GTK2 REQUIRED gtk+-2.0)
+ set(GTK2_THEME_PREFIX "${CMAKE_INSTALL_PREFIX}")
if(GTK2_THEME_PREFIX)
set(GTK2_PREFIX "${GTK2_THEME_PREFIX}")
elseif(NOT GTK2_PREFIX)
diff --git a/gtk2/style/CMakeLists.txt b/gtk2/style/CMakeLists.txt
index 01e8891..a2c767e 100644
--- a/gtk2/style/CMakeLists.txt
+++ b/gtk2/style/CMakeLists.txt
@@ -88,6 +88,6 @@ target_link_libraries(qtcurve-gtk2
qtcurve-utils qtcurve-cairo m)
install(TARGETS qtcurve-gtk2 LIBRARY DESTINATION
- ${GTK2_LIBDIR}/gtk-2.0/${GTK2_BIN_VERSION}/engines)
+ lib/gtk-2.0/${GTK2_BIN_VERSION}/engines)
install(FILES gtkrc icons3 icons4 map_kde_icons.pl kdeglobals
DESTINATION ${GTK2_THEME_DIR}/gtk-2.0)