[packages/bv16-floatingpoint] - updated to 2.1

qboosh qboosh at pld-linux.org
Sun Apr 9 21:07:27 CEST 2023


commit d906e419f7eaa80bb45efc5b2bcc42f261126f52
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Apr 9 21:09:58 2023 +0200

    - updated to 2.1

 bv16-floatingpoint-libdir.patch | 35 -----------------------------------
 bv16-floatingpoint.spec         | 10 +++++-----
 2 files changed, 5 insertions(+), 40 deletions(-)
---
diff --git a/bv16-floatingpoint.spec b/bv16-floatingpoint.spec
index 979673a..01021c1 100644
--- a/bv16-floatingpoint.spec
+++ b/bv16-floatingpoint.spec
@@ -5,7 +5,7 @@
 Summary:	BroadVoice16 floating point codec
 Summary(pl.UTF-8):	Kodek BroadVoice16 z arytmetyką zmiennoprzecinkową
 Name:		bv16-floatingpoint
-Version:	1.2
+Version:	2.1
 Release:	1
 License:	BSD
 Group:		Libraries
@@ -13,10 +13,10 @@ Group:		Libraries
 # linphone added cmake build
 #Source0Download: https://gitlab.linphone.org/BC/public/external/bv16-floatingpoint/-/tags
 Source0:	https://gitlab.linphone.org/BC/public/external/bv16-floatingpoint/-/archive/%{version}/%{name}-%{version}.tar.bz2
-# Source0-md5:	359b6088c38524aae17822856b1bd219
-Patch0:		%{name}-libdir.patch
+# Source0-md5:	b28dd02e633cd71136c32cacc2797566
 URL:		https://gitlab.linphone.org/BC/public/external/bv16-floatingpoint
 BuildRequires:	cmake >= 3.0
+BuildRequires:	rpmbuild(macros) >= 1.605
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -51,13 +51,13 @@ Statyczna biblioteka bv16.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 install -d build
 cd build
 %cmake .. \
-	%{!?with_static_libs:-DENABLE_STATIC=OFF}
+	%{!?with_static_libs:-DENABLE_STATIC=OFF} \
+	-DENABLE_TOOLS=ON \
 
 %{__make}
 
diff --git a/bv16-floatingpoint-libdir.patch b/bv16-floatingpoint-libdir.patch
deleted file mode 100644
index b18d0c6..0000000
--- a/bv16-floatingpoint-libdir.patch
+++ /dev/null
@@ -1,35 +0,0 @@
---- bv16-floatingpoint-1.2/CMakeLists.txt.orig	2016-03-02 14:14:17.000000000 +0100
-+++ bv16-floatingpoint-1.2/CMakeLists.txt	2021-07-10 15:46:55.324530192 +0200
-@@ -86,8 +86,8 @@ if(ENABLE_STATIC)
- 	target_link_libraries(bv16-static ${LIBS})
- 	install(TARGETS bv16-static
- 		RUNTIME DESTINATION bin
--		LIBRARY DESTINATION lib
--		ARCHIVE DESTINATION lib
-+		LIBRARY DESTINATION lib${LIB_SUFFIX}
-+		ARCHIVE DESTINATION lib${LIB_SUFFIX}
- 		PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
- 	)
- endif()
-@@ -96,8 +96,8 @@ if(ENABLE_SHARED)
- 	target_link_libraries(bv16 ${LIBS})
- 	install(TARGETS bv16
- 		RUNTIME DESTINATION bin
--		LIBRARY DESTINATION lib
--		ARCHIVE DESTINATION lib
-+		LIBRARY DESTINATION lib${LIB_SUFFIX}
-+		ARCHIVE DESTINATION lib${LIB_SUFFIX}
- 		PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
- 	)
- 	if(MSVC)
-@@ -118,8 +118,8 @@ else()
- endif()
- install(TARGETS BroadVoice16
-   RUNTIME DESTINATION bin
--  LIBRARY DESTINATION lib
--  ARCHIVE DESTINATION lib
-+  LIBRARY DESTINATION lib${LIB_SUFFIX}
-+  ARCHIVE DESTINATION lib${LIB_SUFFIX}
-   PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
- )
- 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/bv16-floatingpoint.git/commitdiff/d906e419f7eaa80bb45efc5b2bcc42f261126f52



More information about the pld-cvs-commit mailing list