glslViewer: update to 3.1.0.

This commit is contained in:
Daniel Lewan 2023-07-27 20:55:44 +02:00 committed by classabbyamp
parent 0e5f42ce97
commit 1873c5c7a1
2 changed files with 9 additions and 21 deletions

View File

@ -1,25 +1,13 @@
--- a/glslViewer/CMakeLists.txt
+++ b/glslViewer/CMakeLists.txt
@@ -31,7 +31,10 @@
add_executable(glslViewer ${ROOT_SOURCE})
-include_directories(deps/liblo)
+include(FindPkgConfig)
+pkg_search_module(LIBLO REQUIRED liblo>=0.31)
+include_directories(glslViewer PRIVATE ${LIBLO_INCLUDE_DIRS})
+target_link_libraries(glslViewer PRIVATE ${LIBLO_LIBRARIES})
target_include_directories(glslViewer PRIVATE deps)
target_link_libraries(glslViewer PRIVATE vera)
target_compile_definitions(glslViewer PRIVATE GLSLVIEWER_VERSION_MAJOR=${VERSION_MAJOR})
@@ -151,7 +154,7 @@
@@ -125,7 +125,7 @@ else()
set(CPACK_GENERATOR "ZIP")
else()
- target_link_libraries(glslViewer PRIVATE pthread dl lo_static)
+ target_link_libraries(glslViewer PRIVATE pthread dl)
install(TARGETS glslViewer DESTINATION bin)
+ target_link_libraries(glslViewer PRIVATE pthread dl lo)
install(TARGETS glslViewer DESTINATION ${CMAKE_INSTALL_BINDIR})
if (NOT APPLE)
--- a/glslViewer/deps/CMakeLists.txt
+++ b/glslViewer/deps/CMakeLists.txt

View File

@ -1,8 +1,8 @@
# Template file for 'glslViewer'
pkgname=glslViewer
version=3.0.7
version=3.1.0
revision=1
_vera_gitrev="a3538e06ecbfe0694e2a64fc51ce6c4ee018a9a0"
_vera_gitrev="5af26f827d3d36c4abba00f3053be3b0ef1b89c2"
build_wrksrc=${pkgname}
build_style=cmake
hostmakedepends="pkg-config"
@ -13,10 +13,10 @@ short_desc="Live GLSL coding render"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="http://patriciogonzalezvivo.com/2015/glslViewer/"
distfiles="https://github.com/patriciogonzalezvivo/glslViewer/archive/${version}.tar.gz
distfiles="https://github.com/patriciogonzalezvivo/glslViewer/archive/v${version}.tar.gz
https://github.com/patriciogonzalezvivo/vera/archive/${_vera_gitrev}.tar.gz"
checksum="4d8bac6a801fa61b81e472a8dabfe5469a43c44547d558849a078ed2c26c8034
a71f149e84afdf12aa88555efef09d0e420c5d5c6ba9c2d67126ecc49fddaff0"
checksum="48109ed70e5de6ce05ca8cab6f2ed4a368f228d83df561d522b4ba8e49018008
1276b1d664902622728ce9cded9b6605f79cb58bc7bff77e82abbf95f4cd4424"
post_extract() {
mv ${pkgname}-${version} ${build_wrksrc}