Author: laxathom
Update of /cvs/nonfree/rpms/uade/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv22036/devel
Modified Files:
.cvsignore sources
Added Files:
README_uade.txt uade-2.03-makenamesane.patch
uade-2.08-usedestdir.patch uade.spec
Log Message:
Initial import.
--- NEW FILE README_uade.txt ---
Audacious Plugin Caveats
------------------------
1. If the UADE plugin for audacious does not appear to play an Amiga file
formats, then ensure the following is DISABLED:
Preferences -> Audio -> Format Detection -> Detect file formats by extenstion
2. If sound appears to stutter or contains intermittent pauses (in particular
this seems to apply if you are using the pulseaudio output driver) then
adjust the buffer size to around 500. You may need to experiment on your
system
Preferences -> Audio -> Buffer size
uade-2.03-makenamesane.patch:
--- NEW FILE uade-2.03-makenamesane.patch ---
--- uade-2.03/configure.orig 2006-08-27 10:56:14.000000000 +0100
+++ uade-2.03/configure 2006-09-07 02:34:25.000000000 +0100
@@ -309,8 +309,8 @@
if test -z "$prefix"; then
prefix="/usr/local"
fi
- uadedatadir="$prefix/share/uade2"
- uadelibdir="$prefix/lib/uade2"
+ uadedatadir="$prefix/share/uade"
+ uadelibdir="$libdir/uade"
if test -z "$bindir"; then
bindir="$prefix/bin"
fi
@@ -329,7 +329,7 @@
else
# user installation
if test -z "$prefix"; then
- prefix="$HOME/.uade2"
+ prefix="$HOME/.uade"
fi
uadedatadir="$prefix"
uadelibdir="$prefix"
@@ -391,7 +391,7 @@
AOLIBS="`$PKG_CONFIG --libs ao`"
fi
-pkgconfigdir="$prefix/lib/pkgconfig"
+pkgconfigdir="$libdir/pkgconfig"
rm -f uade.pc
if test "$PKG_CONFIG" != "" ; then
installuadepcrule=""
uade-2.08-usedestdir.patch:
--- NEW FILE uade-2.08-usedestdir.patch ---
--- uade-2.08/Makefile.in.orig 2007-11-18 11:32:53.000000000 +0000
+++ uade-2.08/Makefile.in 2007-11-18 15:06:15.000000000 +0000
@@ -30,66 +30,70 @@
all: src/include/uadeconfig.h $(UADECORE) $(UADE123) $(XMMSPLUGIN) $(AUDACIOUSPLUGIN)
-uadecore:
+uadecore:
$(MAKE) -C src
uadecoreinstall: $(UADECORE)
- mkdir -p "$(LIBDIR)" "$(PKGCONFIGDIR)"
- chmod og+rx "$(LIBDIR)"
- cp -f src/$(UADECORENAME) "$(LIBDIR)"/
- chmod og+rx "$(LIBDIR)/$(UADECORENAME)"
- install uade.pc $(PKGCONFIGDIR)/
- chmod og+rx $(PKGCONFIGDIR)
- chmod 644 $(PKGCONFIGDIR)/uade.pc
+ mkdir -p "$(DESTDIR)$(LIBDIR)" "$(DESTDIR)$(PKGCONFIGDIR)"
+ chmod og+rx "$(DESTDIR)$(LIBDIR)"
+ cp -f src/$(UADECORENAME) "$(DESTDIR)$(LIBDIR)"/
+ chmod og+rx "$(DESTDIR)$(LIBDIR)/$(UADECORENAME)"
+ install uade.pc $(DESTDIR)$(PKGCONFIGDIR)/
+ chmod og+rx $(DESTDIR)$(PKGCONFIGDIR)
+ chmod 644 $(DESTDIR)$(PKGCONFIGDIR)/uade.pc
-uade123:
+uade123:
$(MAKE) -C src/frontends/uade123
uade123install: $(UADE123)
- mkdir -p "$(BINDIR)" "$(MANDIR)"
- rm -f "$(BINDIR)/$(UADE123NAME)" || true
- cp -f src/frontends/uade123/$(UADE123NAME) "$(BINDIR)/" || true
- chmod og+rx "$(BINDIR)/$(UADE123NAME)"
- cp doc/uade123.1 "$(MANDIR)"/
- chmod og+r "$(MANDIR)"/uade123.1
+ mkdir -p "$(DESTDIR)$(BINDIR)" "$(DESTDIR)$(MANDIR)/man1"
+ cp -f src/frontends/uade123/$(UADE123NAME) "$(DESTDIR)$(BINDIR)/" || true
+ chmod og+rx "$(DESTDIR)$(BINDIR)/$(UADE123NAME)"
+ cp doc/uade123.1 "$(DESTDIR)$(MANDIR)/man1"/
+ chmod og+r "$(DESTDIR)$(MANDIR)"/man1/uade123.1
+ gzip -9 "$(DESTDIR)$(MANDIR)"/man1/uade123.1
-xmmsplugin:
+xmmsplugin:
$(MAKE) -C src/frontends/xmms
xmmsplugininstall: $(XMMSPLUGIN)
- mkdir -p "$(XMMSPLUGINDIR)" "$(BINDIR)"
- install src/frontends/xmms/libuade2.so "$(XMMSPLUGINDIR)"
- install contrib/uadexmmsadd "$(BINDIR)"/
+ mkdir -p "$(DESTDIR)$(XMMSPLUGINDIR)" "$(BINDIR)"
+ install src/frontends/xmms/libuade2.so "$(DESTDIR)$(XMMSPLUGINDIR)"
+ install contrib/uadexmmsadd "$(DESTDIR)$(BINDIR)"/
-audaciousplugin:
+audaciousplugin:
$(MAKE) -C src/frontends/audacious
audaciousplugininstall: $(AUDACIOUSPLUGIN)
- mkdir -p "$(AUDACIOUSPLUGINDIR)" "$(BINDIR)"
- install src/frontends/audacious/libuade2.so "$(AUDACIOUSPLUGINDIR)"
- install contrib/uadexmmsadd "$(BINDIR)"/
+ mkdir -p "$(DESTDIR)$(AUDACIOUSPLUGINDIR)" "$(DESTDIR)$(BINDIR)"
+ install src/frontends/audacious/libuade2.so "$(DESTDIR)$(AUDACIOUSPLUGINDIR)"
+ install contrib/uadexmmsadd "$(DESTDIR)$(BINDIR)"/
-src/include/uadeconfig.h:
+src/include/uadeconfig.h:
@echo ""
@echo "Run ./configure first!"
@echo ""
@false
-soundcheck:
+soundcheck:
@ echo ""
@ echo "### UADE should be playing now 'AHX.Cruisin'"
@ echo ""
src/frontends/uade123/$(UADE123NAME) --basedir=. -S amigasrc/score/score -P
players/AbyssHighestExperience -m songs/AHX.Cruisin -u src/uadecore
-install:
- mkdir -p "$(DATADIR)/players"
- test -e "$(DATADIR)/uade.conf" || cp -f uade.conf "$(DATADIR)/"
- cp -f amigasrc/score/score uaerc eagleplayer.conf "$(DATADIR)/"
- cp -rf players "$(DATADIR)/" || true
- chmod -R og+rX "$(DATADIR)"
+install:
+ mkdir -p "$(DESTDIR)$(DATADIR)/players"
+ test -e "$(DESTDIR)$(DATADIR)/uade.conf" || cp -f uade.conf
"$(DESTDIR)$(DATADIR)/"
+ cp -f amigasrc/score/score uaerc eagleplayer.conf "$(DESTDIR)$(DATADIR)/"
+ cp -rf players "$(DESTDIR)$(DATADIR)/" || true
+ chmod 644 $(DESTDIR)$(DATADIR)/players/* || true
+ chmod 755 "$(DESTDIR)$(DATADIR)/players/ENV" || true
+ chmod 755 "$(DESTDIR)$(DATADIR)/players/S" || true
+ chmod 644 $(DESTDIR)$(DATADIR)/players/ENV/EaglePlayer/* || true
+ chmod -R og+rX "$(DESTDIR)$(DATADIR)"
$(MAKE) installagain
$(MAKE) feinstall
- install src/frontends/mod2ogg/mod2ogg2.sh "$(BINDIR)/"
+ install src/frontends/mod2ogg/mod2ogg2.sh "$(DESTDIR)$(BINDIR)/"
installagain: $(UADECOREINSTALL)
@true
@@ -97,11 +101,11 @@
feinstall: $(UADE123INSTALL) $(XMMSPLUGININSTALL) $(AUDACIOUSPLUGININSTALL)
@true
-feclean:
+feclean:
$(MAKE) -C src/frontends/uade123 clean
$(MAKE) -C src/frontends/xmms clean
$(MAKE) -C src/frontends/audacious clean
-clean:
+clean:
$(MAKE) -C src clean
$(MAKE) feclean
--- NEW FILE uade.spec ---
Name: uade
Version: 2.09
Release: 2%{?dist}
Summary: Unix Amiga Delitracker Emulator
Group: Applications/Multimedia
License: GPLv2+ and Distributable
URL:
http://zakalwe.fi/uade
Source0:
http://zakalwe.fi/%{name}/uade2/%{name}-%{version}.tar.bz2
Source1: README_%{name}.txt
Patch0: %{name}-2.08-usedestdir.patch
Patch1: %{name}-2.03-makenamesane.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: audacious-devel
BuildRequires: libao-devel
BuildRequires: pkgconfig
BuildRequires: xmms-devel
%description
UADE plays old Amiga tunes through UAE emulation and a cloned m68k-assembler
Eagleplayer API. The player infrastructure of UADE is built on the ground work
of the Eagleplayer and Delitracker projects. UADE makes these external players
reusable on certain UNIX and other platforms. UADE contains a free
(as in freedom) implementation of Eagleplayer and Delitracker API for UNIX
variants.
%package devel
Summary: Development files for uade
Group: Applications/Multimedia
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
Requires: libao-devel
%description devel
Development files for uade
%package -n xmms-%{name}
Summary: Unix Amiga Delitracker Emulator XMMS plugin
Group: Applications/Multimedia
Requires: %{name} = %{version}-%{release}
Requires: xmms
%description -n xmms-%{name}
A plugin for XMMS that makes use of UADE to play various Amiga music module
formats using external players.
%package -n audacious-plugins-%{name}
Summary: Unix Amiga Delitracker Emulator audacious plugin
Group: Applications/Multimedia
Requires: %{name} = %{version}-%{release}
Requires: audacious
%description -n audacious-plugins-%{name}
A plugin for audacious that makes use of UADE to play various Amiga music
module formats using external players
%package mod2ogg
Summary: Encode music modules to ogg/mp3/flac etc
Group: Applications/Multimedia
Requires: %{name} = %{version}-%{release}
Requires: flac
Requires: lame
Requires: sox
Requires: vorbis-tools
%description mod2ogg
Encode any music module format into an ogg, mp3, flac, cdr or wav file
%prep
%setup -q
%patch -p1
%patch1 -p1
# Encoding fixes
iconv -f iso8859-1 ChangeLog -t utf8 > ChangeLog.conv \
&& mv -f ChangeLog.conv ChangeLog
iconv -f iso8859-1 doc/UAE-README -t utf8 > UAE-README.conv \
&& mv -f UAE-README.conv doc/UAE-README
%build
%configure --with-uade123 --with-xmms --with-audacious --with-text-scope
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
install -pm0644 %{SOURCE1} README.dribble
# Place configs in a sane location and make symlinks
mkdir -p %{buildroot}%{_sysconfdir}/%{name}
mv %{buildroot}%{_datadir}/%{name}/eagleplayer.conf %{buildroot}%{_sysconfdir}/%{name}
mv %{buildroot}%{_datadir}/%{name}/uade.conf %{buildroot}%{_sysconfdir}/%{name}
mv %{buildroot}%{_datadir}/%{name}/uaerc %{buildroot}%{_sysconfdir}/%{name}
ln -s ../../../etc/%{name}/eagleplayer.conf %{buildroot}%{_datadir}/%{name}
ln -s ../../../etc/%{name}/uade.conf %{buildroot}%{_datadir}/%{name}
ln -s ../../../etc/%{name}/uaerc %{buildroot}%{_datadir}/%{name}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_bindir}/uade123
%{_libdir}/%{name}
%{_mandir}/man1/uade123.1.gz
%{_datadir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}/eagleplayer.conf
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
%config(noreplace) %{_sysconfdir}/%{name}/uaerc
%doc AUTHORS ChangeLog COPYING COPYING.GPL doc/BUGS doc/UAE-README
%doc doc/UAE-CREDITS doc/PLANS amigasrc/README README.dribble
%files mod2ogg
%{_bindir}/mod2ogg2.sh
%files devel
%defattr(-,root,root,-)
%{_libdir}/pkgconfig/%{name}.pc
%files -n xmms-%{name}
%defattr(-,root,root,-)
%{_bindir}/uadexmmsadd
%{_libdir}/xmms/Input/libuade2.so
%files -n audacious-plugins-%{name}
%defattr(-,root,root,-)
%{_libdir}/audacious/Input/libuade2.so
%changelog
* Sun Mar 23 2008 Ian Chapman <packages[AT]amiga-hardware.com> 2.09-2
- Rebuild against latest audacious to avoid undefined symbol: xmms_usleep
- Convert UAE-README to UTF8
- Convert ChangeLog to UTF8
* Sun Jan 06 2008 Ian Chapman <packages[AT]amiga-hardware.com> 2.09-1
- Upgrade to 2.09
* Sun Nov 18 2007 Ian Chapman <packages[AT]amiga-hardware.com> 2.08-1
- Upgrade to 2.08
- Dropped explicit support for FC-5 and earlier
- Updated usedestdir patch
- Added text scope support
- Added mod2ogg
* Sun May 06 2007 Ian Chapman <packages[AT]amiga-hardware.com> 2.07-1
- Upgrade to 2.07
* Thu Apr 26 2007 Ian Chapman <packages[AT]amiga-hardware.com> 2.06-1
- Upgrade to 2.06
* Thu Feb 13 2007 Ian Chapman <packages[AT]amiga-hardware.com> 2.05-1
- Upgrade to 2.05
* Thu Jan 25 2007 Ian Chapman <packages[AT]amiga-hardware.com> 2.04-1
- Upgrade to 2.04
- Renamed audacious-uade to audacious-plugins-uade to match other repos
* Wed Sep 06 2006 Ian Chapman <packages[AT]amiga-hardware.com> 2.03-2
- Moved .pc into separate -devel sub package
- Renamed sub package uade-xmms to xmms-uade
- Added audacious support for fc6+
- Patched so that uadecore is installed correctly on x86_64
- Patched so that the .pc file is installed correctly on x86_64
* Mon Sep 04 2006 Ian Chapman <packages[AT]amiga-hardware.com> 2.03-1
- Initial release
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/uade/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 1 Jun 2008 16:10:28 -0000 1.1
+++ .cvsignore 4 Sep 2008 11:35:39 -0000 1.2
@@ -0,0 +1 @@
+uade-2.09.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/uade/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 1 Jun 2008 16:10:28 -0000 1.1
+++ sources 4 Sep 2008 11:35:39 -0000 1.2
@@ -0,0 +1 @@
+3c237bc2e4c81601d8f7cb49ac46495d uade-2.09.tar.bz2