-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVITABUILD
19 lines (17 loc) · 835 Bytes
/
VITABUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
pkgname=libopenmpt
pkgver=0.4.11
pkgrel=1
url="https://lib.openmpt.org/"
source=("https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-0.4.11+release.autotools.tar.gz")
sha256sums=('SKIP'
'260e92cc2f6af37113442bff2c75a3c36a09eba4078dc593203a0502f95d26bd')
build() {
cd libopenmpt-0.4.11+release.autotools
export CPPFLAGS="-DMPT_FORCE_POSIX -std=c++11"
patch -Np1 -i "mutex_patch.patch"
./configure --host=arm-vita-eabi --prefix=$VITASDK/arm-vita-eabi --disable-shared --enable-static --disable-libmodplug --disable-doxygen-doc --disable-openmpt123 --disable-examples --disable-tests --without-mpg123 --without-ogg --without-vorbis --without-vorbisfile --without-portaudio --without-portaudiocpp --without-sndfile --without-flac --without-zlib
make CONFIG=gcc
}
package() {
make DESTDIR=${pkgdir} install
}