XMMS2-Scrobbler is a client for XMMS2 that feeds information about the
songs you played to last.fm. From Amaury Gauthier, thanks ! tweaks and ok ajacoutot@
This commit is contained in:
parent
f1cb6312d3
commit
8f2d9c1692
29
audio/xmms2-scrobbler/Makefile
Normal file
29
audio/xmms2-scrobbler/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2009/06/05 09:28:24 pea Exp $
|
||||
|
||||
COMMENT = last.fm client for xmms2
|
||||
|
||||
DISTNAME = xmms2-scrobbler-0.3.0
|
||||
|
||||
CATEGORIES = audio
|
||||
|
||||
HOMEPAGE = http://code-monkey.de/pages/xmms2-scrobbler
|
||||
|
||||
MAINTAINER = Amaury Gauthier <amaury.gauthier@etu.unilim.fr>
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM =Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
WANTLIB += c pthread curl
|
||||
|
||||
MASTER_SITES = ftp://ftp.code-monkey.de/pub/xmms2-scrobbler/
|
||||
|
||||
LIB_DEPENDS = xmmsclient.=0::audio/xmms2
|
||||
|
||||
USE_GMAKE = Yes
|
||||
|
||||
NO_REGRESS = Yes
|
||||
|
||||
.include <bsd.port.mk>
|
5
audio/xmms2-scrobbler/distinfo
Normal file
5
audio/xmms2-scrobbler/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (xmms2-scrobbler-0.3.0.tar.gz) = 70MBMnHRc42745ueiluWYg==
|
||||
RMD160 (xmms2-scrobbler-0.3.0.tar.gz) = YTRrcwLhX5Vo9oA2ijQbajG7zeA=
|
||||
SHA1 (xmms2-scrobbler-0.3.0.tar.gz) = kAO1rp63bwvt5N0/FGJ0zUmDAqw=
|
||||
SHA256 (xmms2-scrobbler-0.3.0.tar.gz) = 17OZV3RKFGz0e5kG2kViZGculBfj9f1WPvN3qqlqRFA=
|
||||
SIZE (xmms2-scrobbler-0.3.0.tar.gz) = 16988
|
18
audio/xmms2-scrobbler/patches/patch-Makefile
Normal file
18
audio/xmms2-scrobbler/patches/patch-Makefile
Normal file
@ -0,0 +1,18 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2009/06/05 09:28:24 pea Exp $
|
||||
--- Makefile.orig Sat May 9 21:28:01 2009
|
||||
+++ Makefile Sun May 17 01:20:26 2009
|
||||
@@ -22,11 +22,11 @@ OBJECTS := src/xmms2-scrobbler.o src/queue.o src/strbu
|
||||
all: $(BINARY)
|
||||
|
||||
install: $(BINARY)
|
||||
- install -d $(DESTDIR)$(PREFIX)/bin
|
||||
- install -m 755 $(BINARY) $(DESTDIR)$(PREFIX)/bin
|
||||
+ install -d $(PREFIX)/bin
|
||||
+ install -m 755 $(BINARY) $(PREFIX)/bin
|
||||
|
||||
$(BINARY): $(OBJECTS) bin
|
||||
- $(QUIET_LINK)$(CC) $(LDFLAGS) $(XMMS_LDFLAGS) $(CURL_LDFLAGS) $(OBJECTS) -o $@
|
||||
+ $(QUIET_LINK)$(CC) $(LDFLAGS) $(CFLAGS) $(XMMS_LDFLAGS) $(CURL_LDFLAGS) $(OBJECTS) -o $@
|
||||
|
||||
src/%.o : src/%.c
|
||||
$(QUIET_CC)$(CC) $(CFLAGS) $(XMMS_CFLAGS) $(CURL_CFLAGS) -o $@ -c $<
|
2
audio/xmms2-scrobbler/pkg/DESCR
Normal file
2
audio/xmms2-scrobbler/pkg/DESCR
Normal file
@ -0,0 +1,2 @@
|
||||
XMMS2-Scrobbler is a client for XMMS2 that feeds information about the
|
||||
songs you played to last.fm, formerly known as AudioScrobbler.
|
15
audio/xmms2-scrobbler/pkg/MESSAGE
Normal file
15
audio/xmms2-scrobbler/pkg/MESSAGE
Normal file
@ -0,0 +1,15 @@
|
||||
You need to store your Audioscrobbler username and password in the
|
||||
config file:
|
||||
echo -e "user: foo\npassword: bar" > \
|
||||
~/.config/xmms2/clients/xmms2-scrobbler/config
|
||||
|
||||
Optionally, if you're behind a proxy, you'll need to tell
|
||||
XMMS2-Scrobbler about that proxy:
|
||||
echo -e "proxy: my.proxy\nproxy_port: 8080" >> \
|
||||
~/.config/xmms2/clients/xmms2-scrobbler/config
|
||||
|
||||
If you want to launch and stop xmms2-scrobbler with xmms2d you can
|
||||
execute:
|
||||
ln -s ${PREFIX}/bin/xmms2-scrobbler ~/.config/xmms2/startup.d
|
||||
|
||||
Log will be saved in ~/.config/xmms2/clients/xmms2-scrobbler/logfile.log
|
2
audio/xmms2-scrobbler/pkg/PLIST
Normal file
2
audio/xmms2-scrobbler/pkg/PLIST
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/06/05 09:28:24 pea Exp $
|
||||
@bin bin/xmms2-scrobbler
|
Loading…
Reference in New Issue
Block a user