Update libmad to 0.16.4

Drop Add_unversioned_so.patch, upstream fixed it
mad.pc is back
This commit is contained in:
Sérgio M. Basto 2024-01-15 12:46:40 +00:00
parent 5f0411110b
commit dd82f9fe37
4 changed files with 10 additions and 20 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/libmad-0.15.1b.tar.gz
/libmad-0.16.3.tar.gz
/libmad-0.16.4.tar.gz

View File

@ -1,11 +0,0 @@
--- a/CMakeLists).txt 2022-06-22 23:48:45.000000000 +0100
+++ b/CMakeLists.txt 2022-09-02 09:37:02.647923806 +0100
@@ -35,7 +35,7 @@ endif()
set_target_properties(mad PROPERTIES
VERSION ${CMAKE_PROJECT_VERSION}
- SOVERSION ${CMAKE_PROJECT_VERSION}
+ SOVERSION 0
)
#

View File

@ -1,12 +1,11 @@
Name: libmad
Version: 0.16.3
Release: 2%{?dist}
Version: 0.16.4
Release: 1%{?dist}
Summary: MPEG audio decoder library
License: GPL-2.0-or-later
URL: https://codeberg.org/tenacityteam/libmad
Source0: %url/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch0: Add_unversioned_so.patch
BuildRequires: cmake
BuildRequires: gcc-c++
@ -35,26 +34,27 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%cmake_install
rm -f %{buildroot}%{_libdir}/*.la
cp -p %{buildroot}%{_libdir}/pkgconfig/libmad.pc \
%{buildroot}%{_libdir}/pkgconfig/mad.pc
%ldconfig_scriptlets
%files
%doc CHANGES CREDITS README TODO
%doc CHANGES CREDITS README.md TODO
%license COPYING COPYRIGHT
%{_libdir}/libmad.so.*
%files devel
%{_libdir}/libmad.so
%{_libdir}/cmake/mad/
%{_libdir}/pkgconfig/libmad.pc
%{_libdir}/pkgconfig/mad.pc
%{_includedir}/mad.h
%changelog
* Mon Jan 15 2024 Sérgio Basto <sergio@serjux.com> - 0.16.4-1
- Update libmad to 0.16.4
- Drop Add_unversioned_so.patch, upstream fixed it
- mad.pc is back
* Fri Sep 01 2023 Leigh Scott <leigh123linux@gmail.com> - 0.16.3-2
- copy libmad.pc to mad.pc for compatibility

View File

@ -1 +1 @@
SHA512 (libmad-0.16.3.tar.gz) = 0fb2d0d47e11129f7173353be3104e300187f305d51c60d10d66cc529b7be5b29ab10b197c2a173116ebb3c9cfa9ddc066985d45882f992d6e39a06bbec02bdb
SHA512 (libmad-0.16.4.tar.gz) = 6752c199096f999ed478dea712eb669913eec182eec8a56bf4871e77e6c38798d13146febf646007427f43f86aea8d40b9ec2b72928ac3132066ebddcaa0cfde