summaryrefslogtreecommitdiff
path: root/audio/ncmpc
diff options
context:
space:
mode:
authorjakllsch <jakllsch>2009-02-07 18:38:05 +0000
committerjakllsch <jakllsch>2009-02-07 18:38:05 +0000
commit54bb05e139ddb59748f606dfd4f6c37cebb5dc08 (patch)
tree4238d2dde86a05f814bee2be836034d4ffa23b5f /audio/ncmpc
parenta20d67d5534b1a650c62c91cdb8e2fc475877174 (diff)
downloadpkgsrc-54bb05e139ddb59748f606dfd4f6c37cebb5dc08.tar.gz
Update to ncmpc-0.13.
Changes for versions since 0.11.1: ncmpc 0.13 - 2009-01-09 * added output configuration screen, default hotkey F8 * new --disable-locale configure option * new --disable-multibyte configure option; this allows you to disable wide character support, retaining multibyte character support * search with regular expressions ncmpc 0.12 - 2008-12-05 * added artist screen (tag browser) * added highly experimental lyrics screen (disabled by default) * removed clock screen * support wide characters * optimized memory usage * always try to reconnect after server failure * support unix domain sockets for the MPD connection * added compile-time "mini" option which produces the smallest possible ncmpc binary * added LIRC support * scroll long song names in the playlist * added command "locate" ('G') which locates a song in the database browser * added "song" screen ('i') which displays song information
Diffstat (limited to 'audio/ncmpc')
-rw-r--r--audio/ncmpc/Makefile17
-rw-r--r--audio/ncmpc/PLIST8
-rw-r--r--audio/ncmpc/distinfo12
-rw-r--r--audio/ncmpc/patches/patch-aa14
-rw-r--r--audio/ncmpc/patches/patch-ab13
-rw-r--r--audio/ncmpc/patches/patch-ac13
-rw-r--r--audio/ncmpc/patches/patch-ad19
7 files changed, 38 insertions, 58 deletions
diff --git a/audio/ncmpc/Makefile b/audio/ncmpc/Makefile
index d6ee4a24487..099495beed2 100644
--- a/audio/ncmpc/Makefile
+++ b/audio/ncmpc/Makefile
@@ -1,25 +1,24 @@
-# $NetBSD: Makefile,v 1.14 2008/07/14 12:55:58 joerg Exp $
+# $NetBSD: Makefile,v 1.15 2009/02/07 18:38:05 jakllsch Exp $
-DISTNAME= ncmpc-0.11.1
-PKGREVISION= 2
+DISTNAME= ncmpc-0.13
CATEGORIES= audio
-MASTER_SITES= http://hem.bredband.net/kaw/ncmpc/files/ \
- http://mercury.chem.pitt.edu/~shank/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=musicpd/}
+EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://hem.bredband.net/kaw/ncmpc/
+HOMEPAGE= http://mpd.wikia.com/wiki/Client:Ncmpc
COMMENT= Curses client for Music Player Daemon
PKG_DESTDIR_SUPPORT= user-destdir
+.include "options.mk"
+
GNU_CONFIGURE= yes
USE_PKGLOCALEDIR= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config msgfmt
-INCOMPAT_CURSES= NetBSD-1.4*-* NetBSD-1.5*-*
-INCOMPAT_CURSES+= NetBSD-1.6.*-* NetBSD-1.6_*-*
+USE_NCURSES= yes
.include "../../devel/glib2/buildlink3.mk"
-.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/ncmpc/PLIST b/audio/ncmpc/PLIST
index b4b08e2a0bc..c88bf24a2b1 100644
--- a/audio/ncmpc/PLIST
+++ b/audio/ncmpc/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2006/04/17 07:07:12 jlam Exp $
+@comment $NetBSD: PLIST,v 1.6 2009/02/07 18:38:05 jakllsch Exp $
bin/ncmpc
man/man1/ncmpc.1
share/doc/ncmpc/AUTHORS
@@ -12,5 +12,9 @@ share/locale/es/LC_MESSAGES/ncmpc.mo
share/locale/fr/LC_MESSAGES/ncmpc.mo
share/locale/ru/LC_MESSAGES/ncmpc.mo
share/locale/sv/LC_MESSAGES/ncmpc.mo
-@dirrm share/ncmpc
+share/locale/da/LC_MESSAGES/ncmpc.mo
+share/locale/gl/LC_MESSAGES/ncmpc.mo
+share/locale/hu/LC_MESSAGES/ncmpc.mo
+share/locale/no/LC_MESSAGES/ncmpc.mo
+share/locale/sk/LC_MESSAGES/ncmpc.mo
@dirrm share/doc/ncmpc
diff --git a/audio/ncmpc/distinfo b/audio/ncmpc/distinfo
index 5959ef749a0..8a3141ba4f9 100644
--- a/audio/ncmpc/distinfo
+++ b/audio/ncmpc/distinfo
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.7 2007/08/13 05:38:02 rillig Exp $
+$NetBSD: distinfo,v 1.8 2009/02/07 18:38:05 jakllsch Exp $
-SHA1 (ncmpc-0.11.1.tar.gz) = f1998f1d245386eb103ae12c50cf1bf0f5985ed7
-RMD160 (ncmpc-0.11.1.tar.gz) = a47e2850f165306e95c0966ac9e862e75cf876f7
-Size (ncmpc-0.11.1.tar.gz) = 273489 bytes
-SHA1 (patch-aa) = 3288d2b41ed02791639478aec9ac30fe2ee6eef0
-SHA1 (patch-ab) = 4a8e9191b797f4a8954e1b3b1b725f8255fa7fd8
-SHA1 (patch-ac) = 7c44d2c1c4aa137524d0bbdab4a27cc882e4e338
+SHA1 (ncmpc-0.13.tar.bz2) = b7a16751612bcec57f134848a4630352f2fc1cfe
+RMD160 (ncmpc-0.13.tar.bz2) = 535e643d89615d4dddbd5ab56a9ef5c11bc1ceb4
+Size (ncmpc-0.13.tar.bz2) = 209561 bytes
+SHA1 (patch-ad) = 792edb732f84b82c30ef9375d45bb036727a00b4
diff --git a/audio/ncmpc/patches/patch-aa b/audio/ncmpc/patches/patch-aa
deleted file mode 100644
index 5e4ea962330..00000000000
--- a/audio/ncmpc/patches/patch-aa
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2004/07/14 10:47:57 grant Exp $
-
---- src/screen_play.c.orig 2004-07-09 17:49:39.000000000 +1000
-+++ src/screen_play.c
-@@ -23,7 +23,8 @@
- #include <string.h>
- #include <glib.h>
- #include <ncurses.h>
--#include <panel.h>
-+/* not needed */
-+/* #include <panel.h> */
-
- #include "config.h"
- #include "ncmpc.h"
diff --git a/audio/ncmpc/patches/patch-ab b/audio/ncmpc/patches/patch-ab
deleted file mode 100644
index b1e5efbf149..00000000000
--- a/audio/ncmpc/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2005/03/19 16:54:51 wiz Exp $
-
---- src/screen.c.orig 2005-01-23 18:37:42.000000000 +0100
-+++ src/screen.c
-@@ -293,7 +293,7 @@ paint_status_window(mpdclient_t *c)
- if( c->song && seek_id == c->song->id )
- elapsedTime = seek_target_time;
- g_snprintf(screen->buf, screen->buf_size,
-- " [%i:%02i/%i:%02i]",
-+ " [%i:%02i/%i:%02i] ",
- elapsedTime/60, elapsedTime%60,
- status->totalTime/60, status->totalTime%60 );
- }
diff --git a/audio/ncmpc/patches/patch-ac b/audio/ncmpc/patches/patch-ac
deleted file mode 100644
index 36a578bfc7a..00000000000
--- a/audio/ncmpc/patches/patch-ac
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2007/08/13 05:38:03 rillig Exp $
-
---- po/ru.po.orig 2007-08-12 12:45:38 +0300
-+++ po/ru.po 2007-08-12 12:43:47 +0300
-@@ -12,7 +12,7 @@
- "Last-Translator: Nikolay Pavlov <quetzal@roks.biz>\n"
- "Language-Team: ru <ru@li.org>\n"
- "MIME-Version: 1.0\n"
--"Content-Type: text/plain; charset=ISO-8859-1\n"
-+"Content-Type: text/plain; charset=KOI8-R\n"
- "Content-Transfer-Encoding: 8bit\n"
-
- #: src/ncmpc.h:36
diff --git a/audio/ncmpc/patches/patch-ad b/audio/ncmpc/patches/patch-ad
new file mode 100644
index 00000000000..21a32925e38
--- /dev/null
+++ b/audio/ncmpc/patches/patch-ad
@@ -0,0 +1,19 @@
+$NetBSD: patch-ad,v 1.1 2009/02/07 18:38:06 jakllsch Exp $
+
+Allow use of IPv6/getaddrinfo even if AI_ADDRCONFIG extension
+isn't present.
+
+--- src/resolver.c.orig 2009-01-09 13:03:04.000000000 +0000
++++ src/resolver.c
+@@ -49,8 +49,9 @@
+ #endif
+
+ #ifndef MPD_NO_GAI
+-# ifdef AI_ADDRCONFIG
+-# define MPD_HAVE_GAI
++# define MPD_HAVE_GAI
++# ifndef AI_ADDRCONFIG
++# define AI_ADDRCONFIG 0
+ # endif
+ #endif
+