wok-next annotate libsdl2-mixer/receipt @ rev 20235
Up fluidsynth, libsdl2-mixer, libsdl2-net, libsdl2-ttf, add libsmpeg2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Nov 06 11:12:40 2017 +0200 (2017-11-06) |
parents | f28a3772c252 |
children | c4e53a39395a |
rev | line source |
---|---|
al@20231 | 1 # SliTaz package receipt v2. |
tcg@17135 | 2 |
tcg@17135 | 3 PACKAGE="libsdl2-mixer" |
al@20231 | 4 VERSION="2.0.1" |
al@20231 | 5 CATEGORY="multimedia" |
al@20231 | 6 SHORT_DESC="A multichannel sample and music mixer" |
tcg@17135 | 7 MAINTAINER="tcg.thegamer@gmail.com" |
tcg@17135 | 8 LICENSE="LGPL2.1" |
tcg@17135 | 9 WEB_SITE="http://www.libsdl.org/projects/SDL_mixer/" |
tcg@17135 | 10 HOST_ARCH="i486 arm" |
tcg@17135 | 11 |
al@20231 | 12 TARBALL="SDL2_mixer-$VERSION.tar.gz" |
al@20231 | 13 WGET_URL="http://www.libsdl.org/projects/SDL_mixer/release/$TARBALL" |
tcg@17135 | 14 |
al@20235 | 15 BUILD_DEPENDS="libsdl2-dev libmodplug-dev fluidsynth-dev libvorbis-dev \ |
al@20235 | 16 flac-dev libsmpeg2-dev" |
al@20231 | 17 SPLIT="libsdl2-mixer-dev" |
al@20231 | 18 |
al@20231 | 19 compile_rules() { |
al@20235 | 20 ./configure $CONFIGURE_ARGS && make && make install |
tcg@17135 | 21 } |
tcg@17135 | 22 |
al@20231 | 23 genpkg_rules() { |
al@20231 | 24 case $PACKAGE in |
al@20231 | 25 libsdl2-mixer) |
al@20231 | 26 copy @std |
al@20235 | 27 DEPENDS="libsdl2 tslib" |
al@20235 | 28 SUGGESTED="libmodplug fluidsynth libvorbis libogg flac libsmpeg2" |
al@20231 | 29 ;; |
al@20231 | 30 *-dev) |
al@20231 | 31 copy @dev |
al@20231 | 32 DEPENDS="libsdl2-mixer libsdl2-dev tslib-dev" |
al@20231 | 33 ;; |
al@20231 | 34 esac |
tcg@17135 | 35 } |