Package Details: sdl2_gpu-git r734.e3d350b-1

Git Clone URL: https://aur.archlinux.org/sdl2_gpu-git.git (read-only, click to copy)
Package Base: sdl2_gpu-git
Description: A library for making hardware-accelerated 2D graphics easy.
Upstream URL: https://github.com/grimfang4/sdl-gpu
Licenses: MIT
Conflicts: sdl2_gpu
Provides: sdl2_gpu=r734.e3d350b
Submitter: krinnewitz
Maintainer: krinnewitz
Last Packager: krinnewitz
Votes: 0
Popularity: 0.000000
First Submitted: 2019-07-03 11:53
Last Updated: 2019-07-03 11:53

Latest Comments

LuciRose431 commented on 2021-09-28 05:36

install.patch was outdated.

Replace following lines in install.patch

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index d38ee48..dbcc08a 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
 # Install the headers and library
 if(INSTALL_LIBRARY)
+    include(GNUInstallDirs)
        if(USE_SDL1)
                install(FILES ${SDL_gpu_public_HDRS} DESTINATION include/SDL)
        else(USE_SDL1)
@@ -209,10 +210,10 @@
        endif(USE_SDL1)

        if(BUILD_SHARED)
-               install(TARGETS SDL_gpu_shared EXPORT SDL_gpu-targets DESTINATION lib)
+               install(TARGETS SDL_gpu_shared EXPORT SDL_gpu-targets DESTINATION ${CMAKE_INSTALL_LIBDIR})
        endif()
        if(BUILD_STATIC)
-               install(TARGETS SDL_gpu EXPORT SDL_gpu-targets DESTINATION lib)
+               install(TARGETS SDL_gpu EXPORT SDL_gpu-targets DESTINATION ${CMAKE_INSTALL_LIBDIR})
        endif()

 endif(INSTALL_LIBRARY)