[packages/libmad] - updated to 0.16.5

qboosh qboosh at pld-linux.org
Mon Nov 16 18:19:49 CET 2026


commit 535c6180759efb40fe2ca694af8210f6092a471d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Nov 16 18:19:45 2026 +0100

    - updated to 0.16.5

 libmad-x86.patch | 12 ------------
 libmad.spec      | 13 +++++--------
 2 files changed, 5 insertions(+), 20 deletions(-)
---
diff --git a/libmad.spec b/libmad.spec
index 54bd62b..86a4229 100644
--- a/libmad.spec
+++ b/libmad.spec
@@ -5,17 +5,15 @@
 Summary:	MPEG audio decoder library
 Summary(pl.UTF-8):	Biblioteka dekodera strumieni audio MPEG
 Name:		libmad
-Version:	0.16.4
+Version:	0.16.5
 Release:	1
 License:	GPL v2+
 Group:		Libraries
 #Source0Download: https://codeberg.org/tenacityteam/libmad/tags
 Source0:	https://codeberg.org/tenacityteam/libmad/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
-# Source0-md5:	6f3fc68f4c45a4c2792665f98b917e15
-# fix CPU arch detection on x86 (from Fedora)
-Patch0:		%{name}-x86.patch
+# Source0-md5:	d6f51a57995e579fb30faac4bb3ec74c
 URL:		https://codeberg.org/tenacityteam/libmad
-BuildRequires:	cmake >= 3.1.0
+BuildRequires:	cmake >= 3.10
 Provides:	mad-libs = %{version}
 Obsoletes:	mad-libs < 0.15.0b
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -37,7 +35,7 @@ zaimplementowane.
 Summary:	Header files for libmad library
 Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki libmad
 Group:		Development/Libraries
-Requires:	%{name} = %{version}-%{release}
+Requires:	%{name}%{?_isa} = %{version}-%{release}
 Provides:	mad-devel = %{version}
 Obsoletes:	mad-devel < 0.15.0b
 
@@ -51,7 +49,7 @@ Pliki nagłówkowe biblioteki libmad.
 Summary:	Static mad library
 Summary(pl.UTF-8):	Biblioteka statyczna mad
 Group:		Development/Libraries
-Requires:	%{name}-devel = %{version}-%{release}
+Requires:	%{name}-devel%{?_isa} = %{version}-%{release}
 Provides:	mad-static = %{version}
 Obsoletes:	mad-static < 0.15.0b
 
@@ -63,7 +61,6 @@ Biblioteka statyczna mad.
 
 %prep
 %setup -q -n libmad
-%patch -P0 -p1
 
 %build
 %if %{with static_libs}
diff --git a/libmad-x86.patch b/libmad-x86.patch
deleted file mode 100644
index d16cbaa..0000000
--- a/libmad-x86.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up libmad/CMakeLists.txt.x86 libmad/CMakeLists.txt
---- libmad/CMakeLists.txt.x86	2023-09-24 03:51:31.000000000 +0200
-+++ libmad/CMakeLists.txt	2026-03-05 14:19:12.466050524 +0100
-@@ -61,7 +61,7 @@ option(ASO "Enable CPU Architecture Spec
- if(CMAKE_SIZEOF_VOID_P EQUAL 8)
-   message(STATUS "Using 64 bit fixed point math")
-   option(FPM_64BIT "64 bit fixed point math" ON)
--elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86" OR "i386")
-+elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "(x|i[3456])86")
-   message(STATUS "Using x86 fixed point math")
-   option (FPM_INTEL "x86 fixed point math" ON)
-   if(ASO)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libmad.git/commitdiff/535c6180759efb40fe2ca694af8210f6092a471d



More information about the pld-cvs-commit mailing list