Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Oct 2012 19:33:22 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305219 - in head/multimedia: . despotify despotify/files
Message-ID:  <201210031933.q93JXMwC081950@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Wed Oct  3 19:33:21 2012
New Revision: 305219
URL: http://svn.freebsd.org/changeset/ports/305219

Log:
  Add despotify, a command-line client for spotify.

Added:
  head/multimedia/despotify/
  head/multimedia/despotify/Makefile   (contents, props changed)
  head/multimedia/despotify/distinfo   (contents, props changed)
  head/multimedia/despotify/files/
  head/multimedia/despotify/files/patch-Makefile   (contents, props changed)
  head/multimedia/despotify/files/patch-lib__local.mk   (contents, props changed)
  head/multimedia/despotify/pkg-descr   (contents, props changed)
  head/multimedia/despotify/pkg-plist   (contents, props changed)
Modified:
  head/multimedia/Makefile

Modified: head/multimedia/Makefile
==============================================================================
--- head/multimedia/Makefile	Wed Oct  3 19:13:49 2012	(r305218)
+++ head/multimedia/Makefile	Wed Oct  3 19:33:21 2012	(r305219)
@@ -35,6 +35,7 @@
     SUBDIR += clutter-gst
     SUBDIR += cuse4bsd-kmod
     SUBDIR += cx88
+    SUBDIR += despotify
     SUBDIR += devede
     SUBDIR += dirac
     SUBDIR += dtv

Added: head/multimedia/despotify/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/despotify/Makefile	Wed Oct  3 19:33:21 2012	(r305219)
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME=	despotify
+PORTVERSION=	0.0.${SVN_REV}
+DISTVERSIONPREFIX=	svn
+CATEGORIES=	multimedia
+MASTER_SITES=	CRITICAL
+
+MAINTAINER=	ehaupt@FreeBSD.org
+COMMENT=	A command-line client for spotify
+
+LIB_DEPENDS=	vorbis:${PORTSDIR}/audio/libvorbis \
+		ao:${PORTSDIR}/audio/libao
+BUILD_DEPENDS=	libtool:${PORTSDIR}/devel/libtool
+
+USE_GMAKE=	yes
+USE_LDCONFIG=	yes
+
+SVN_REV=	521
+
+WRKSRC=		${WRKDIR}/${PORTNAME}/src
+
+CFLAGS+=	-L${LOCALBASE}/lib -I${LOCALBASE}/include
+LDFLAGS+=	-lpthread -lao -L${LOCALBASE}/lib
+
+MAKE_ENV+=	V=1 LDFLAGS="${LDFLAGS}" INSTALL_PREFIX=${PREFIX}
+
+.include <bsd.port.mk>

Added: head/multimedia/despotify/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/despotify/distinfo	Wed Oct  3 19:33:21 2012	(r305219)
@@ -0,0 +1,2 @@
+SHA256 (despotify-svn0.0.521.tar.gz) = c6e331d0d6f07a5b6c53064c4fd9028ee91e044a6e8bce4ebb5cb54eb71896bd
+SIZE (despotify-svn0.0.521.tar.gz) = 10882561

Added: head/multimedia/despotify/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/despotify/files/patch-Makefile	Wed Oct  3 19:33:21 2012	(r305219)
@@ -0,0 +1,40 @@
+--- ./Makefile.orig	2012-10-03 13:03:34.000000000 +0200
++++ ./Makefile	2012-10-03 13:21:19.000000000 +0200
+@@ -5,8 +5,8 @@
+ 
+ export
+ 
+-CFLAGS = -Wall -Wextra -ggdb -std=gnu99
+-LDFLAGS = -lz -lvorbisfile
++CFLAGS += -Wall -Wextra -ggdb -std=gnu99
++LDFLAGS += -lz -lvorbisfile
+ 
+ LD = $(CC)
+ 
+@@ -69,22 +69,22 @@
+ 
+ clean: 
+ 	for dir in $(SUBDIRS); do \
+-		$(MAKE) -C $$dir -f local.mk clean || exit $$?; \
++		$(MAKE_ENV) $(MAKE) -C $$dir -f local.mk clean || exit $$?; \
+ 	done
+ 
+ clients: $(CLIENTS)
+ $(CLIENTS): lib
+ $(SUBDIRS):
+-	$(MAKE) $(SILENTDIR) -C $@ -f local.mk
++	$(MAKE_ENV) $(MAKE) $(SILENTDIR) -C $@ -f local.mk
+ 
+ install: $(SUBDIRS)
+ 	for dir in $(SUBDIRS); do \
+-		$(MAKE) -C $$dir -f local.mk install || exit $$?; \
++		$(MAKE_ENV) $(MAKE) -C $$dir -f local.mk install || exit $$?; \
+ 	done
+ 
+ uninstall:
+ 	for dir in $(SUBDIRS); do \
+-		$(MAKE) -C $$dir -f local.mk uninstall || exit $$?; \
++		$(MAKE_ENV) $(MAKE) -C $$dir -f local.mk uninstall || exit $$?; \
+ 	done
+ 
+ Makefile.local.mk:

Added: head/multimedia/despotify/files/patch-lib__local.mk
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/despotify/files/patch-lib__local.mk	Wed Oct  3 19:33:21 2012	(r305219)
@@ -0,0 +1,20 @@
+--- ./lib/local.mk.orig	2012-10-03 13:21:24.000000000 +0200
++++ ./lib/local.mk	2012-10-03 13:22:42.000000000 +0200
+@@ -49,14 +49,13 @@
+ 	$(LT) --mode=clean rm -f $(LIB_OBJS) Makefile.dep
+ 
+ install: libdespotify.la
+-	install -d $(INSTALL_PREFIX)/lib/pkgconfig
++	install -d $(INSTALL_PREFIX)/libdata/pkgconfig
+ 	 
+ 	$(LT) --mode=install install libdespotify.la $(INSTALL_PREFIX)/lib/libdespotify.la
+-	$(LDCONFIG) -n $(INSTALL_PREFIX)/lib
+ 	install -d $(INSTALL_PREFIX)/include/ 
+ 	install despotify.h $(INSTALL_PREFIX)/include/
+-	install -d $(INSTALL_PREFIX)/lib/pkgconfig/
+-	install despotify.pc $(INSTALL_PREFIX)/lib/pkgconfig/despotify.pc
++	install -d $(INSTALL_PREFIX)/libdata/pkgconfig/
++	install despotify.pc $(INSTALL_PREFIX)/libdata/pkgconfig/despotify.pc
+ 
+ uninstall:
+ 	$(LT) --mode=uninstall rm -f $(INSTALL_PREFIX)/lib/libdespotify.la

Added: head/multimedia/despotify/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/despotify/pkg-descr	Wed Oct  3 19:33:21 2012	(r305219)
@@ -0,0 +1,3 @@
+A command-line client for spotify.
+
+WWW: http://despotify.se/

Added: head/multimedia/despotify/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/despotify/pkg-plist	Wed Oct  3 19:33:21 2012	(r305219)
@@ -0,0 +1,10 @@
+bin/despotify
+bin/despotify-gateway
+bin/despotify-simple
+include/despotify.h
+lib/libdespotify.a
+lib/libdespotify.la
+lib/libdespotify.so
+lib/libdespotify.so.0
+libdata/pkgconfig/despotify.pc
+@dirrmtry libdata/pkgconfig



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210031933.q93JXMwC081950>