From fcf3289de1006117c135af96bf05c7240af7089f Mon Sep 17 00:00:00 2001 From: wiz Date: Tue, 12 Aug 2003 07:10:07 +0000 Subject: Initial import of xmms-alarm, provided by Michal Pasternak in PR 21875. Changes: use SHLIBTOOL_OVERRIDE instead of obsolete LTCONFIG_OVERRIDE; fill PLIST (!); run pkglint and fix errors. This plugin allows your XMMS be used as an alarm clock. Various settings are available (like, for example, volume fading-in time). --- audio/xmms-alarm/DESCR | 2 ++ audio/xmms-alarm/Makefile | 19 +++++++++++++++++++ audio/xmms-alarm/PLIST | 3 +++ audio/xmms-alarm/distinfo | 5 +++++ audio/xmms-alarm/patches/patch-aa | 13 +++++++++++++ 5 files changed, 42 insertions(+) create mode 100644 audio/xmms-alarm/DESCR create mode 100644 audio/xmms-alarm/Makefile create mode 100644 audio/xmms-alarm/PLIST create mode 100644 audio/xmms-alarm/distinfo create mode 100644 audio/xmms-alarm/patches/patch-aa (limited to 'audio') diff --git a/audio/xmms-alarm/DESCR b/audio/xmms-alarm/DESCR new file mode 100644 index 00000000000..d7052f9b055 --- /dev/null +++ b/audio/xmms-alarm/DESCR @@ -0,0 +1,2 @@ +This plugin allows your XMMS be used as an alarm clock. Various settings are +available (like, for example, volume fading-in time). diff --git a/audio/xmms-alarm/Makefile b/audio/xmms-alarm/Makefile new file mode 100644 index 00000000000..4134e7361bd --- /dev/null +++ b/audio/xmms-alarm/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/08/12 07:10:07 wiz Exp $ +# + +DISTNAME= xmms-alarm-0.3.3 +CATEGORIES= audio +MASTER_SITES= http://www.snika.uklinux.net/xmms-alarm/ + +MAINTAINER= dotz@irc.pl +HOMEPAGE= http://www.snika.uklinux.net/index.php?show=xmms-alarm +COMMENT= Plugin which allows XMMS to be used as an alarm clock + +USE_BUILDLINK2= YES +USE_X11= YES +GNU_CONFIGURE= YES +USE_LIBTOOL= YES +SHLIBTOOL_OVERRIDE= ${WRKSRC}/libtool + +.include "../../audio/xmms/buildlink2.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/audio/xmms-alarm/PLIST b/audio/xmms-alarm/PLIST new file mode 100644 index 00000000000..7a09e5d9471 --- /dev/null +++ b/audio/xmms-alarm/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/08/12 07:10:07 wiz Exp $ +lib/xmms/General/libalarm.la +lib/xmms/General/libalarm.so diff --git a/audio/xmms-alarm/distinfo b/audio/xmms-alarm/distinfo new file mode 100644 index 00000000000..d07797f9524 --- /dev/null +++ b/audio/xmms-alarm/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/08/12 07:10:07 wiz Exp $ + +SHA1 (xmms-alarm-0.3.3.tar.gz) = 3cacf04c4cb3073a6ab5ce102edc366c90d28311 +Size (xmms-alarm-0.3.3.tar.gz) = 243708 bytes +SHA1 (patch-aa) = 3449a689d560dc57be821d56bd75614100cb1584 diff --git a/audio/xmms-alarm/patches/patch-aa b/audio/xmms-alarm/patches/patch-aa new file mode 100644 index 00000000000..5afd97d9317 --- /dev/null +++ b/audio/xmms-alarm/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2003/08/12 07:10:07 wiz Exp $ + +--- src/alarm.c~ Fri Jun 13 21:51:30 2003 ++++ src/alarm.c Fri Jun 13 21:56:46 2003 +@@ -750,7 +750,7 @@ + pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); + + pthread_attr_setinheritsched(&attr, PTHREAD_EXPLICIT_SCHED); +- pthread_attr_setschedpolicy(&attr, SCHED_OTHER); ++/* pthread_attr_setschedpolicy(&attr, SCHED_OTHER); */ + pthread_attr_setscope(&attr, PTHREAD_SCOPE_SYSTEM); + + pthread_create(&tid, &attr, start_routine, args); -- cgit v1.2.3