summaryrefslogtreecommitdiff
path: root/misc/projectM/patch_use_both_fonts.diff
diff options
context:
space:
mode:
authorM.Dinslage <daedra1980@gmail.com>2014-09-03 08:20:09 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-09-06 00:02:50 +0700
commit4fc997941c967fdd00c4b10ed7804e04bb3e558f (patch)
treef01f8f032eae5356c58d88ff6712f448464aafa5 /misc/projectM/patch_use_both_fonts.diff
parentfb227be2239807c12321306a6cf266823e0de8f3 (diff)
downloadslackbuilds-4fc997941c967fdd00c4b10ed7804e04bb3e558f.tar.gz
misc/projectM: Updated for version 2.1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/projectM/patch_use_both_fonts.diff')
-rw-r--r--misc/projectM/patch_use_both_fonts.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/projectM/patch_use_both_fonts.diff b/misc/projectM/patch_use_both_fonts.diff
new file mode 100644
index 0000000000..2671239938
--- /dev/null
+++ b/misc/projectM/patch_use_both_fonts.diff
@@ -0,0 +1,11 @@
+--- src/libprojectM/CMakeLists.txt.orig 2014-08-29 07:31:53.446941895 +0000
++++ src/libprojectM/CMakeLists.txt 2014-08-29 07:33:41.336200162 +0000
+@@ -224,7 +224,7 @@
+ CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/config.inp.in" "${CMAKE_CURRENT_BINARY_DIR}/config.inp" @ONLY)
+
+ IF(projectM_FONT_MENU MATCHES "${CMAKE_INSTALL_PREFIX}/${RESOURCE_PREFIX}/fonts/Vera.ttf" OR projectM_FONT_TITLE MATCHES "${CMAKE_INSTALL_PREFIX}/${RESOURCE_PREFIX}/fonts/Vera.ttf")
+- INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/fonts/VeraMono.ttf DESTINATION ${CMAKE_INSTALL_PREFIX}/${RESOURCE_PREFIX}/fonts)
++ INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/fonts/Vera.ttf DESTINATION ${CMAKE_INSTALL_PREFIX}/${RESOURCE_PREFIX}/fonts)
+ ENDIF(projectM_FONT_MENU MATCHES "${CMAKE_INSTALL_PREFIX}/${RESOURCE_PREFIX}/fonts/Vera.ttf" OR projectM_FONT_TITLE MATCHES "${CMAKE_INSTALL_PREFIX}/${RESOURCE_PREFIX}/fonts/Vera.ttf")
+
+ IF(projectM_FONT_MENU MATCHES "${CMAKE_INSTALL_PREFIX}/${RESOURCE_PREFIX}/fonts/VeraMono.ttf" OR projectM_FONT_TITLE MATCHES "${CMAKE_INSTALL_PREFIX}/${RESOURCE_PREFIX}/fonts/VeraMono.ttf")