import scmpc 0.2.2

scmpc is a client for MPD which submits your tracks to Audioscrobbler.

ok kili@
This commit is contained in:
jasper 2006-12-10 21:48:09 +00:00
parent d48005c645
commit 4db093e9b7
8 changed files with 96 additions and 0 deletions

38
audio/scmpc/Makefile Normal file
View File

@ -0,0 +1,38 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/12/10 21:48:09 jasper Exp $
COMMENT= "client for MPD to submit tracks to Audioscrobbler"
CATEGORIES= audio
DISTNAME= scmpc-0.2.2
HOMEPAGE= http://scmpc.berlios.de/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c crypto pthread ssl z
MASTER_SITES= ${MASTER_SITE_BERLIOS:=scmpc/}
EXTRACT_SUFX= .tar.bz2
MODULES= gcc3
MODGCC3_ARCHES= sparc
MODGCC3_LANGS= c
MODULES+= devel/gettext
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include"
CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include"
BUILD_DEPENDS= ::devel/pkgconfig
LIB_DEPENDS= argtable2.>=1::devel/argtable \
confuse.>=0::devel/libconfuse \
daemon.>=2::devel/libdaemon \
curl.>=5::net/curl
USE_GMAKE= Yes
.include <bsd.port.mk>

4
audio/scmpc/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (scmpc-0.2.2.tar.bz2) = f42482e4dbf398df92a36d5610b403e5
RMD160 (scmpc-0.2.2.tar.bz2) = b5aab6b72fff1910c8e245fa801ed788bd98eece
SHA1 (scmpc-0.2.2.tar.bz2) = 4105ef32f543c4babc20bf1569ca00426c7128fe
SIZE (scmpc-0.2.2.tar.bz2) = 72561

View File

@ -0,0 +1,11 @@
--- Makefile.in.orig Sat Dec 2 21:59:18 2006
+++ Makefile.in Fri Dec 8 16:40:45 2006
@@ -17,7 +17,7 @@ LIBS := @LIBS@ @libcurl_LIBS@ @confuse_L
LIBOBJS := @LIBOBJS@
# This is probably broken if gcc isn't being used...
-BUILD_CFLAGS := -Wall -Wextra -pedantic -Wno-unused-parameter -std=c99 $(CFLAGS)
+BUILD_CFLAGS := -Wall -pedantic -Wno-unused-parameter $(CFLAGS)
INSTALL := @INSTALL@

View File

@ -0,0 +1,11 @@
--- examples/scmpc.conf.in.orig Fri Dec 8 16:38:28 2006
+++ examples/scmpc.conf.in Fri Dec 8 16:38:40 2006
@@ -31,7 +31,7 @@
# cache_file
#
# The file in which scmpc will store the unsubmitted songs cache.
-#cache_file = "/var/lib/scmpc/scmpc.cache"
+#cache_file = "/var/scmpc/scmpc.cache"
# queue_length
#

View File

@ -0,0 +1,11 @@
--- man/scmpc.man.orig Sat Dec 2 21:59:18 2006
+++ man/scmpc.man Fri Dec 8 16:40:45 2006
@@ -152,7 +152,7 @@ Your plaintext Audioscrobbler password.
Configuration files
.RE
.PP
-.I /var/lib/scmpc/scmpc.cache
+.I /var/scmpc/scmpc.cache
.RS
The default location of the cache file.
.RE

View File

@ -0,0 +1,11 @@
--- src/preferences.c.orig Fri Dec 8 16:40:02 2006
+++ src/preferences.c Fri Dec 8 16:40:10 2006
@@ -42,7 +42,7 @@
#define DEFAULT_CONFIG_FILE SYSCONFDIR "/scmpc.conf"
#define DEFAULT_PID_FILE "/var/run/scmpc.pid"
#define DEFAULT_LOG_FILE "/var/log/scmpc.log"
-#define DEFAULT_CACHE_FILE "/var/lib/scmpc/scmpc.cache"
+#define DEFAULT_CACHE_FILE "/var/scmpc/scmpc.cache"
extern struct preferences prefs;

1
audio/scmpc/pkg/DESCR Normal file
View File

@ -0,0 +1 @@
scmpc is a client for MPD which submits your tracks to Audioscrobbler.

9
audio/scmpc/pkg/PLIST Normal file
View File

@ -0,0 +1,9 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/12/10 21:48:09 jasper Exp $
bin/scmpc
@man man/man1/scmpc.1
share/scmpc/
@sample ${SYSCONFDIR}/scmpc/
@sample /var/scmpc/
share/scmpc/scmpc.conf
@sample ${SYSCONFDIR}/scmpc/scmpc.conf
@extraunexec rm -fr /var/scmpc/* 2>/dev/null || true