diff --git a/packages/multimedia/SDL_mixer/build b/packages/multimedia/SDL_mixer/build deleted file mode 100755 index 86a7fd05bd..0000000000 --- a/packages/multimedia/SDL_mixer/build +++ /dev/null @@ -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 . -################################################################################ - -. 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 diff --git a/packages/multimedia/SDL_mixer/install b/packages/multimedia/SDL_mixer/install deleted file mode 100755 index 9b6f3ea6fd..0000000000 --- a/packages/multimedia/SDL_mixer/install +++ /dev/null @@ -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 . -################################################################################ - -. config/options $1 - -mkdir -p $INSTALL/usr/lib - cp -P $PKG_BUILD/build/.libs/*.so* $INSTALL/usr/lib diff --git a/packages/multimedia/SDL_mixer/meta b/packages/multimedia/SDL_mixer/package.mk similarity index 61% rename from packages/multimedia/SDL_mixer/meta rename to packages/multimedia/SDL_mixer/package.mk index 3b93de98de..0f2a872c09 100644 --- a/packages/multimedia/SDL_mixer/meta +++ b/packages/multimedia/SDL_mixer/package.mk @@ -23,12 +23,30 @@ PKG_ARCH="any" PKG_LICENSE="GPL" PKG_SITE="http://www.libsdl.org/" PKG_URL="http://www.libsdl.org/projects/SDL_mixer/release/$PKG_NAME-$PKG_VERSION.tar.gz" -PKG_DEPENDS="SDL libmad libogg" -PKG_BUILD_DEPENDS="toolchain SDL libmad libogg" +PKG_DEPENDS_TARGET="SDL libmad libogg" +PKG_BUILD_DEPENDS_TARGET="toolchain SDL libmad libogg" PKG_PRIORITY="optional" PKG_SECTION="multimedia" 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_IS_ADDON="no" +PKG_IS_ADDON="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"