1
0
forked from ports/contrib

libmad: 0.15.1b -> 0.16.1

This commit is contained in:
Tim Biermann 2022-06-25 16:26:01 +02:00
parent 1cea421ae4
commit fb4c7229fd
3 changed files with 25 additions and 25 deletions

View File

@ -2,10 +2,13 @@ drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
-rw-r--r-- root/root usr/include/mad.h
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libmad.a
-rwxr-xr-x root/root usr/lib/libmad.la
lrwxrwxrwx root/root usr/lib/libmad.so -> libmad.so.0.2.1
lrwxrwxrwx root/root usr/lib/libmad.so.0 -> libmad.so.0.2.1
-rwxr-xr-x root/root usr/lib/libmad.so.0.2.1
drwxr-xr-x root/root usr/lib/cmake/
drwxr-xr-x root/root usr/lib/cmake/mad/
-rw-r--r-- root/root usr/lib/cmake/mad/madConfig.cmake
-rw-r--r-- root/root usr/lib/cmake/mad/madConfigVersion.cmake
-rw-r--r-- root/root usr/lib/cmake/mad/madTargets-release.cmake
-rw-r--r-- root/root usr/lib/cmake/mad/madTargets.cmake
lrwxrwxrwx root/root usr/lib/libmad.so -> libmad.so.0.16.1
-rwxr-xr-x root/root usr/lib/libmad.so.0.16.1
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/mad.pc
-rw-r--r-- root/root usr/lib/pkgconfig/libmad.pc

View File

@ -1,6 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF33ubmUj11o0uuCqfGXz1aJj2VzOZV7zFBglFYHZkQzTQFZW4hK4chdfRj07icV5sWdzdfKrlLB/krrDFcAOHJgk=
SHA256 (Pkgfile) = 9cad9c713ceb2cd7cf4216c80555b75302b5702f8511c0708825d84f95262f67
SHA256 (.footprint) = af8cc2c3ce091edbed067045d47566c6a3310c61264969b79e10c41258865660
SHA256 (libmad-0.15.1b.tar.gz) = bbfac3ed6bfbc2823d3775ebb931087371e142bb0e9bb1bee51a76a6e0078690
SHA256 (mad.pc) = 886b970cdca9ca29f63862d81d340c25699f69d351ff806e425de9b664cf2a30
RWSagIOpLGJF3yfJKf0FEWaaExX+i7rdnrYWdR+thbCiqTeOeWBdS/KKvasrSLeWoPd9M7RHq4eGtL0RutDUus6lljSELyP9lQE=
SHA256 (Pkgfile) = fd6fb736c7356df8373a81863589d7e890e8e2a1932dfca85f2e0352cbb02afa
SHA256 (.footprint) = 5fac25cec8514cd4d7590b54e67f26533fe3c8d041bfcd86bedba7f5d8c929d3
SHA256 (libmad-0.16.1.tar.gz) = 3b716425cfab52d4c5127f45675a784f5c15d21b61d55850a49b2152c1bb108d

View File

@ -1,24 +1,22 @@
# Description: High-quality MPEG Audio Decoder library.
# URL: http://www.underbit.com/products/mad/
# Maintainer: Danny Rawlins, crux at romster dot me
# Packager: Rene Thuemmler, rene dot thuemmler at gmx dot net
# Depends on: cmake
name=libmad
version=0.15.1b
version=0.16.1
release=4
source=(http://downloads.sourceforge.net/project/mad/$name/$version/$name-$version.tar.gz
mad.pc)
source=(https://github.com/tenacityteam/libmad/archive/$version/$name-$version.tar.gz)
build() {
install -d $PKG/usr/lib/pkgconfig
sed -e "s/#version#/$version/" mad.pc > $PKG/usr/lib/pkgconfig/mad.pc
cmake -S $name-$version -B build \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-Wno-dev
cd $name-$version
# remove -fforce-mem
sed -i -e '19102d' configure
./configure --prefix=/usr
make
make DESTDIR=$PKG install
cmake --build build
DESTDIR=$PKG cmake --install build
}