Compare commits

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

4 commits

Author SHA1 Message Date
Fedora Release Engineering
d4acf2dad9 dist-git conversion 2010-07-29 15:59:45 +00:00
Matthias Saou
410b6a0deb Backport latest devel changes (update + appear in contextual menus). 2009-12-11 11:46:33 +00:00
Bill Nottingham
06c3c7d450 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:35:00 +00:00
Jesse Keating
353cbdea95 Initialize branch F-11 for xmms-flac 2009-04-15 07:12:43 +00:00
7 changed files with 49 additions and 26 deletions

View file

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

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
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 $$/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
flac-1.2.1-gcc43.patch Normal file
View file

@ -0,0 +1,11 @@
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 +1 @@
3958cbd5b6ed8c14966792538e44223b flac-1.1.4.tar.gz
153c8b15a54da428d1f0fadc756c22c7 flac-1.2.1.tar.gz

9
xmms-flac.desktop Normal file
View file

@ -0,0 +1,9 @@
[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

@ -2,18 +2,23 @@
Summary: XMMS plugin needed to play FLAC (Free Lossless Audio Codec) files
Name: xmms-flac
Version: 1.1.4
Release: 5%{?dist}
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/
Source: http://dl.sf.net/flac/flac-%{version}.tar.gz
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,
@ -24,6 +29,7 @@ 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
@ -35,19 +41,37 @@ This is the input plugin for XMMS to be able to read FLAC files.
%{__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