pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/xmms-meta-timidity Update timidity.sh to reflect...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6a59fee21adc
branches: trunk
changeset: 487038:6a59fee21adc
user: ben <ben%pkgsrc.org@localhost>
date: Fri Jan 07 15:53:34 2005 +0000
description:
Update timidity.sh to reflect recent configuration changes in timidity
and eawpatches, and bump version number.
Use timidity configuration if it exists, otherwise use eawpatches.
diffstat:
audio/xmms-meta-timidity/Makefile | 9 +++++----
audio/xmms-meta-timidity/files/timidity.sh | 8 +++++++-
2 files changed, 12 insertions(+), 5 deletions(-)
diffs (43 lines):
diff -r a5a85c8f0da4 -r 6a59fee21adc audio/xmms-meta-timidity/Makefile
--- a/audio/xmms-meta-timidity/Makefile Fri Jan 07 14:54:47 2005 +0000
+++ b/audio/xmms-meta-timidity/Makefile Fri Jan 07 15:53:34 2005 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2004/03/12 02:47:51 snj Exp $
+# $NetBSD: Makefile,v 1.5 2005/01/07 15:53:34 ben Exp $
#
-DISTNAME= xmms-meta-timidity-0.1
+DISTNAME= xmms-meta-timidity-0.2
CATEGORIES= audio
MASTER_SITES= # empty
DISTFILES= # empty
@@ -19,8 +19,9 @@
USE_LANGUAGES= # empty
do-build:
- ${SED} "s,XXXPREFIXXXX,${PREFIX},g" \
- <${FILESDIR}/timidity.sh >${WRKSRC}/timidity.sh
+ ${SED} <${FILESDIR}/timidity.sh >${WRKSRC}/timidity.sh \
+ -e "s,XXXPREFIXXXX,${PREFIX},g" \
+ -e "s,XXXPKG_SYSCONFDIRXXX,${PKG_SYSCONFDIR},g"
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/timidity.sh ${PREFIX}/lib/xmms/Input/Meta
diff -r a5a85c8f0da4 -r 6a59fee21adc audio/xmms-meta-timidity/files/timidity.sh
--- a/audio/xmms-meta-timidity/files/timidity.sh Fri Jan 07 14:54:47 2005 +0000
+++ b/audio/xmms-meta-timidity/files/timidity.sh Fri Jan 07 15:53:34 2005 +0000
@@ -2,7 +2,13 @@
case "$1" in
play)
- XXXPREFIXXXX/bin/timidity -U -idq -Or -o - -s 44100 "$2"
+ if [ -f XXXPKG_SYSCONFDIRXXX/timidity/timidity.cfg ]
+ then
+ TIMIDITY_CFG=""
+ else
+ TIMIDITY_CFG="-L XXXPREFIXXXX/share/eawpatches -c timidity.cfg"
+ fi
+ XXXPREFIXXXX/bin/timidity $TIMIDITY_CFG -U -idq -Or -o - -s 44100 "$2"
exit 0
;;
isOurFile)
Home |
Main Index |
Thread Index |
Old Index