diff options
author | Robby Workman | 2014-05-28 18:32:27 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2014-05-28 18:45:50 +0200 |
commit | 81efe6c63650341e1604ba158268b131e9801755 (patch) | |
tree | e948e799d1808af0ab760faad8ef91ba30ac71ca /misc/brewtarget/patches/0004-Install-icon-to-datadir-icons-hicolor-scalable-apps.patch | |
parent | e727be292e20be277681673bbfeddaa7f9bf0a8e (diff) | |
download | slackbuilds-81efe6c63650341e1604ba158268b131e9801755.tar.gz |
misc/brewtarget: Added (free brewing software).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/brewtarget/patches/0004-Install-icon-to-datadir-icons-hicolor-scalable-apps.patch')
-rw-r--r-- | misc/brewtarget/patches/0004-Install-icon-to-datadir-icons-hicolor-scalable-apps.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/misc/brewtarget/patches/0004-Install-icon-to-datadir-icons-hicolor-scalable-apps.patch b/misc/brewtarget/patches/0004-Install-icon-to-datadir-icons-hicolor-scalable-apps.patch new file mode 100644 index 0000000000..f2021d478e --- /dev/null +++ b/misc/brewtarget/patches/0004-Install-icon-to-datadir-icons-hicolor-scalable-apps.patch @@ -0,0 +1,37 @@ +From a44f5fcf0779b84c75bf3c6c99f1c659c1da0d14 Mon Sep 17 00:00:00 2001 +From: Robby Workman <rworkman@slackware.com> +Date: Tue, 27 May 2014 22:34:24 -0500 +Subject: [PATCH 4/4] Install icon to $datadir/icons/hicolor/scalable/apps + +--- + CMakeLists.txt | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 0515bd6..1362c89 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -200,9 +200,9 @@ ENDIF() + + # If it begins with a '/' + IF( IS_ABSOLUTE ${DATAROOTDIR} ) +- SET( brewtarget_ICONS_LOCATION "${DATAROOTDIR}/icons/${CMAKE_PROJECT_NAME}" ) ++ SET( brewtarget_ICONS_LOCATION "${DATAROOTDIR}/icons/hicolor/scalable/apps/" ) + ELSE() +- SET( brewtarget_ICONS_LOCATION "/${DATAROOTDIR}/icons/${CMAKE_PROJECT_NAME}" ) ++ SET( brewtarget_ICONS_LOCATION "/${DATAROOTDIR}/icons/hicolor/scalable/apps/" ) + ENDIF() + + CONFIGURE_FILE( brewtarget.desktop.in brewtarget.desktop ) +@@ -488,7 +488,7 @@ IF( NOT ${BUILD_DESIGNER_PLUGINS} ) + IF( UNIX AND NOT APPLE ) + # Install the icons. + INSTALL( FILES ${brewtarget_ICONS} +- DESTINATION "${DATAROOTDIR}/icons/${CMAKE_PROJECT_NAME}" ) ++ DESTINATION "${DATAROOTDIR}/icons/hicolor/scalable/apps/" ) + + # Install the .desktop file. + INSTALL( FILES ${brewtarget_DESKTOP} +-- +1.8.4 + |