libmad, libmikmod: adopted, urls updated, shasum changed for libmikmod tarball
This commit is contained in:
parent
183552d5f8
commit
e74c206f3f
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF30focYnlTi6ItHzZQXM9iie/TOxN9lrEIEQP/01IVaUm6Q/tpYTDv8wS/z2sAt9PDDEUQdpRiDm+t/rDcsddKg0=
|
||||
SHA256 (Pkgfile) = 9851cf0afd80da79f73b41ab4a035291928698519e5ada3c5e650de269deba4c
|
||||
RWSagIOpLGJF38l+DWdVBOwQQR3gfRAOsjcHy6ckEpxuHxabfNi9EL/Gny+Hc2a87FTWD2gc96E3ggGpjNkLpN7n84x7KQA6fgA=
|
||||
SHA256 (Pkgfile) = 9b81cdd18b6daf78b0894da174781cce15b213d3e2563412431ebd43396873ee
|
||||
SHA256 (.footprint) = b51aee5bbeac3c686a29f9d5973bdab21f2dfc8610228ffe5b462d152e8565af
|
||||
SHA256 (libmad-0.16.3.tar.gz) = 228bc0ea47d22ee70c087e7289e2c620829204972c9fe6ea8951ecf6c39d8966
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Description: High-quality MPEG Audio Decoder library.
|
||||
# URL: https://codeberg.org/tenacityteam/libmad
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Maintainer: John McQuah, jmcquah at disroot dot org
|
||||
# Depends on:
|
||||
|
||||
name=libmad
|
||||
@ -10,14 +10,14 @@ source=(https://codeberg.org/tenacityteam/$name/archive/$version.tar.gz)
|
||||
renames=($name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cmake -S $name -B build \
|
||||
cmake -S $name -B build -G Ninja \
|
||||
-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
|
||||
-D EXAMPLE=OFF -Wno-dev
|
||||
|
||||
cmake --build build
|
||||
DESTDIR=$PKG cmake --install build
|
||||
ninja -C build -j ${JOBS:-1}
|
||||
DESTDIR=$PKG ninja -C build install
|
||||
}
|
||||
|
@ -5,15 +5,8 @@ drwxr-xr-x root/root usr/include/
|
||||
-rw-r--r-- root/root usr/include/mikmod.h
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
-rw-r--r-- root/root usr/lib/libmikmod.a
|
||||
-rwxr-xr-x root/root usr/lib/libmikmod.la
|
||||
lrwxrwxrwx root/root usr/lib/libmikmod.so -> libmikmod.so.3.3.0
|
||||
lrwxrwxrwx root/root usr/lib/libmikmod.so -> libmikmod.so.3
|
||||
lrwxrwxrwx root/root usr/lib/libmikmod.so.3 -> libmikmod.so.3.3.0
|
||||
-rwxr-xr-x root/root usr/lib/libmikmod.so.3.3.0
|
||||
drwxr-xr-x root/root usr/lib/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/libmikmod.pc
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/aclocal/
|
||||
-rw-r--r-- root/root usr/share/aclocal/libmikmod.m4
|
||||
drwxr-xr-x root/root usr/share/man/
|
||||
drwxr-xr-x root/root usr/share/man/man1/
|
||||
-rw-r--r-- root/root usr/share/man/man1/libmikmod-config.1.gz
|
||||
|
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF30CrRYwDHze80fVOXBuvqNXq18SekewzOy36cTd3vH1APEBpDk+27VcCwTdP/YjQxU3xYiE3DwdxkJZFYqvYuwU=
|
||||
SHA256 (Pkgfile) = 531a512efcad8b734c6fcf7838a2ad4c34b8b6f610a9ae5fd087599be90502a2
|
||||
SHA256 (.footprint) = 75e9fc93a29c4e853792bae5e926a97e4dc0f0f984ff4e00348fc0bcbef9dacc
|
||||
SHA256 (libmikmod-3.3.11.1.tar.gz) = ad9d64dfc8f83684876419ea7cd4ff4a41d8bcd8c23ef37ecb3a200a16b46d19
|
||||
RWSagIOpLGJF3w/ZYVxLEXuz9mvDk3t3/HEx81X1SUWu8T3hxsz6cv5XLY7YtL0PBJFn6C2q3051iog3PwWHvc9qsiBp8kRUwgU=
|
||||
SHA256 (Pkgfile) = c549b174da1d2f62e359d9158a760546f0328175f1e0ff02593c92cd0aff6bc5
|
||||
SHA256 (.footprint) = 399626efea6df9ba39f6b465152243667bcc76ad65d8d5c456b67ac8dea084a8
|
||||
SHA256 (libmikmod-3.3.11.1.tar.gz) = 7293e0e032b74358531c760a338fc37c44d08f64d61a3318192ae868e21c84e8
|
||||
|
@ -1,20 +1,21 @@
|
||||
# Description: A library which supports many formats, including: mod, s3m, it, and xm.
|
||||
# URL: http://mikmod.raphnet.net/
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# URL: https://sourceforge.net/projects/mikmod/
|
||||
# Maintainer: John McQuah, jmcquah at disroot dot org
|
||||
# Depends on: alsa-lib
|
||||
|
||||
name=libmikmod
|
||||
version=3.3.11.1
|
||||
release=1
|
||||
source=(https://downloads.sourceforge.net/project/mikmod/libmikmod/$version/$name-$version.tar.gz)
|
||||
source=(https://github.com/sezero/mikmod/archive/refs/tags/$name-$version.tar.gz)
|
||||
|
||||
build(){
|
||||
cd $name-$version
|
||||
cmake -B build -S mikmod-$name-$version/$name \
|
||||
-G Ninja -D CMAKE_BUILD_TYPE=Release \
|
||||
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
-D ENABLE_DOC=OFF \
|
||||
-Wno-dev
|
||||
|
||||
./configure --prefix=/usr
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
rm -r $PKG/usr/share/info
|
||||
ninja -C build -j ${JOBS:-1}
|
||||
DESTDIR=$PKG ninja -C build install
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user