Репозитории ALT
5.1: | 2.0.2-alt8 |
4.1: | 2.0.2-alt6 |
4.0: | 2.0.2-alt5 |
3.0: | |
+backports: | 2.0.1-alt0.1.M30 |
Группа :: Звук
Пакет: libakode
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%def_disable with_polyp
%def_enable with_gpl
%define rname akode
Name: lib%rname
Version: 2.0.2
%define beta %nil
%define rlz alt5
%if "%beta"
Release: %rlz.%beta
%else
Release: %rlz
%endif
Group: Sound
Summary: A simple audio backend
%if_enabled with_gpl
License: GPL
%else
License: LGPL
%endif
Url: http://carewolf.com/akode/
#http://www.kde-apps.org/usermanager/search.php?username=carewolf
Provides: kdemultimedia-akode = 3.5.0
Obsoletes: kdemultimedia-akode <= 3.5.0
Source0: %rname-%version%beta.tar.bz2
# MDK
Patch1: akode-2.0.2-ffmpeg-int64_c.patch
Patch2: akode-2.0.2-flac113-portable.patch
# ALT
Patch10: akode-2.0.2-alt-fix-compile.patch
#BuildRequires: gcc-c++ jackit-devel libalsa-devel libffmpeg-devel libflac-devel
#BuildRequires: libmad-devel libogg-devel liboggflac-devel libsamplerate-devel
#BuildRequires: libstdc++-devel libtheora-devel libvorbis-devel
#BuildRequires: pkg-config zlib-devel libspeex-devel libfaad-devel
#BuildRequires: libfaac-devel libdts-devel libx264-devel libdc1394-devel
#BuildRequires: libxvid-devel liblame-devel libgsm-devel
# Automatically added by buildreq on Mon May 28 2007
#BuildRequires: gcc-c++ gcc-fortran jackit-devel libalsa-devel libavformat-devel libflac-devel libmad-devel libsamplerate-devel libspeex-devel libvorbis-devel zlib-devel
BuildRequires: gcc-c++ jackit-devel libalsa-devel libavformat-devel libflac-devel libmad-devel libsamplerate-devel
BuildRequires: libspeex-devel libvorbis-devel zlib-devel pkg-config
%if_enabled with_polyp
BuildRequires: libpolypaudio-devel
%endif
%description
aKode is a simple audio-decoding frame-work that provides a uniform
interface to decode the most common audio-formats. It also has a
direct playback option for a number of audio-outputs.
aKode currently has the following decoder plugins:
mpeg: Uses libMAD to decoder all MPEG 1/2 layer I-III audio.
GPL licensed and
patent issue in the US.
mpc: Decodes musepack aka mpc audio. LGPL licensed.
xiph: Decodes FLAC, Ogg/FLAC, Speex and Ogg Vorbis audio. LGPL
licensed, patent free.
ffmpeg: Experimental decoder using the FFMPEG decoding library.
Enables WMA and
RealAudio
playback. LGPL and possible patent and reengineering issues
in the US.
aKode also has the following audio outputs:
oss: Outputs to the OSS (Open Sound System) of for instance FreeBSD
and Linux 2.4
alsa: Outputs to ALSA of Linux 2.6 (version 0.9 or 1.x required)
(dmix is recommended).
sun: Outputs to Sun OS/Solaris audio device .
jack: Outputs using Jack audio backend.
polyp:Output to the polypaudio server. Recommended for network
transparent audio.
%package devel
Summary: a simple audio backend
Group: Development/KDE and QT
Requires: %name = %version-%release
Requires: libstdc++-devel
%description devel
aKode is a simple audio backend suitable for simple actions.
%package out-jack
Summary: Jack support for libakode
Group: Sound
Requires: %name = %version-%release
%description out-jack
Jack support for %name
%package out-polypaudio
Summary: Polypaudio support for libakode
Group: Sound
Requires: %name = %version-%release
%description out-polypaudio
Polypaudio support for %name
%prep
%setup -q -n %rname-%version%beta
%patch1 -p1
%patch2 -p4
%patch10 -p1
%make -f admin/Makefile.common cvs
%build
%add_optflags -I%_includedir/speex
%configure \
--enable-shared \
--disable-static \
--disable-final \
--enable-pch \
--without-libltdl \
--with-gnu-ld \
--enable-new-ldflags \
--with-pic \
%if_enabled with_gpl
--with-libmad \
--with-libsamplerate \
%else
--without-libmad \
--without-libsamplerate \
%endif
--with-jack \
%if_enabled with_polyp
--with-polypaudio \
%else
--without-polypaudio \
%endif
--with-ffmpeg \
--with-oss \
--with-alsa \
--with-flac \
--with-speex \
--with-vorbis
%make_build
%install
%make DESTDIR=%buildroot install
%post
%post_ldconfig
%postun
%postun_ldconfig
%files
%_bindir/akodeplay
%_libdir/libakode.*
%_libdir/libakode_mpc_decoder.*
%_libdir/libakode_oss_sink.*
%_libdir/libakode_xiph_decoder.*
%_libdir/libakode_alsa_sink.*
%_libdir/libakode_ffmpeg_decoder.*
%if_enabled with_gpl
%_libdir/libakode_src_resampler.*
%_libdir/libakode_mpeg_decoder.*
%endif
%if_enabled with_polyp
%_libdir/libakode_polyp_sink.*
%endif
%files out-jack
%_libdir/libakode_jack_sink.*
%files devel
%_bindir/akode-config
%_includedir/akode/
%changelog
…
Полный changelog можно просмотреть здесь
%def_enable with_gpl
%define rname akode
Name: lib%rname
Version: 2.0.2
%define beta %nil
%define rlz alt5
%if "%beta"
Release: %rlz.%beta
%else
Release: %rlz
%endif
Group: Sound
Summary: A simple audio backend
%if_enabled with_gpl
License: GPL
%else
License: LGPL
%endif
Url: http://carewolf.com/akode/
#http://www.kde-apps.org/usermanager/search.php?username=carewolf
Provides: kdemultimedia-akode = 3.5.0
Obsoletes: kdemultimedia-akode <= 3.5.0
Source0: %rname-%version%beta.tar.bz2
# MDK
Patch1: akode-2.0.2-ffmpeg-int64_c.patch
Patch2: akode-2.0.2-flac113-portable.patch
# ALT
Patch10: akode-2.0.2-alt-fix-compile.patch
#BuildRequires: gcc-c++ jackit-devel libalsa-devel libffmpeg-devel libflac-devel
#BuildRequires: libmad-devel libogg-devel liboggflac-devel libsamplerate-devel
#BuildRequires: libstdc++-devel libtheora-devel libvorbis-devel
#BuildRequires: pkg-config zlib-devel libspeex-devel libfaad-devel
#BuildRequires: libfaac-devel libdts-devel libx264-devel libdc1394-devel
#BuildRequires: libxvid-devel liblame-devel libgsm-devel
# Automatically added by buildreq on Mon May 28 2007
#BuildRequires: gcc-c++ gcc-fortran jackit-devel libalsa-devel libavformat-devel libflac-devel libmad-devel libsamplerate-devel libspeex-devel libvorbis-devel zlib-devel
BuildRequires: gcc-c++ jackit-devel libalsa-devel libavformat-devel libflac-devel libmad-devel libsamplerate-devel
BuildRequires: libspeex-devel libvorbis-devel zlib-devel pkg-config
%if_enabled with_polyp
BuildRequires: libpolypaudio-devel
%endif
%description
aKode is a simple audio-decoding frame-work that provides a uniform
interface to decode the most common audio-formats. It also has a
direct playback option for a number of audio-outputs.
aKode currently has the following decoder plugins:
mpeg: Uses libMAD to decoder all MPEG 1/2 layer I-III audio.
GPL licensed and
patent issue in the US.
mpc: Decodes musepack aka mpc audio. LGPL licensed.
xiph: Decodes FLAC, Ogg/FLAC, Speex and Ogg Vorbis audio. LGPL
licensed, patent free.
ffmpeg: Experimental decoder using the FFMPEG decoding library.
Enables WMA and
RealAudio
playback. LGPL and possible patent and reengineering issues
in the US.
aKode also has the following audio outputs:
oss: Outputs to the OSS (Open Sound System) of for instance FreeBSD
and Linux 2.4
alsa: Outputs to ALSA of Linux 2.6 (version 0.9 or 1.x required)
(dmix is recommended).
sun: Outputs to Sun OS/Solaris audio device .
jack: Outputs using Jack audio backend.
polyp:Output to the polypaudio server. Recommended for network
transparent audio.
%package devel
Summary: a simple audio backend
Group: Development/KDE and QT
Requires: %name = %version-%release
Requires: libstdc++-devel
%description devel
aKode is a simple audio backend suitable for simple actions.
%package out-jack
Summary: Jack support for libakode
Group: Sound
Requires: %name = %version-%release
%description out-jack
Jack support for %name
%package out-polypaudio
Summary: Polypaudio support for libakode
Group: Sound
Requires: %name = %version-%release
%description out-polypaudio
Polypaudio support for %name
%prep
%setup -q -n %rname-%version%beta
%patch1 -p1
%patch2 -p4
%patch10 -p1
%make -f admin/Makefile.common cvs
%build
%add_optflags -I%_includedir/speex
%configure \
--enable-shared \
--disable-static \
--disable-final \
--enable-pch \
--without-libltdl \
--with-gnu-ld \
--enable-new-ldflags \
--with-pic \
%if_enabled with_gpl
--with-libmad \
--with-libsamplerate \
%else
--without-libmad \
--without-libsamplerate \
%endif
--with-jack \
%if_enabled with_polyp
--with-polypaudio \
%else
--without-polypaudio \
%endif
--with-ffmpeg \
--with-oss \
--with-alsa \
--with-flac \
--with-speex \
--with-vorbis
%make_build
%install
%make DESTDIR=%buildroot install
%post
%post_ldconfig
%postun
%postun_ldconfig
%files
%_bindir/akodeplay
%_libdir/libakode.*
%_libdir/libakode_mpc_decoder.*
%_libdir/libakode_oss_sink.*
%_libdir/libakode_xiph_decoder.*
%_libdir/libakode_alsa_sink.*
%_libdir/libakode_ffmpeg_decoder.*
%if_enabled with_gpl
%_libdir/libakode_src_resampler.*
%_libdir/libakode_mpeg_decoder.*
%endif
%if_enabled with_polyp
%_libdir/libakode_polyp_sink.*
%endif
%files out-jack
%_libdir/libakode_jack_sink.*
%files devel
%_bindir/akode-config
%_includedir/akode/
%changelog
…
Полный changelog можно просмотреть здесь