diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-04-05 21:52:00 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-04-05 21:52:00 +0100 |
commit | 2d446203bcf1a0db08e99abca43513d246dfa73d (patch) | |
tree | ec623bb5f1f389976977e375342ec59ff441eab7 /games-arcade/oshu/files | |
parent | 171a011ad3a131671aeb5a98b9e3adf219ad2865 (diff) |
gentoo resync : 05.04.2018
Diffstat (limited to 'games-arcade/oshu/files')
-rw-r--r-- | games-arcade/oshu/files/oshu-2.0.0-use_unpacked_osu-skin.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/games-arcade/oshu/files/oshu-2.0.0-use_unpacked_osu-skin.patch b/games-arcade/oshu/files/oshu-2.0.0-use_unpacked_osu-skin.patch new file mode 100644 index 000000000000..3786c2ed8adf --- /dev/null +++ b/games-arcade/oshu/files/oshu-2.0.0-use_unpacked_osu-skin.patch @@ -0,0 +1,34 @@ +commit 1dffc1a763f33af12715f4abcf8fd2043055a9a2 +Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me> +Date: Sun Apr 1 23:21:55 2018 +0200 + + share/skins/CMakeLists.txt: Use already unpacked osu-skin + +diff --git a/share/skins/CMakeLists.txt b/share/skins/CMakeLists.txt +index 54e20e5..2501757 100644 +--- a/share/skins/CMakeLists.txt ++++ b/share/skins/CMakeLists.txt +@@ -24,22 +24,10 @@ if ("minimal" IN_LIST OSHU_ENABLED_SKINS) + endif ("minimal" IN_LIST OSHU_ENABLED_SKINS) + + if ("osu" IN_LIST OSHU_ENABLED_SKINS) +- file( +- DOWNLOAD "https://www.mg0.fr/oshu/skins/osu-v1.tar.gz" "${CMAKE_CURRENT_BINARY_DIR}/osu.tar.gz" +- EXPECTED_HASH SHA256=bc645534371bf5ccba66d4a6729dc1deffb6f148b6ce115efd305f9ffab1d183 +- ) +- add_custom_command( +- OUTPUT osu/README.md +- COMMAND "${CMAKE_COMMAND}" -E tar xf osu.tar.gz +- COMMAND "${CMAKE_COMMAND}" -E touch osu/README.md +- DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/osu.tar.gz" +- COMMENT "Unpacking the osu skin" +- VERBATIM +- ) + add_custom_target(osu-skin DEPENDS osu/README.md) + add_dependencies(skins osu-skin) + install( +- DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/osu" ++ DIRECTORY osu + DESTINATION "${OSHU_SKINS_INSTALL_DIRECTORY}" + ) + endif ("osu" IN_LIST OSHU_ENABLED_SKINS) |