ports/83466: new port: audio/xmms-sapplug - XMMS input plugin for playing 8bit Atari(TM) .sap audio files
Emanuel Haupt
ehaupt at critical.ch
Thu Jul 14 16:00:35 UTC 2005
>Number: 83466
>Category: ports
>Synopsis: new port: audio/xmms-sapplug - XMMS input plugin for playing 8bit Atari(TM) .sap audio files
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Jul 14 16:00:34 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Emanuel Haupt
>Release: FreeBSD 4.11-RELEASE-p11 i386
>Organization:
>Environment:
System: FreeBSD admin.critical.ch 4.11-RELEASE-p11 FreeBSD 4.11-RELEASE-p11 #0: Thu Jun 30 09:36:40 CEST 2005 root at admin.critical.ch:/usr/obj/usr/src-release/src/sys/GENERIC i386
>Description:
new port: audio/xmms-sapplug - XMMS input plugin for playing 8bit Atari(TM) .sap audio files
Sapplug is a XMMS input plugin for playing 8bit Atari(TM) .sap (Slight Atari
Player) audio files.
An archive of .sap files can be found at:
http://asma.atari.org/bin/asma29.zip
(3.6MB, 1900 songs)
>How-To-Repeat:
>Fix:
--- xmms-sapplug.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# xmms-sapplug
# xmms-sapplug/Makefile
# xmms-sapplug/pkg-descr
# xmms-sapplug/distinfo
# xmms-sapplug/files
# xmms-sapplug/files/patch-Makefile
# xmms-sapplug/pkg-message
#
echo c - xmms-sapplug
mkdir -p xmms-sapplug > /dev/null 2>&1
echo x - xmms-sapplug/Makefile
sed 's/^X//' >xmms-sapplug/Makefile << 'END-of-xmms-sapplug/Makefile'
X# New ports collection makefile for: xmms-sapplug
X# Date created: 14 Jul 2005
X# Whom: Emanuel Haupt <ehaupt at critical.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME= xmms-sapplug
XDISTVERSION= 0.3f
XCATEGORIES= audio
XMASTER_SITES= http://critical.ch/distfiles/ \
X ftp://ftp.atari.art.pl/stuff/audio/8bit-music-archive/sap/plugins/xmms/
XDISTNAME= sapplug-xmms-${DISTVERSION}
X
XMAINTAINER= ehaupt at critical.ch
XCOMMENT= XMMS input plugin for playing 8bit Atari(TM) .sap audio files
X
XBUILD_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
XRUN_DEPENDS= ${BUILD_DEPENDS}
X
XUSE_X_PREFIX= yes
XUSE_REINPLACE= yes
XUSE_GMAKE= yes
XUSE_GNOME= glib12
X
XCXXFLAGS+= --no-exceptions
XWRKSRC= ${WRKDIR}/sapplug-${DISTVERSION}
X
XPLIST_FILES= lib/xmms/Input/libsap.so
X
XOPTIONS= OPTIMIZED_CXXLAGS "use optimized C++ flags" on \
X OPTIMIZED_CFLAGS "use optimized C flags" on
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_OPTIMIZED_CXXLAGS)
XCXXFLAGS+= -fPIC -fpic -funroll-all-loops -fno-strength-reduce \
X -finline-functions -fomit-frame-pointer
X.endif
X.if defined(WITH_OPTIMIZED_CFLAGS)
XCFLAGS+= -fPIC -fpic -funroll-all-loops -fomit-frame-pointer \
X -fno-strength-reduce
X.endif
X
Xpost-patch:
X @${REINPLACE_CMD} -e 's|^\(}\);\(\ //.*\)|\1\2|' \
X ${WRKSRC}/saplib/pokeyNamespace.h
X @${REINPLACE_CMD} -e 's|^\(C[[:alpha:]]*\)|\1?|' \
X ${WRKSRC}/saplib/Makefile
X
Xdo-install:
X ${INSTALL_DATA} ${WRKSRC}/libsap.so ${PREFIX}/lib/xmms/Input/libsap.so
X
Xpost-install:
X @${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
END-of-xmms-sapplug/Makefile
echo x - xmms-sapplug/pkg-descr
sed 's/^X//' >xmms-sapplug/pkg-descr << 'END-of-xmms-sapplug/pkg-descr'
XSapplug is a XMMS input plugin for playing 8bit Atari(TM) .sap (Slight Atari
XPlayer) audio files.
X
XWWW: http://www.xmms.org/plugins.php?details=155
X
X- ehaupt
Xehaupt at critical.ch
END-of-xmms-sapplug/pkg-descr
echo x - xmms-sapplug/distinfo
sed 's/^X//' >xmms-sapplug/distinfo << 'END-of-xmms-sapplug/distinfo'
XMD5 (sapplug-xmms-0.3f.tar.gz) = 8d2bf058ff231e83c3bee22b83481518
XSIZE (sapplug-xmms-0.3f.tar.gz) = 47508
END-of-xmms-sapplug/distinfo
echo c - xmms-sapplug/files
mkdir -p xmms-sapplug/files > /dev/null 2>&1
echo x - xmms-sapplug/files/patch-Makefile
sed 's/^X//' >xmms-sapplug/files/patch-Makefile << 'END-of-xmms-sapplug/files/patch-Makefile'
X--- Makefile.orig Thu Jul 14 11:24:17 2005
X+++ Makefile Thu Jul 14 11:34:05 2005
X@@ -19,15 +19,18 @@
X #
X ##########################################################################
X
X-CC = gcc
X+CC?= gcc
X+MAKE?= make
X
X-CFLAGS = -O2 -Wall -fPIC -fpic \
X- -finline-functions -ffast-math \
X- -funroll-all-loops -fomit-frame-pointer -fno-strength-reduce \
X- $(shell xmms-config --cflags)
X+CFLAGS?= -O2 -Wall -fPIC -fpic \
X+ -finline-functions -ffast-math \
X+ -funroll-all-loops -fomit-frame-pointer -fno-strength-reduce
X
X-LINKER_FLAGS = -shared -Wl,-soname -Wl,$(TARGET) \
X- -Wl,-retain-symbols-file -Wl,syms
X+CFLAGS+= $(shell xmms-config --cflags)
X+
X+
X+LDFLAGS+= -shared -Wl,-soname -Wl,$(TARGET) \
X+ -Wl,-retain-symbols-file -Wl,syms
X
X TARGET = libsap.so
X
X@@ -43,15 +46,15 @@
X plugin: $(OBJS)
X @./scripts/gen_symbols sap_plug.o
X @echo
X- $(CC) $(LINKER_FLAGS) $(OBJS) $(SAPLIB) -o $(TARGET)
X+ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(SAPLIB) -o $(TARGET)
X @echo
X library:
X @echo
X- cd saplib && make
X+ cd saplib && $(MAKE)
X @echo
X install:
X cp $(TARGET) $(HOME)/.xmms/Plugins/Input
X clean:
X rm -f *.o *.so *.a .syms syms
X realclean: clean
X- cd saplib && make clean
X+ cd saplib && $(MAKE) clean
END-of-xmms-sapplug/files/patch-Makefile
echo x - xmms-sapplug/pkg-message
sed 's/^X//' >xmms-sapplug/pkg-message << 'END-of-xmms-sapplug/pkg-message'
X===============================================================================
XA huge .sap file collection can be found at: http://asma.atari.org/
X===============================================================================
END-of-xmms-sapplug/pkg-message
exit
--- xmms-sapplug.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list