summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-08-12 07:10:07 +0000
committerwiz <wiz@pkgsrc.org>2003-08-12 07:10:07 +0000
commit549de8dd998ebd6596daf718819f9c1b124f6c36 (patch)
treee44c1537ec0e7f9cb9be236eb1930a0776c40e6d /audio
parentc5958f1704704c72800e9d6fa98af2ae1227a35d (diff)
downloadpkgsrc-549de8dd998ebd6596daf718819f9c1b124f6c36.tar.gz
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).
Diffstat (limited to 'audio')
-rw-r--r--audio/xmms-alarm/DESCR2
-rw-r--r--audio/xmms-alarm/Makefile19
-rw-r--r--audio/xmms-alarm/PLIST3
-rw-r--r--audio/xmms-alarm/distinfo5
-rw-r--r--audio/xmms-alarm/patches/patch-aa13
5 files changed, 42 insertions, 0 deletions
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);