Skip to content

Commit

Permalink
Add SDL Mixer X
Browse files Browse the repository at this point in the history
  • Loading branch information
v-atamanenko authored and d3m3vilurr committed Jul 5, 2023
1 parent dd63c8f commit fd618df
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions sdl2_mixer_ext/VITABUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
pkgname=sdl2_mixer_ext
pkgver=d149f1ecb1052ee207ca413e36b01923870faf17
pkgrel=1
url="https://github.com/WohlSoft/SDL-Mixer-X"
source=("https://github.com/WohlSoft/SDL-Mixer-X/archive/${pkgver}.zip")
sha256sums=("a4005a2e45838dd1d0f1205b7cb1e9c58b555b835bb5f651cfd4ab46de079b32")

depends=('sdl2' 'libvorbis' 'libxmp' 'libmodplug' 'mpg123' 'flac' 'opusfile')

build() {
cd SDL-Mixer-X-${pkgver}
mkdir build && cd build
cmake .. -DVITA=1 -DCMAKE_TOOLCHAIN_FILE=$VITASDK/share/vita.toolchain.cmake -DCMAKE_INSTALL_PREFIX=$prefix
make -j$(nproc)
}

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

0 comments on commit fd618df

Please sign in to comment.