git: a71f766f64f5 - main - audio/liblscp: Update to 1.0.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 03 Jul 2024 04:38:50 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=a71f766f64f5f39e680635e2675da039f6068b58 commit a71f766f64f5f39e680635e2675da039f6068b58 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-07-03 04:36:29 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-07-03 04:36:29 +0000 audio/liblscp: Update to 1.0.0 - Update MASTER_SITES - Update COMMENT - Remove unnecessary substitution - Take maintainership Changes: https://www.linuxsampler.org/svnhistory.php?subprloject=liblscp --- audio/liblscp/Makefile | 12 +++--- audio/liblscp/distinfo | 6 +-- audio/liblscp/files/patch-CMakeLists.txt | 46 ++++++++++++++++------ ...src_CMakeLists.txt => patch-src-CMakeLists.txt} | 0 4 files changed, 43 insertions(+), 21 deletions(-) diff --git a/audio/liblscp/Makefile b/audio/liblscp/Makefile index c013455054c8..76ac9c20a1ca 100644 --- a/audio/liblscp/Makefile +++ b/audio/liblscp/Makefile @@ -1,18 +1,18 @@ PORTNAME= liblscp -DISTVERSION= 0.9.12 -PORTREVISION= 1 +PORTVERSION= 1.0.0 CATEGORIES= audio -MASTER_SITES= SF/qsampler/${PORTNAME}/${DISTVERSION} \ - http://download.linuxsampler.org/packages/ +MASTER_SITES= SF/qsampler/liblscp/${PORTVERSION} \ + https://download.linuxsampler.org/packages/ -MAINTAINER= ports@FreeBSD.org -COMMENT= Wrapper around the LSCP network protocol +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= LinuxSampler Control Protocol (LSCP) wrapper C library WWW= https://www.linuxsampler.org/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake + USE_LDCONFIG= yes .include <bsd.port.mk> diff --git a/audio/liblscp/distinfo b/audio/liblscp/distinfo index 9794a829c000..fb590784acf1 100644 --- a/audio/liblscp/distinfo +++ b/audio/liblscp/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1712558498 -SHA256 (liblscp-0.9.12.tar.gz) = 7979148e3a1e3c12dca0c2f6ab2dc2e322464b230e8a1ea2d04bcf1935034981 -SIZE (liblscp-0.9.12.tar.gz) = 99062 +TIMESTAMP = 1719060307 +SHA256 (liblscp-1.0.0.tar.gz) = 65a3df07755e83560204789ea0af5f16a2f4b41e0f88db18f35a099a7dab77f2 +SIZE (liblscp-1.0.0.tar.gz) = 99190 diff --git a/audio/liblscp/files/patch-CMakeLists.txt b/audio/liblscp/files/patch-CMakeLists.txt index 013410fa5e95..e9de8ea49ab3 100644 --- a/audio/liblscp/files/patch-CMakeLists.txt +++ b/audio/liblscp/files/patch-CMakeLists.txt @@ -1,20 +1,42 @@ ---- CMakeLists.txt.orig 2024-04-18 22:33:21 UTC +--- CMakeLists.txt.orig 2024-06-17 16:59:21 UTC +++ CMakeLists.txt -@@ -9,7 +9,7 @@ set (PROJECT_DOMAIN "linuxsampler.org") +@@ -9,32 +9,6 @@ set (PROJECT_DOMAIN "linuxsampler.org") set (PROJECT_COPYRIGHT "Copyright (C) 2004-2024, rncbc aka Rui Nuno Capela. All rights reserved.") set (PROJECT_DOMAIN "linuxsampler.org") -execute_process ( -+#[[ execute_process ( - COMMAND git describe --tags --dirty --abbrev=6 - WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} - OUTPUT_VARIABLE GIT_DESCRIBE_OUTPUT -@@ -32,7 +32,7 @@ if (GIT_DESCRIBE_RESULT EQUAL 0) - set (GIT_VERSION "${GIT_VERSION} [${GIT_REVPARSE_OUTPUT}]") - endif () - set (PROJECT_VERSION "${GIT_VERSION}") +- COMMAND git describe --tags --dirty --abbrev=6 +- WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} +- OUTPUT_VARIABLE GIT_DESCRIBE_OUTPUT +- RESULT_VARIABLE GIT_DESCRIBE_RESULT +- OUTPUT_STRIP_TRAILING_WHITESPACE) +-if (GIT_DESCRIBE_RESULT EQUAL 0) +- set (GIT_VERSION "${GIT_DESCRIBE_OUTPUT}") +- string (REGEX REPLACE "^[^0-9]+" "" GIT_VERSION "${GIT_VERSION}") +- string (REGEX REPLACE "^1_" "" GIT_VERSION "${GIT_VERSION}") +- string (REGEX REPLACE "^[_vV]+" "" GIT_VERSION "${GIT_VERSION}") +- string (REGEX REPLACE "-g" "git." GIT_VERSION "${GIT_VERSION}") +- string (REGEX REPLACE "[_|-]" "." GIT_VERSION "${GIT_VERSION}") +- execute_process ( +- COMMAND git rev-parse --abbrev-ref HEAD +- WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} +- OUTPUT_VARIABLE GIT_REVPARSE_OUTPUT +- RESULT_VARIABLE GIT_REVPARSE_RESULT +- OUTPUT_STRIP_TRAILING_WHITESPACE) +- if (GIT_REVPARSE_RESULT EQUAL 0 AND NOT GIT_REVPARSE_OUTPUT STREQUAL "main") +- set (GIT_VERSION "${GIT_VERSION} [${GIT_REVPARSE_OUTPUT}]") +- endif () +- set (PROJECT_VERSION "${GIT_VERSION}") -endif () -+endif () ]] +- +- + set (CONFIG_PREFIX "${CMAKE_INSTALL_PREFIX}") + include (GNUInstallDirs) +@@ -118,6 +92,3 @@ add_subdirectory (src) + # - set (CONFIG_PREFIX "${CMAKE_INSTALL_PREFIX}") + add_subdirectory (src) +-add_subdirectory (doc) +-add_subdirectory (examples) +- diff --git a/audio/liblscp/files/patch-src_CMakeLists.txt b/audio/liblscp/files/patch-src-CMakeLists.txt similarity index 100% rename from audio/liblscp/files/patch-src_CMakeLists.txt rename to audio/liblscp/files/patch-src-CMakeLists.txt