summaryrefslogtreecommitdiff
path: root/libmad
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2022-06-25 16:26:01 +0200
committerTim Biermann <tbier@posteo.de>2022-06-25 16:52:20 +0200
commitfb4c7229fd183319b7b38b4fc0bdc83ca37b035d (patch)
treedd8f1d60c21be0db34caa3b191ef58dd6d08a072 /libmad
parent1cea421ae48c1362510a774ab48af3227d7e8912 (diff)
downloadcontrib-fb4c7229fd183319b7b38b4fc0bdc83ca37b035d.tar.gz
contrib-fb4c7229fd183319b7b38b4fc0bdc83ca37b035d.tar.xz
libmad: 0.15.1b -> 0.16.1
Diffstat (limited to 'libmad')
-rw-r--r--libmad/.footprint15
-rw-r--r--libmad/.signature9
-rw-r--r--libmad/Pkgfile26
3 files changed, 25 insertions, 25 deletions
diff --git a/libmad/.footprint b/libmad/.footprint
index 0325aa9ae..6ce39ad8e 100644
--- a/libmad/.footprint
+++ b/libmad/.footprint
@@ -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
diff --git a/libmad/.signature b/libmad/.signature
index d904945b2..f5234bb4a 100644
--- a/libmad/.signature
+++ b/libmad/.signature
@@ -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
diff --git a/libmad/Pkgfile b/libmad/Pkgfile
index 8b68e14c6..682cb6f49 100644
--- a/libmad/Pkgfile
+++ b/libmad/Pkgfile
@@ -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
}

Generated by cgit