libmodplug: adopted, updated source url, new build system cmake/ninja
This commit is contained in:
parent
0545540d73
commit
658305638a
@ -6,8 +6,7 @@ drwxr-xr-x root/root usr/include/libmodplug/
|
||||
-rw-r--r-- root/root usr/include/libmodplug/sndfile.h
|
||||
-rw-r--r-- root/root usr/include/libmodplug/stdafx.h
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
-rwxr-xr-x root/root usr/lib/libmodplug.la
|
||||
lrwxrwxrwx root/root usr/lib/libmodplug.so -> libmodplug.so.1.0.0
|
||||
lrwxrwxrwx root/root usr/lib/libmodplug.so -> libmodplug.so.1
|
||||
lrwxrwxrwx root/root usr/lib/libmodplug.so.1 -> libmodplug.so.1.0.0
|
||||
-rwxr-xr-x root/root usr/lib/libmodplug.so.1.0.0
|
||||
drwxr-xr-x root/root usr/lib/pkgconfig/
|
||||
|
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF30tRv2vp28neXa5SHPHc1EpmUqSqfOotw2rRPuiUFZem/q3xyT4ePfVKwxYJp2wdzYW0FuJY2JokVqCdnaBiuQE=
|
||||
SHA256 (Pkgfile) = 4f1089685d0cef0fc25bc7f2ee48e245dbabf50f9d7891be5722dc12bcca048c
|
||||
SHA256 (.footprint) = 562c0503d0737e17d4878355a3faa9e46bd14d11c0d04fb0abaeaa5f69bb2d35
|
||||
SHA256 (libmodplug-0.8.9.0.tar.gz) = 457ca5a6c179656d66c01505c0d95fafaead4329b9dbaa0f997d00a3508ad9de
|
||||
RWSagIOpLGJF3yhLzEFy9TeQyXB4ZF6119YE0TmfycPl2xqLqPSWsBJS+S9G1HDModUybl9E731HEa/Yg2dUYK4fg46HXuwwTwU=
|
||||
SHA256 (Pkgfile) = 0b5e944c62683b7fd1617fc56121035c960e9714b7dd72398685814a4403e6b2
|
||||
SHA256 (.footprint) = 982cacbf507ed426707156c840bd06edba1163852269f49852f3d29cc592f3de
|
||||
SHA256 (libmodplug-0.8.9.1-d1b97ed00.zip) = c6b2c4760c11c340004d068d89427e153bbdd1c5fff0c513f8a2b25623fa42e7
|
||||
|
@ -1,16 +1,23 @@
|
||||
# Description: Library for playing module music.
|
||||
# URL: http://modplug-xmms.sourceforge.net/
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Packager: Jukka Heino, vector at pp dot nic dot fi
|
||||
# URL: https://github.com/Konstanty/libmodplug
|
||||
# Maintainer: John McQuah, jmcquah at disroot dot org
|
||||
|
||||
name=libmodplug
|
||||
version=0.8.9.0
|
||||
version=0.8.9.1
|
||||
_commit=d1b97ed00
|
||||
release=1
|
||||
source=(http://downloads.sourceforge.net/project/modplug-xmms/$name/$version/$name-$version.tar.gz)
|
||||
source=(https://github.com/Konstanty/$name/archive/$_commit.zip)
|
||||
renames=($name-$version-$_commit.zip)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
cmake -B build -S $name-$_commit* -G Ninja \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
|
||||
-DCMAKE_C_FLAGS="$CFLAGS" \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
|
||||
ninja -C build -j ${JOBS:-1}
|
||||
DESTDIR=$PKG ninja -C build install
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user