Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37559040
en ru br
Репозитории ALT
S:1.2.12-alt2.git40a7e1a
5.1: 1.2.9-alt1
4.1: 1.2.8-alt1
4.0: 1.2.7-alt2
3.0: 1.2.6-alt2
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: SDL_mixer

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: SDL_mixer
Version: 1.2.12
Release: alt2.git40a7e1a
Summary: Simple DirectMedia Layer - mixer
Group: System/Libraries
License: LGPL-2.0+
Url: http://www.libsdl.org/projects/SDL_mixer/
# https://github.com/libsdl-org/SDL_mixer/tree/SDL-1.2

Packager: Valery Inozemtsev <shrek at altlinux.ru>

Source: %name-%version.tar
Patch: %name-1.2.11-alt5.patch

BuildRequires: gcc-c++ libSDL-devel libvorbis-devel libflac-devel libmikmod-devel
BuildRequires: libmad-devel
BuildRequires: libmpg123-devel libfluidsynth-devel

%description
SDL_mixer is a sample multi-channel audio mixer library.  It supports
any number of simultaneously playing channels of 16 bit stereo audio,
plus a single channel of music, mixed by the popular MikMod MOD,
Timidity MIDI, FLAC, Ogg Vorbis, and SMPEG MP3 libraries.

%package -n lib%name
Summary: Main library for %name
Group: System/Libraries
Requires: timidity-instruments
Provides: %name = %version-%release

%description -n lib%name
This package contains the library needed to run programs dynamically
linked with %name.

%package -n lib%name-devel
Summary: Header files for developing programs that will use %name
Group: Development/C
Requires: lib%name = %version-%release
Provides: %name-devel = %version-%release

%description -n lib%name-devel
This package contains the headers that programmers will need to develop
applications which will use %name.

%package utils
Summary: %name utilities for playing various types of sound files.
Group: System/Libraries
Requires: lib%name = %version-%release

%description utils
This package contains the %name console utilities for playing various
types of sound files using %name.

%prep
%setup
%patch -p1

cat acinclude/* > aclocal.m4

%build
autoconf
%configure \
--enable-music-mp3-mad-gpl \
--disable-music-mp3-shared \
--disable-music-ogg-shared \
--disable-music-flac-shared \
--disable-music-mod-shared \
--disable-static
# get rid of RPATH
sed -ri 's/^(hardcode_libdir_flag_spec|runpath_var)=.*/\1=/' libtool
%make_build

%install
%makeinstall_std

%files utils
%_bindir/playmus
%_bindir/playwave

%files -n lib%name
%doc CHANGES README
%_libdir/lib*.so.*

%files -n lib%name-devel
%_libdir/*.so
%_includedir/SDL
%_pkgconfigdir/*.pc

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin