From bf3ea5bf0106a0594e744e87e9e5da87252f9559 Mon Sep 17 00:00:00 2001 From: Daniel Lewan Date: Thu, 27 Jul 2023 20:55:44 +0200 Subject: [PATCH] glslViewer: update to 3.1.0. --- srcpkgs/glslViewer/patches/liblo.patch | 20 ++++---------------- srcpkgs/glslViewer/template | 10 +++++----- 2 files changed, 9 insertions(+), 21 deletions(-) diff --git a/srcpkgs/glslViewer/patches/liblo.patch b/srcpkgs/glslViewer/patches/liblo.patch index 251b70217a68a..57c4c7e4f7b60 100644 --- a/srcpkgs/glslViewer/patches/liblo.patch +++ b/srcpkgs/glslViewer/patches/liblo.patch @@ -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 diff --git a/srcpkgs/glslViewer/template b/srcpkgs/glslViewer/template index 72707d14294fa..dcd1b295fb574 100644 --- a/srcpkgs/glslViewer/template +++ b/srcpkgs/glslViewer/template @@ -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 " 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}