Skip to content

Commit

Permalink
Update libxmp to newer version
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkwouter committed Jul 6, 2023
1 parent f31e4c7 commit cb3e12e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions libxmp-lite/VITABUILD
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
pkgname=libxmp-lite
pkgver=4.5.0
pkgver=4.6.0
pkgrel=1
url="https://github.com/libxmp/libxmp"
source=("https://github.com/libxmp/libxmp/releases/download/libxmp-${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('19a019abd5a3ddf449cd20ca52cfe18970f6ab28abdffdd54cff563981a943bb')
sha256sums=('71a93eb0119824bcc56eca95db154d1cdf30304b33d89a4732de6fef8a2c6f38')

build() {
cd $pkgname-$pkgver
./configure --host=arm-vita-eabi --prefix=$prefix --disable-shared --enable-static
mkdir -p build && cd build
cmake -DCMAKE_TOOLCHAIN_FILE=$VITASDK/share/vita.toolchain.cmake -DCMAKE_INSTALL_PREFIX=$prefix -DBUILD_SHARED_LIBS=OFF \
-DCMAKE_POSITION_INDEPENDENT_CODE=OFF ..
make -j$(nproc)
}

package () {
cd $pkgname-$pkgver
cd $pkgname-$pkgver/build
make DESTDIR=$pkgdir install
}

0 comments on commit cb3e12e

Please sign in to comment.