From owner-svn-ports-all@freebsd.org Sun Jan 31 04:49:05 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A37964E1853; Sun, 31 Jan 2021 04:49:05 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DSzB94DxRz4XC3; Sun, 31 Jan 2021 04:49:05 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 80076224AF; Sun, 31 Jan 2021 04:49:05 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 10V4n5e4000746; Sun, 31 Jan 2021 04:49:05 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 10V4n4FV000741; Sun, 31 Jan 2021 04:49:04 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <202101310449.10V4n4FV000741@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sun, 31 Jan 2021 04:49:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r563461 - in head/audio/zita-resampler: . files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/audio/zita-resampler: . files X-SVN-Commit-Revision: 563461 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jan 2021 04:49:05 -0000 Author: yuri Date: Sun Jan 31 04:49:04 2021 New Revision: 563461 URL: https://svnweb.freebsd.org/changeset/ports/563461 Log: audio/zita-resampler: Update 1.6.2 -> 1.8.0 PR: 252497 Submitted by: meka@tilda.center (maintainer), fernape@ Added: head/audio/zita-resampler/files/patch-CMakeLists.txt (contents, props changed) Deleted: head/audio/zita-resampler/files/patch-apps_Makefile head/audio/zita-resampler/files/patch-source_Makefile Modified: head/audio/zita-resampler/Makefile head/audio/zita-resampler/distinfo head/audio/zita-resampler/pkg-descr head/audio/zita-resampler/pkg-plist Modified: head/audio/zita-resampler/Makefile ============================================================================== --- head/audio/zita-resampler/Makefile Sun Jan 31 04:39:53 2021 (r563460) +++ head/audio/zita-resampler/Makefile Sun Jan 31 04:49:04 2021 (r563461) @@ -2,18 +2,19 @@ # $FreeBSD$ PORTNAME= zita-resampler -PORTVERSION= 1.6.2 -PORTREVISION= 2 +DISTVERSION= 1.8.0 CATEGORIES= audio -MASTER_SITES= http://kokkinizita.linuxaudio.org/linuxaudio/downloads/ +MASTER_SITES= https://kokkinizita.linuxaudio.org/linuxaudio/downloads/ MAINTAINER= meka@tilda.center COMMENT= C++ library for resampling audio signals LICENSE= GPLv3+ -LICENSE_FILE= ${WRKSRC}/../COPYING +LICENSE_FILE= ${WRKSRC}/COPYING -USES= gmake tar:bzip2 -WRKSRC_SUBDIR= source +USES= cmake tar:bzip2 +USE_LDCONFIG= yes + +CXXFLAGS_amd64+= -DENABLE_SSE2 .include Modified: head/audio/zita-resampler/distinfo ============================================================================== --- head/audio/zita-resampler/distinfo Sun Jan 31 04:39:53 2021 (r563460) +++ head/audio/zita-resampler/distinfo Sun Jan 31 04:49:04 2021 (r563461) @@ -1,3 +1,3 @@ -TIMESTAMP = 1535358067 -SHA256 (zita-resampler-1.6.2.tar.bz2) = 233baefee297094514bfc9063e47f848e8138dc7c959d9cd957b36019b98c5d7 -SIZE (zita-resampler-1.6.2.tar.bz2) = 125539 +TIMESTAMP = 1610071104 +SHA256 (zita-resampler-1.8.0.tar.bz2) = e5744f23c54dd15b3f783a687bd879eee2a690a4545a15b49c4cf037aa464aa2 +SIZE (zita-resampler-1.8.0.tar.bz2) = 131161 Added: head/audio/zita-resampler/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/zita-resampler/files/patch-CMakeLists.txt Sun Jan 31 04:49:04 2021 (r563461) @@ -0,0 +1,84 @@ +From d0fe1bf362820e49594477a5d4c0369f0e2b6c60 Mon Sep 17 00:00:00 2001 +From: Daniel Engberg +Date: Fri, 8 Jan 2021 03:03:05 +0100 +Subject: [PATCH] cmake + +cmake + +Signed-off-by: Daniel Engberg +--- + CMakeLists.txt | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 62 insertions(+) + create mode 100644 CMakeLists.txt + +diff --git a/CMakeLists.txt b/CMakeLists.txt +new file mode 100644 +index 0000000..941f1e8 +--- /dev/null ++++ CMakeLists.txt +@@ -0,0 +1,62 @@ ++cmake_minimum_required(VERSION 3.5) ++ ++project(zita-resampler LANGUAGES CXX) ++ ++option(ZITA_RESAMPLER_ENABLE_SHARED "Build as a shared library" ON) ++option(ZITA_RESAMPLER_ENABLE_STATIC "Build as a static library" OFF) ++ ++set(ZITA_RESAMPLER_SOURCES ++ "source/cresampler.cc" ++ "source/resampler.cc" ++ "source/resampler-table.cc" ++ "source/vresampler.cc") ++ ++find_package(Threads REQUIRED) ++ ++set(ZITA_RESAMPLER_TARGETS) ++ ++macro(extract_version file setting_name) ++ file(STRINGS ${file} VERSION_NUMBER REGEX "^${setting_name}") ++ string(REPLACE "= " ";" VERSION_NUMBER_LIST ${VERSION_NUMBER}) ++ list(GET VERSION_NUMBER_LIST 1 ${setting_name}) ++endmacro(extract_version) ++ ++extract_version(source/Makefile MAJVERS) ++extract_version(source/Makefile MINVERS) ++ ++set(PROJECT_VERSION "${MAJVERS}.${MINVERS}") ++ ++string(REPLACE "." ";" VERSION_LIST ${PROJECT_VERSION}) ++list(GET VERSION_LIST 0 PROJECT_VERSION_MAJOR) ++list(GET VERSION_LIST 1 PROJECT_VERSION_MINOR) ++# list(GET VERSION_LIST 2 PROJECT_VERSION_PATCH) ++ ++set(CMAKE_CXX_FLAGS " ${CMAKE_CXX_FLAGS} -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -fPIC -ffast-math") ++ ++if(ZITA_RESAMPLER_ENABLE_SHARED) ++ add_library(zita-resampler SHARED ${ZITA_RESAMPLER_SOURCES}) ++ target_include_directories(zita-resampler ++ PUBLIC "${PROJECT_SOURCE_DIR}/source") ++ target_link_libraries(zita-resampler PUBLIC ${CMAKE_THREAD_LIBS_INIT}) ++ set_target_properties(zita-resampler PROPERTIES ++ VERSION "${PROJECT_VERSION}" ++ SOVERSION "${PROJECT_VERSION_MAJOR}") ++ list(APPEND ZITA_RESAMPLER_TARGETS zita-resampler) ++endif() ++ ++if(ZITA_RESAMPLER_ENABLE_STATIC) ++ add_library(zita-resampler-static STATIC ${ZITA_RESAMPLER_SOURCES}) ++ target_include_directories(zita-resampler-static ++ PUBLIC "${PROJECT_SOURCE_DIR}/source") ++ target_link_libraries(zita-resampler-static PUBLIC ${CMAKE_THREAD_LIBS_INIT}) ++ set_target_properties(zita-resampler-static PROPERTIES ++ OUTPUT_NAME "zita-resampler") ++ list(APPEND ZITA_RESAMPLER_TARGETS zita-resampler-static) ++endif() ++ ++install(TARGETS ${ZITA_RESAMPLER_TARGETS} ++ LIBRARY DESTINATION "lib" ++ ARCHIVE DESTINATION "lib" ++ RUNTIME DESTINATION "bin") ++install(DIRECTORY "source/zita-resampler" ++ DESTINATION "include") +-- +2.29.2 + Modified: head/audio/zita-resampler/pkg-descr ============================================================================== --- head/audio/zita-resampler/pkg-descr Sun Jan 31 04:39:53 2021 (r563460) +++ head/audio/zita-resampler/pkg-descr Sun Jan 31 04:49:04 2021 (r563461) @@ -11,4 +11,4 @@ of approximately 1:6 is available. Even at the highest libzita-resampler will be faster than most similar libraries providing the same quality, e.g. libsamplerate. -WWW: http://kokkinizita.linuxaudio.org/linuxaudio/zita-resampler/resampler.html +WWW: https://kokkinizita.linuxaudio.org/linuxaudio/zita-resampler/resampler.html Modified: head/audio/zita-resampler/pkg-plist ============================================================================== --- head/audio/zita-resampler/pkg-plist Sun Jan 31 04:39:53 2021 (r563460) +++ head/audio/zita-resampler/pkg-plist Sun Jan 31 04:49:04 2021 (r563461) @@ -4,4 +4,4 @@ include/zita-resampler/resampler.h include/zita-resampler/vresampler.h lib/libzita-resampler.so lib/libzita-resampler.so.1 -lib/libzita-resampler.so.1.6.2 +lib/libzita-resampler.so.1.8.0