Compare commits

...
Sign in to create a new pull request.

11 commits

8 changed files with 1 additions and 205 deletions

View file

@ -1 +0,0 @@
flac-1.2.1.tar.gz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: xmms-flac
# $Id$
NAME := xmms-flac
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 $$d/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)

1
dead.package Normal file
View file

@ -0,0 +1 @@
now provided as a subpackage of flac

View file

@ -1,11 +0,0 @@
diff -up flac-1.2.1/examples/cpp/encode/file/main.cpp.gcc43 flac-1.2.1/examples/cpp/encode/file/main.cpp
--- flac-1.2.1/examples/cpp/encode/file/main.cpp.gcc43 2007-09-13 17:58:03.000000000 +0200
+++ flac-1.2.1/examples/cpp/encode/file/main.cpp 2008-01-08 10:27:39.000000000 +0100
@@ -29,6 +29,7 @@
#endif
#include <stdio.h>
+#include <string.h>
#include <stdlib.h>
#include "FLAC++/metadata.h"
#include "FLAC++/encoder.h"

View file

@ -1 +0,0 @@
153c8b15a54da428d1f0fadc756c22c7 flac-1.2.1.tar.gz

View file

@ -1,44 +0,0 @@
diff -Naupr flac-1.1.4.orig/src/plugin_xmms/Makefile.am flac-1.1.4/src/plugin_xmms/Makefile.am
--- flac-1.1.4.orig/src/plugin_xmms/Makefile.am 2007-02-02 07:25:04.000000000 +0100
+++ flac-1.1.4/src/plugin_xmms/Makefile.am 2007-08-23 12:03:05.000000000 +0200
@@ -30,7 +30,7 @@ noinst_HEADERS = \
plugin.h \
tag.h
-AM_CFLAGS = @OGG_CFLAGS@ @XMMS_CFLAGS@
+AM_CFLAGS = @OGG_CFLAGS@ @XMMS_CFLAGS@ -lFLAC
INCLUDES = -I$(top_srcdir)/src
if FLaC__INSTALL_XMMS_PLUGIN_LOCALLY
@@ -62,8 +62,7 @@ libxmms_flac_la_LIBADD = \
$(top_builddir)/src/share/replaygain_analysis/libreplaygain_analysis.la \
$(top_builddir)/src/share/replaygain_synthesis/libreplaygain_synthesis.la \
$(top_builddir)/src/share/utf8/libutf8.la \
- $(top_builddir)/src/libFLAC/libFLAC.la \
- -L$(top_builddir)/src/libFLAC/.libs \
+ -lFLAC \
@OGG_LIBS@ \
@XMMS_LIBS@ \
@LIBICONV@
diff -Naupr flac-1.1.4.orig/src/plugin_xmms/Makefile.in flac-1.1.4/src/plugin_xmms/Makefile.in
--- flac-1.1.4.orig/src/plugin_xmms/Makefile.in 2007-02-14 07:14:19.000000000 +0100
+++ flac-1.1.4/src/plugin_xmms/Makefile.in 2007-08-23 12:03:20.000000000 +0200
@@ -235,7 +235,7 @@ noinst_HEADERS = \
tag.h
-AM_CFLAGS = @OGG_CFLAGS@ @XMMS_CFLAGS@
+AM_CFLAGS = @OGG_CFLAGS@ @XMMS_CFLAGS@ -lFLAC
INCLUDES = -I$(top_srcdir)/src
@FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_FALSE@xmmsinputplugindir = @XMMS_INPUT_PLUGIN_DIR@
@@ -261,8 +261,7 @@ libxmms_flac_la_LIBADD = \
$(top_builddir)/src/share/replaygain_analysis/libreplaygain_analysis.la \
$(top_builddir)/src/share/replaygain_synthesis/libreplaygain_synthesis.la \
$(top_builddir)/src/share/utf8/libutf8.la \
- $(top_builddir)/src/libFLAC/libFLAC.la \
- -L$(top_builddir)/src/libFLAC/.libs \
+ -lFLAC \
@OGG_LIBS@ \
@XMMS_LIBS@ \
@LIBICONV@

View file

@ -1,9 +0,0 @@
[Desktop Entry]
Name=XMMS
Exec=xmms -p -e %F
Icon=xmms
MimeType=audio/x-flac;audio/flac;
Categories=AudioVideo;Player;
Terminal=false
Type=Application
NoDisplay=true

View file

@ -1,118 +0,0 @@
%define xmms_inputdir %(xmms-config --input-plugin-dir 2>/dev/null || echo %{_libdir}/xmms/General)
Summary: XMMS plugin needed to play FLAC (Free Lossless Audio Codec) files
Name: xmms-flac
Version: 1.2.1
Release: 1%{?dist}
# The entire FLAC sources are covered by multiple licenses, but the xmms plugin
# is only GPLv2+
License: GPLv2+
Group: Applications/Multimedia
URL: http://flac.sourceforge.net/
Source0: http://dl.sf.net/flac/flac-%{version}.tar.gz
Source1: xmms-flac.desktop
Patch0: xmms-flac-1.1.4-rpath.patch
Patch1: flac-1.2.1-gcc43.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires(post): desktop-file-utils
Requires(postun): desktop-file-utils
BuildRequires: xmms-devel, libogg-devel, gettext-devel
BuildRequires: flac-devel
BuildRequires: desktop-file-utils
%description
FLAC is a Free Lossless Audio Codec. The FLAC format supports streaming,
seeking, and archival, and gives 25-75% compression on typical CD audio.
This is the input plugin for XMMS to be able to read FLAC files.
%prep
%setup -q -n flac-%{version}
%patch0 -p1 -b .rpath
%patch1 -p1 -b .gcc43
%build
%configure --with-pic
%{__make} %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
%{__install} -D -m 0755 src/plugin_xmms/.libs/libxmms-flac.so \
%{buildroot}%{xmms_inputdir}/libxmms-flac.so
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
%clean
%{__rm} -rf %{buildroot}
%post
update-desktop-database &> /dev/null || :
%postun
update-desktop-database &> /dev/null || :
%files
%defattr(-,root,root,-)
%doc COPYING.GPL
%{_datadir}/applications/xmms-flac.desktop
%{xmms_inputdir}/libxmms-flac.so
%changelog
* Tue Dec 8 2009 Matthias Saou <http://freshrpms.net/> 1.2.1-1
- Update to 1.2.1.
* Tue Nov 24 2009 Matthias Saou <http://freshrpms.net/> 1.1.4-7
- Include hidden desktop entry for the mimetype (#508203).
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1.4-4
- Autorebuild for GCC 4.3
* Thu Aug 23 2007 Matthias Saou <http://freshrpms.net/> 1.1.4-3
- Include patch to remove rpath usage and link against external libFLAC.
* Fri Aug 3 2007 Matthias Saou <http://freshrpms.net/> 1.1.4-2
- Update License field.
* Thu Feb 15 2007 Matthias Saou <http://freshrpms.net/> 1.1.4-1
- Update to 1.1.4.
- Remove now included "xmms" patch.
- Remove no longer relevant "libtool" patch.
- No longer autoreconf, since we don't patch configure.in anymore.
* Mon Aug 28 2006 Matthias Saou <http://freshrpms.net/> 1.1.2-27
- FC6 rebuild.
* Mon Feb 13 2006 Matthias Saou <http://freshrpms.net/> 1.1.2-26
- Rebuild for new glibc/gcc.
* Tue Nov 22 2005 Matthias Saou <http://freshrpms.net/> 1.1.2-25
- Update patch with one provided from FLAC CVS by Øyvind Stegard to further
fix configuration dialog crashes (#173723).
* Sat May 28 2005 Matthias Saou <http://freshrpms.net/> 1.1.2-24
- Bump release to 24 since main Core flac obsoletes xmms-flac < 1.1.2-24.
- Add patches from FC flac to fix libtool issues on x86_64.
* Thu May 19 2005 Matthias Saou <http://freshrpms.net/> 1.1.2-2
- Add patch to fix memory double freeing issue (bz #157796).
* Thu May 19 2005 Matthias Saou <http://freshrpms.net/> 1.1.2-1
- Initial RPM release since the plugin was disabled from the main flac in
Core, because xmms was moved to Extras, thus no longer available at build
time for Core packages.
- Laziness has made me include the whole 1.4MB of FLAC sources, but if
someone wants to provide a simple script to extract only the relevant sources
in order to create a custom source package of the plugin only, that would
be great!