mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
SDL_mixer: convert to new package format
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
9de7b83316
commit
f980984995
@ -1,51 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# OpenELEC is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 2 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenELEC is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
|
||||||
./configure --host=$TARGET_NAME \
|
|
||||||
--build=$HOST_NAME \
|
|
||||||
--prefix=/usr \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--localstatedir=/var \
|
|
||||||
--enable-shared \
|
|
||||||
--disable-static \
|
|
||||||
--disable-music-cmd \
|
|
||||||
--disable-music-wave \
|
|
||||||
--disable-music-mod \
|
|
||||||
--disable-music-midi \
|
|
||||||
--disable-music-timidity-midi \
|
|
||||||
--disable-music-native-midi \
|
|
||||||
--disable-music-native-midi-gpl \
|
|
||||||
--enable-music-ogg \
|
|
||||||
--enable-music-ogg-shared \
|
|
||||||
--disable-music-flac \
|
|
||||||
--disable-music-flac-shared \
|
|
||||||
--disable-music-mp3 \
|
|
||||||
--enable-music-mp3-shared \
|
|
||||||
--enable-music-mp3-mad-gpl \
|
|
||||||
--disable-smpegtest \
|
|
||||||
--with-gnu-ld \
|
|
||||||
--with-sdl-prefix=$SYSROOT_PREFIX/usr \
|
|
||||||
|
|
||||||
make
|
|
||||||
|
|
||||||
$MAKEINSTALL
|
|
@ -1,24 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# OpenELEC is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 2 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenELEC is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
|
||||||
cp -P $PKG_BUILD/build/.libs/*.so* $INSTALL/usr/lib
|
|
@ -23,12 +23,30 @@ PKG_ARCH="any"
|
|||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="http://www.libsdl.org/"
|
PKG_SITE="http://www.libsdl.org/"
|
||||||
PKG_URL="http://www.libsdl.org/projects/SDL_mixer/release/$PKG_NAME-$PKG_VERSION.tar.gz"
|
PKG_URL="http://www.libsdl.org/projects/SDL_mixer/release/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
PKG_DEPENDS="SDL libmad libogg"
|
PKG_DEPENDS_TARGET="SDL libmad libogg"
|
||||||
PKG_BUILD_DEPENDS="toolchain SDL libmad libogg"
|
PKG_BUILD_DEPENDS_TARGET="toolchain SDL libmad libogg"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="multimedia"
|
PKG_SECTION="multimedia"
|
||||||
PKG_SHORTDESC="libsdl_mixer: Simple Directmedia Layer - Mixer"
|
PKG_SHORTDESC="libsdl_mixer: Simple Directmedia Layer - Mixer"
|
||||||
PKG_LONGDESC="SDL_mixer is a sound mixing library that is used with the SDL library, and almost as portable. It allows a programmer to use multiple samples along with music without having to code a mixing algorithm themselves. It also simplyfies the handling of loading and playing samples and music from all sorts of file formats."
|
PKG_LONGDESC="SDL_mixer is a sound mixing library that is used with the SDL library, and almost as portable. It allows a programmer to use multiple samples along with music without having to code a mixing algorithm themselves. It also simplyfies the handling of loading and playing samples and music from all sorts of file formats."
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="no"
|
PKG_AUTORECONF="no"
|
||||||
|
|
||||||
|
PKG_CONFIGURE_OPTS_TARGET="--disable-music-cmd \
|
||||||
|
--disable-music-wave \
|
||||||
|
--disable-music-mod \
|
||||||
|
--disable-music-midi \
|
||||||
|
--disable-music-timidity-midi \
|
||||||
|
--disable-music-native-midi \
|
||||||
|
--disable-music-native-midi-gpl \
|
||||||
|
--enable-music-ogg \
|
||||||
|
--enable-music-ogg-shared \
|
||||||
|
--disable-music-flac \
|
||||||
|
--disable-music-flac-shared \
|
||||||
|
--disable-music-mp3 \
|
||||||
|
--enable-music-mp3-shared \
|
||||||
|
--enable-music-mp3-mad-gpl \
|
||||||
|
--disable-smpegtest \
|
||||||
|
--with-gnu-ld \
|
||||||
|
--with-sdl-prefix=$SYSROOT_PREFIX/usr"
|
Loading…
x
Reference in New Issue
Block a user