1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00

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
This commit is contained in:
Po-Chuan Hsieh 2024-07-03 12:36:29 +08:00
parent 1dcd735d61
commit a71f766f64
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 44 additions and 22 deletions

View File

@ -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>

View File

@ -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

View File

@ -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)
#
add_subdirectory (src)
-add_subdirectory (doc)
-add_subdirectory (examples)
-