Compare commits
6 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7b12fa59d4 | ||
|
|
0380d202ef | ||
|
|
635831e16e | ||
|
|
809cc92e9a | ||
|
|
aefa52059a | ||
|
|
e2c7939c4f |
7 changed files with 144 additions and 64 deletions
|
|
@ -1 +0,0 @@
|
||||||
30375-akode-2.0.1.tar.bz2
|
|
||||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
30375-akode-2.0.2.tar.bz2
|
||||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
||||||
# Makefile for source rpm: akode
|
|
||||||
# $Id$
|
|
||||||
NAME := akode
|
|
||||||
SPECFILE = $(firstword $(wildcard *.spec))
|
|
||||||
|
|
||||||
define find-makefile-common
|
|
||||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
|
||||||
|
|
||||||
ifeq ($(MAKEFILE_COMMON),)
|
|
||||||
# attept a checkout
|
|
||||||
define checkout-makefile-common
|
|
||||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
|
||||||
endif
|
|
||||||
|
|
||||||
include $(MAKEFILE_COMMON)
|
|
||||||
11
akode-2.0.2-flac113-portable.patch
Normal file
11
akode-2.0.2-flac113-portable.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
--- branches/kdesupport/3.5/kdesupport/akode/plugins/xiph_decoder/flac113_decoder.cpp 2007/04/14 22:11:43 654042
|
||||||
|
+++ branches/kdesupport/3.5/kdesupport/akode/plugins/xiph_decoder/flac113_decoder.cpp 2007/04/14 22:14:06 654043
|
||||||
|
@@ -108,7 +108,7 @@
|
||||||
|
static FLAC__StreamDecoderReadStatus flac_read_callback(
|
||||||
|
const FLAC__StreamDecoder *,
|
||||||
|
FLAC__byte buffer[],
|
||||||
|
- unsigned *bytes,
|
||||||
|
+ size_t *bytes,
|
||||||
|
void *client_data)
|
||||||
|
{
|
||||||
|
FLACDecoder::private_data *data = (FLACDecoder::private_data*)client_data;
|
||||||
65
akode-2.0.2-multilib.patch
Normal file
65
akode-2.0.2-multilib.patch
Normal file
|
|
@ -0,0 +1,65 @@
|
||||||
|
diff -up /dev/null akode-2.0.2/akode/akode.pc.in
|
||||||
|
--- /dev/null 2007-12-13 13:41:14.965729569 -0600
|
||||||
|
+++ akode-2.0.2/akode/akode.pc.in 2007-12-23 21:32:59.000000000 -0600
|
||||||
|
@@ -0,0 +1,11 @@
|
||||||
|
+prefix=@prefix@
|
||||||
|
+exec_prefix=@prefix@
|
||||||
|
+libdir=@libdir@
|
||||||
|
+includedir=@includedir@
|
||||||
|
+
|
||||||
|
+Name: akode
|
||||||
|
+Description: aKode is a simple audio-decoding frame-work
|
||||||
|
+Version: 2.0.2
|
||||||
|
+Libs: -L${libdir} -lakode
|
||||||
|
+Cflags: -I${includedir}
|
||||||
|
+
|
||||||
|
diff -up akode-2.0.2/akode/configure.in.in.multilib akode-2.0.2/akode/configure.in.in
|
||||||
|
--- akode-2.0.2/akode/configure.in.in.multilib 2007-12-23 21:32:59.000000000 -0600
|
||||||
|
+++ akode-2.0.2/akode/configure.in.in 2007-12-23 21:32:59.000000000 -0600
|
||||||
|
@@ -1,5 +1,6 @@
|
||||||
|
dnl don't remove the below
|
||||||
|
dnl AC_OUTPUT(akode/akode-config)
|
||||||
|
+dnl AC_OUTPUT(akode/akode.pc)
|
||||||
|
|
||||||
|
AM_CONFIG_HEADER(akode/lib/akode_export.h)
|
||||||
|
|
||||||
|
diff -up akode-2.0.2/akode/akode-config.in.multilib akode-2.0.2/akode/akode-config.in
|
||||||
|
--- akode-2.0.2/akode/akode-config.in.multilib 2007-04-06 08:16:47.000000000 -0500
|
||||||
|
+++ akode-2.0.2/akode/akode-config.in 2007-12-23 21:37:40.000000000 -0600
|
||||||
|
@@ -15,9 +15,8 @@ EOH
|
||||||
|
}
|
||||||
|
|
||||||
|
prefix=@prefix@
|
||||||
|
-exec_prefix=@exec_prefix@
|
||||||
|
-libdir=@libdir@
|
||||||
|
-includedir=@includedir@
|
||||||
|
+akode_libs="`pkg-config --libs akode`"
|
||||||
|
+akode_cflags="`pkg-config --cflags akode`"
|
||||||
|
|
||||||
|
flags=""
|
||||||
|
|
||||||
|
@@ -29,10 +28,10 @@ while test $# -gt 0
|
||||||
|
do
|
||||||
|
case $1 in
|
||||||
|
--libs)
|
||||||
|
- flags="$flags -L$libdir -lakode"
|
||||||
|
+ flags="$flags $akode_libs"
|
||||||
|
;;
|
||||||
|
--cflags)
|
||||||
|
- flags="$flags -I$includedir"
|
||||||
|
+ flags="$flags $akode_cflags"
|
||||||
|
;;
|
||||||
|
--version)
|
||||||
|
echo 2.0.2
|
||||||
|
diff -up akode-2.0.2/akode/Makefile.am.multilib akode-2.0.2/akode/Makefile.am
|
||||||
|
--- akode-2.0.2/akode/Makefile.am.multilib 2005-07-14 09:27:18.000000000 -0500
|
||||||
|
+++ akode-2.0.2/akode/Makefile.am 2007-12-23 21:32:59.000000000 -0600
|
||||||
|
@@ -1,3 +1,8 @@
|
||||||
|
bin_SCRIPTS = akode-config
|
||||||
|
|
||||||
|
SUBDIRS= lib plugins akodeplay
|
||||||
|
+
|
||||||
|
+pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
+pkgconfig_DATA = akode.pc
|
||||||
|
+
|
||||||
|
+EXTRA_DIST = akode.pc.in
|
||||||
107
akode.spec
107
akode.spec
|
|
@ -1,40 +1,35 @@
|
||||||
|
|
||||||
Summary: Audio-decoding framework
|
Summary: Audio-decoding framework
|
||||||
Name: akode
|
Name: akode
|
||||||
Version: 2.0.1
|
Version: 2.0.2
|
||||||
Release: 6%{?dist}
|
Release: 4%{?dist}
|
||||||
License: LGPL
|
|
||||||
|
License: LGPLv2+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
#URL: http://carewolf.com/akode/
|
#URL: http://carewolf.com/akode/
|
||||||
URL: http://www.kde-apps.org/content/show.php?content=30375
|
URL: http://www.kde-apps.org/content/show.php?content=30375
|
||||||
Source0: http://www.kde-apps.org/content/files/30375-akode-%{version}.tar.bz2
|
Source0: http://www.kde-apps.org/CONTENT/content-files/30375-akode-%{version}.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
Patch1: akode-pulseaudio.patch
|
Patch1: akode-pulseaudio.patch
|
||||||
|
Patch2: akode-2.0.2-multilib.patch
|
||||||
|
Patch3: akode-2.0.2-flac113-portable.patch
|
||||||
|
|
||||||
#Conflicts: kdemultimedia < 6:3.5
|
%define _with_flac --with-flac
|
||||||
|
|
||||||
%if 0%{?fedora} > 4
|
%if 0%{?fedora} > 4
|
||||||
%define _with_jack --with-jack
|
%define _with_jack --with-jack
|
||||||
|
%define _with_libsamplerate --with-libsamplerate
|
||||||
%define _with_pulseaudio --with-pulseaudio
|
%define _with_pulseaudio --with-pulseaudio
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?fedora} > 6
|
BuildRequires: automake libtool
|
||||||
%define _with_pulseaudio --with-pulseaudio
|
|
||||||
# pulseaudio is/will-be the F7 default,
|
|
||||||
Requires: %{name}-pulseaudio
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
BuildRequires: automake
|
|
||||||
BuildRequires: alsa-lib-devel
|
BuildRequires: alsa-lib-devel
|
||||||
BuildRequires: flac-devel
|
%{?_with_flac:BuildRequires: flac-devel}
|
||||||
BuildRequires: libsamplerate-devel
|
|
||||||
BuildRequires: speex-devel
|
|
||||||
BuildRequires: libvorbis-devel
|
|
||||||
BuildRequires: libtool
|
|
||||||
%{?_with_jack:BuildRequires: jack-audio-connection-kit-devel}
|
%{?_with_jack:BuildRequires: jack-audio-connection-kit-devel}
|
||||||
%{?_with_pulseaudio:BuildRequires: pulseaudio-devel}
|
%{?_with_libsamplerate:BuildRequires: libsamplerate-devel}
|
||||||
|
BuildRequires: libvorbis-devel
|
||||||
|
%{?_with_pulseaudio:BuildRequires: pulseaudio-lib-devel}
|
||||||
|
BuildRequires: speex-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
aKode is a simple audio-decoding frame-work that provides a uniform
|
aKode is a simple audio-decoding frame-work that provides a uniform
|
||||||
|
|
@ -46,13 +41,13 @@ aKode currently has the following decoder plugins:
|
||||||
* xiph: Decodes FLAC, Ogg/FLAC, Speex and Ogg Vorbis audio.
|
* xiph: Decodes FLAC, Ogg/FLAC, Speex and Ogg Vorbis audio.
|
||||||
|
|
||||||
aKode also has the following audio outputs:
|
aKode also has the following audio outputs:
|
||||||
* oss: Outputs to the OSS (Open Sound System)
|
|
||||||
* alsa: Outputs to ALSA (dmix is recommended).
|
* alsa: Outputs to ALSA (dmix is recommended).
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Headers for developing programs that will use %{name}
|
Summary: Headers for developing programs that will use %{name}
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: pkgconfig
|
||||||
%description devel
|
%description devel
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
|
|
@ -63,30 +58,33 @@ Requires: %{name} = %{version}-%{release}
|
||||||
%description jack
|
%description jack
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
%package libsamplerate
|
%package pulseaudio
|
||||||
Summary: Resampler based on (GPL) libsamplerate for %{name}
|
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
%description libsamplerate
|
|
||||||
%{summary}.
|
|
||||||
Packaged separately to keep main/core %{akode} package LGPL-clean.
|
|
||||||
|
|
||||||
%package pulseaudio
|
|
||||||
Summary: Pulseaudio output backend for %{name}
|
Summary: Pulseaudio output backend for %{name}
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
%description pulseaudio
|
%description pulseaudio
|
||||||
%{summary}.
|
%{summary}.
|
||||||
Recommended for network transparent audio.
|
Recommended for network transparent audio.
|
||||||
|
|
||||||
|
# Packaged separately to keep main/core %{akode} package LGPL-clean.
|
||||||
|
%package libsamplerate
|
||||||
|
Summary: Resampler based on libsamplerate for %{name}
|
||||||
|
Group: Development/Libraries
|
||||||
|
License: GPLv2+
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
%description libsamplerate
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}%{?beta}
|
%setup -q -n %{name}-%{version}%{?beta}
|
||||||
|
|
||||||
%patch1 -p1 -b .pulseaudio
|
%patch1 -p1 -b .pulseaudio
|
||||||
|
%patch2 -p1 -b .multilib
|
||||||
|
%patch3 -p4 -b .flac113_portable
|
||||||
|
|
||||||
[ ! -f configure ] && make -f Makefile.cvs
|
#[ ! -f configure ] && \
|
||||||
|
make -f Makefile.cvs
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
@ -95,9 +93,10 @@ Recommended for network transparent audio.
|
||||||
--disable-debug --disable-warnings --disable-dependency-tracking \
|
--disable-debug --disable-warnings --disable-dependency-tracking \
|
||||||
--without-libltdl \
|
--without-libltdl \
|
||||||
--with-alsa \
|
--with-alsa \
|
||||||
--with-flac \
|
--without-oss \
|
||||||
|
%{?_with_flac} %{!?_with_flac:--without-flac} \
|
||||||
%{?_with_jack} %{!?_with_jack:--without-jack} \
|
%{?_with_jack} %{!?_with_jack:--without-jack} \
|
||||||
--with-libsamplerate \
|
%{?_with_libsamplerate} %{!?_with_libsamplerate:--without-libsamplerate} \
|
||||||
%{?_with_pulseaudio} %{!?_with_pulseaudio:--without-pulseaudio} \
|
%{?_with_pulseaudio} %{!?_with_pulseaudio:--without-pulseaudio} \
|
||||||
--with-speex \
|
--with-speex \
|
||||||
--with-vorbis \
|
--with-vorbis \
|
||||||
|
|
@ -108,12 +107,13 @@ make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=%{buildroot}
|
||||||
|
|
||||||
# unpackaged files
|
# unpackaged files
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
|
rm -f %{buildroot}%{_libdir}/lib*.la
|
||||||
|
#rm -f %{buildroot}%{_libdir}/libakode_oss_sink.so
|
||||||
|
|
||||||
# rpmdocs
|
# rpmdocs
|
||||||
for file in AUTHORS COPYING NEWS README TODO ; do
|
for file in AUTHORS COPYING NEWS README TODO ; do
|
||||||
|
|
@ -122,7 +122,7 @@ done
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
@ -136,7 +136,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%{_bindir}/akodeplay
|
%{_bindir}/akodeplay
|
||||||
%{_libdir}/libakode.so.*
|
%{_libdir}/libakode.so.*
|
||||||
%{_libdir}/libakode_alsa_sink.so
|
%{_libdir}/libakode_alsa_sink.so
|
||||||
%{_libdir}/libakode_oss_sink.so
|
|
||||||
%{_libdir}/libakode_mpc_decoder.so
|
%{_libdir}/libakode_mpc_decoder.so
|
||||||
%{_libdir}/libakode_xiph_decoder.so
|
%{_libdir}/libakode_xiph_decoder.so
|
||||||
|
|
||||||
|
|
@ -145,6 +144,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%{_bindir}/akode-config
|
%{_bindir}/akode-config
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%{_libdir}/libakode.so
|
%{_libdir}/libakode.so
|
||||||
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
|
||||||
%if "%{?_with_jack:1}" == "1"
|
%if "%{?_with_jack:1}" == "1"
|
||||||
%files jack
|
%files jack
|
||||||
|
|
@ -152,9 +152,12 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%{_libdir}/libakode_jack_sink.so
|
%{_libdir}/libakode_jack_sink.so
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# License: GPLv2+
|
||||||
|
%if "%{?_with_libsamplerate:1}" == "1"
|
||||||
%files libsamplerate
|
%files libsamplerate
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_libdir}/libakode_src_resampler.so
|
%{_libdir}/libakode_src_resampler.so
|
||||||
|
%endif
|
||||||
|
|
||||||
%if "%{?_with_pulseaudio:1}" == "1"
|
%if "%{?_with_pulseaudio:1}" == "1"
|
||||||
%files pulseaudio
|
%files pulseaudio
|
||||||
|
|
@ -163,14 +166,36 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 07 2008 Rex Dieter <rdieter[AT]fedoraproject.org> 2.0.2-4
|
||||||
|
- -Requires: %%name-pulseaudio (can be added to kde-settings-pulseaudio)
|
||||||
|
|
||||||
|
* Sun Dec 23 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2.0.2-3
|
||||||
|
- fix flac113 support
|
||||||
|
|
||||||
|
* Sun Dec 23 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2.0.2-2
|
||||||
|
- fix multilib conflicts (#340591)
|
||||||
|
|
||||||
|
* Sun Dec 23 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2.0.2-1
|
||||||
|
- akode-2.0.2
|
||||||
|
|
||||||
|
* Wed Sep 26 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2.0.1-9
|
||||||
|
- BR: pulseaudio-libs-devel
|
||||||
|
|
||||||
|
* Mon Aug 20 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2.0.1-8
|
||||||
|
- -libsamplerate: License: GPLv2+
|
||||||
|
- omit oss_sink
|
||||||
|
|
||||||
|
* Sat Aug 11 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2.0.1-7
|
||||||
|
- Requires: %%{name}-pulseaudio (f8+)
|
||||||
|
- License: LGPLv2+
|
||||||
|
|
||||||
* Thu Feb 15 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2.0.1-6
|
* Thu Feb 15 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2.0.1-6
|
||||||
- respin (for flac, fc7+)
|
- respin (for flac, fc7+)
|
||||||
|
|
||||||
* Mon Feb 12 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2.0.1-5
|
* Mon Feb 12 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2.0.1-5
|
||||||
- enable pulseaudio support
|
- enable pulseaudio support
|
||||||
- Requires: akode-pulseaudio (fc7+)
|
- Requires: akode-pulseaudio (f7+)
|
||||||
|
|
||||||
* Thu Dec 14 2006 Rex Dieter <rexdieter[AT]users.sf.net> 2.0.1-4
|
* Thu Dec 14 2006 Rex Dieter <rexdieter[AT]users.sf.net> 2.0.1-4
|
||||||
- enable jack support (subpkg)
|
- enable jack support (subpkg)
|
||||||
|
|
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
94a10e7729b20b669bc5c7721f62e162 30375-akode-2.0.1.tar.bz2
|
659ced0c9c735cb3e55b9138ff02342c 30375-akode-2.0.2.tar.bz2
|
||||||
|
|
|
||||||
Reference in a new issue