summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-sound/ncmpc
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-sound/ncmpc')
-rw-r--r--media-sound/ncmpc/Manifest3
-rw-r--r--media-sound/ncmpc/files/ax_require_defined.m437
-rw-r--r--media-sound/ncmpc/files/ncmpc-0.24-tinfo.patch48
-rw-r--r--media-sound/ncmpc/metadata.xml20
-rw-r--r--media-sound/ncmpc/ncmpc-0.20.ebuild51
-rw-r--r--media-sound/ncmpc/ncmpc-0.21.ebuild52
-rw-r--r--media-sound/ncmpc/ncmpc-0.24-r1.ebuild61
-rw-r--r--media-sound/ncmpc/ncmpc-0.24.ebuild53
8 files changed, 325 insertions, 0 deletions
diff --git a/media-sound/ncmpc/Manifest b/media-sound/ncmpc/Manifest
new file mode 100644
index 000000000000..2d1c1475c624
--- /dev/null
+++ b/media-sound/ncmpc/Manifest
@@ -0,0 +1,3 @@
+DIST ncmpc-0.20.tar.bz2 356991 SHA256 f19b15be4cb94f402bc488463e8159958d1a395b2fea97c02522b848061348e2 SHA512 4072f11d6956313cd63ef22eddedc6eb1919900038af1acf4b9483ac8515d5e112be5180b2a265ca08f2f9c1705d4e2e39282a4bfb543e4015ea923498fe1063 WHIRLPOOL 47f061ea32a91a3493842b51281c8fea1f9c344818bdd86e795e1c242048c0bc37906fca77218857f63980497b316e860a7ad27af0835d7c8a8388e2ef19383a
+DIST ncmpc-0.21.tar.bz2 337229 SHA256 648e846e305c867cb937dcb467393c2f5a30bf460bdf77b63de7af69fba1fd07 SHA512 e6ae3d741e239f48b833b15bd9805fd7bb1d491eb5154a37da2363b9d57ac87fb4744e12bd9bdcd5d3e011190afb8980c20d044a2eaf54e082fc202a192b0ecf WHIRLPOOL 748c3a61eb9bd3817aab42988df484b2862c77673dbdb0fadba7006dc195138085ec48d81284771eeedc98c1362cffe7592ce845528f4d72487c4a142d407bdf
+DIST ncmpc-0.24.tar.xz 298012 SHA256 0e6f76b2b11449cfa479d2830ac681f4e3bff54a95a9134b069dd5a173b4c3e9 SHA512 852bedec9d1e0f13748d00ded8a57b7824a3907fa4aef441cd016c13b3a4229e630957ee965d9f5cf7c1a0c47bfa3bb040058d32c6fcf6b4474acc57f834d929 WHIRLPOOL 56aca88f833e06793113c283272ccfb1170f8cd2c094218863d91a5735a2028ebc9c3e870b416e6a260242b61714fedc3eee2f1e6d4f696e0cfd2402bdb4ab68
diff --git a/media-sound/ncmpc/files/ax_require_defined.m4 b/media-sound/ncmpc/files/ax_require_defined.m4
new file mode 100644
index 000000000000..cae11112d901
--- /dev/null
+++ b/media-sound/ncmpc/files/ax_require_defined.m4
@@ -0,0 +1,37 @@
+# ===========================================================================
+# http://www.gnu.org/software/autoconf-archive/ax_require_defined.html
+# ===========================================================================
+#
+# SYNOPSIS
+#
+# AX_REQUIRE_DEFINED(MACRO)
+#
+# DESCRIPTION
+#
+# AX_REQUIRE_DEFINED is a simple helper for making sure other macros have
+# been defined and thus are available for use. This avoids random issues
+# where a macro isn't expanded. Instead the configure script emits a
+# non-fatal:
+#
+# ./configure: line 1673: AX_CFLAGS_WARN_ALL: command not found
+#
+# It's like AC_REQUIRE except it doesn't expand the required macro.
+#
+# Here's an example:
+#
+# AX_REQUIRE_DEFINED([AX_CHECK_LINK_FLAG])
+#
+# LICENSE
+#
+# Copyright (c) 2014 Mike Frysinger <vapier@gentoo.org>
+#
+# Copying and distribution of this file, with or without modification, are
+# permitted in any medium without royalty provided the copyright notice
+# and this notice are preserved. This file is offered as-is, without any
+# warranty.
+
+#serial 1
+
+AC_DEFUN([AX_REQUIRE_DEFINED], [dnl
+ m4_ifndef([$1], [m4_fatal([macro ]$1[ is not defined; is a m4 file missing?])])
+])dnl AX_REQUIRE_DEFINED
diff --git a/media-sound/ncmpc/files/ncmpc-0.24-tinfo.patch b/media-sound/ncmpc/files/ncmpc-0.24-tinfo.patch
new file mode 100644
index 000000000000..40ee0066e3d3
--- /dev/null
+++ b/media-sound/ncmpc/files/ncmpc-0.24-tinfo.patch
@@ -0,0 +1,48 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -17,11 +17,8 @@
+ dnl Check for programs
+ AC_PROG_CC_C99
+ AC_PROG_INSTALL
+-AX_WITH_CURSES
++PKG_PROG_PKG_CONFIG
+
+-AS_IF([ test "x$ax_cv_curses" = xno ],
+- [AC_MSG_ERROR([No curses support detected.])
+- ])
+
+ dnl =======================================================
+ dnl initialize variables
+@@ -83,6 +80,19 @@
+ esac
+ AM_CONDITIONAL([HAVE_WINDOWS], [test $HAVE_WINDOWS -eq 1])
+
++dnl ncurses
++
++PKG_CHECK_MODULES([ncurses], [ncurses],[
++ LIBS="$LIBS $ncurses_LIBS"
++ ax_cv_curses_color=yes
++ ax_cv_curses_mouse=yes
++ ax_cv_curses_enhanced=yes
++ AC_DEFINE([HAVE_NCURSES_H], [1], [Define to 1 if the Ncurses library is present])
++ AC_SUBST([CURSES_LIB],[$ncurses_LIBS])
++ ],
++ [AC_MSG_ERROR([No curses support detected.])])
++
++
+ dnl multi-byte character support
+
+ AC_ARG_ENABLE([multibyte],
+@@ -207,12 +217,6 @@
+
+ dnl Optional - curses getmouse support
+
+-dnl AC_CHECK_LIB depends on being able to prepend a '-l', remove the '-l' from CURSES_LIB first
+-AC_CHECK_LIB([$(expr substr $CURSES_LIB 3 99)],
+- [getmouse],
+- [ax_cv_curses_mouse=yes],
+- [ax_cv_curses_mouse=no])
+-
+ AC_ARG_ENABLE([mouse],
+ AS_HELP_STRING([--enable-mouse],
+ [Enable curses getmouse support @<:@default=yes@:>@]),
diff --git a/media-sound/ncmpc/metadata.xml b/media-sound/ncmpc/metadata.xml
new file mode 100644
index 000000000000..33213f752747
--- /dev/null
+++ b/media-sound/ncmpc/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sound</herd>
+ <maintainer>
+ <email>angelos@gentoo.org</email>
+ <name>Christoph Mende</name>
+ </maintainer>
+ <use>
+ <flag name="artist-screen">Enable artist screen</flag>
+ <flag name="chat-screen">Enable the chat screen</flag>
+ <flag name="colors">Enable color support</flag>
+ <flag name="help-screen">Enable the help screen</flag>
+ <flag name="key-screen">Enable key editor screen</flag>
+ <flag name="lyrics-screen">Enable lyrics screen</flag>
+ <flag name="mouse">Enable curses getmouse support</flag>
+ <flag name="search-screen">Enable search screen</flag>
+ <flag name="song-screen">Enable song viewer screen</flag>
+ </use>
+</pkgmetadata>
diff --git a/media-sound/ncmpc/ncmpc-0.20.ebuild b/media-sound/ncmpc/ncmpc-0.20.ebuild
new file mode 100644
index 000000000000..49064d70a11c
--- /dev/null
+++ b/media-sound/ncmpc/ncmpc-0.20.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit multilib
+
+DESCRIPTION="A ncurses client for the Music Player Daemon (MPD)"
+HOMEPAGE="http://mpd.wikia.com/wiki/Client:Ncmpc"
+SRC_URI="http://downloads.sourceforge.net/musicpd/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 hppa ppc ppc64 sparc x86"
+IUSE="artist-screen colors debug +help-screen key-screen lirc lyrics-screen mouse nls search-screen song-screen"
+
+RDEPEND=">=dev-libs/glib-2.12:2
+ >=media-libs/libmpdclient-2.2
+ sys-libs/ncurses
+ lirc? ( app-misc/lirc )
+ nls? ( sys-libs/ncurses[unicode] )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS NEWS README doc/config.sample doc/keys.sample )
+
+src_configure() {
+ # upstream lirc doesn't have pkg-config file wrt #250015
+ if use lirc; then
+ export LIBLIRCCLIENT_CFLAGS="-I/usr/include/lirc"
+ export LIBLIRCCLIENT_LIBS="-llirc_client"
+ fi
+
+ # use_with lyrics-screen is for multilib
+ econf \
+ --docdir=/usr/share/doc/${PF} \
+ $(use_enable nls multibyte) \
+ $(use_enable nls locale) \
+ $(use_enable nls) \
+ $(use_enable colors) \
+ $(use_enable lirc) \
+ $(use_enable help-screen) \
+ $(use_enable mouse) \
+ $(use_enable artist-screen) \
+ $(use_enable search-screen) \
+ $(use_enable song-screen) \
+ $(use_enable key-screen) \
+ $(use_enable lyrics-screen) \
+ $(use_enable debug) \
+ $(use_with lyrics-screen lyrics-plugin-dir /usr/$(get_libdir)/ncmpc/lyrics)
+}
diff --git a/media-sound/ncmpc/ncmpc-0.21.ebuild b/media-sound/ncmpc/ncmpc-0.21.ebuild
new file mode 100644
index 000000000000..4f10c1565c9d
--- /dev/null
+++ b/media-sound/ncmpc/ncmpc-0.21.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit multilib
+
+DESCRIPTION="A ncurses client for the Music Player Daemon (MPD)"
+HOMEPAGE="http://mpd.wikia.com/wiki/Client:Ncmpc"
+SRC_URI="http://www.musicpd.org/download/${PN}/${PV%.*}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 hppa ppc ppc64 sparc x86"
+IUSE="artist-screen chat-screen colors debug +help-screen key-screen lirc lyrics-screen mouse nls search-screen song-screen"
+
+RDEPEND=">=dev-libs/glib-2.12:2
+ >=media-libs/libmpdclient-2.2
+ sys-libs/ncurses
+ lirc? ( app-misc/lirc )
+ nls? ( sys-libs/ncurses[unicode] )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS NEWS README doc/config.sample doc/keys.sample )
+
+src_configure() {
+ # upstream lirc doesn't have pkg-config file wrt #250015
+ if use lirc; then
+ export LIBLIRCCLIENT_CFLAGS="-I/usr/include/lirc"
+ export LIBLIRCCLIENT_LIBS="-llirc_client"
+ fi
+
+ # use_with lyrics-screen is for multilib
+ econf \
+ --docdir=/usr/share/doc/${PF} \
+ $(use_enable artist-screen) \
+ $(use_enable chat-screen) \
+ $(use_enable colors) \
+ $(use_enable debug) \
+ $(use_enable help-screen) \
+ $(use_enable key-screen) \
+ $(use_enable lirc) \
+ $(use_enable lyrics-screen) \
+ $(use_enable mouse) \
+ $(use_enable nls locale) \
+ $(use_enable nls multibyte) \
+ $(use_enable nls) \
+ $(use_enable search-screen) \
+ $(use_enable song-screen) \
+ $(use_with lyrics-screen lyrics-plugin-dir /usr/$(get_libdir)/ncmpc/lyrics)
+}
diff --git a/media-sound/ncmpc/ncmpc-0.24-r1.ebuild b/media-sound/ncmpc/ncmpc-0.24-r1.ebuild
new file mode 100644
index 000000000000..1e6e9f90e66f
--- /dev/null
+++ b/media-sound/ncmpc/ncmpc-0.24-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils multilib
+
+DESCRIPTION="A ncurses client for the Music Player Daemon (MPD)"
+HOMEPAGE="http://www.musicpd.org/clients/ncmpc/"
+SRC_URI="http://www.musicpd.org/download/${PN}/${PV%.*}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="artist-screen chat-screen colors debug +help-screen key-screen lirc lyrics-screen mouse nls search-screen song-screen"
+
+RDEPEND=">=dev-libs/glib-2.12:2
+ >=media-libs/libmpdclient-2.3
+ sys-libs/ncurses
+ lirc? ( app-misc/lirc )
+ nls? ( sys-libs/ncurses[unicode] )"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS NEWS README doc/config.sample doc/keys.sample )
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.24-tinfo.patch
+
+ cp "${FILESDIR}"/ax_require_defined.m4 m4/ || die
+
+ eautoreconf
+}
+
+src_configure() {
+ # upstream lirc doesn't have pkg-config file wrt #250015
+ if use lirc; then
+ export LIBLIRCCLIENT_CFLAGS="-I/usr/include/lirc"
+ export LIBLIRCCLIENT_LIBS="-llirc_client"
+ fi
+
+ # use_with lyrics-screen is for multilib
+ econf \
+ --docdir=/usr/share/doc/${PF} \
+ $(use_enable artist-screen) \
+ $(use_enable chat-screen) \
+ $(use_enable colors) \
+ $(use_enable debug) \
+ $(use_enable help-screen) \
+ $(use_enable key-screen) \
+ $(use_enable lirc) \
+ $(use_enable lyrics-screen) \
+ $(use_enable mouse) \
+ $(use_enable nls locale) \
+ $(use_enable nls multibyte) \
+ $(use_enable nls) \
+ $(use_enable search-screen) \
+ $(use_enable song-screen) \
+ $(use_with lyrics-screen lyrics-plugin-dir /usr/$(get_libdir)/ncmpc/lyrics)
+}
diff --git a/media-sound/ncmpc/ncmpc-0.24.ebuild b/media-sound/ncmpc/ncmpc-0.24.ebuild
new file mode 100644
index 000000000000..ca8605f51b64
--- /dev/null
+++ b/media-sound/ncmpc/ncmpc-0.24.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit multilib
+
+DESCRIPTION="A ncurses client for the Music Player Daemon (MPD)"
+HOMEPAGE="http://www.musicpd.org/clients/ncmpc/"
+SRC_URI="http://www.musicpd.org/download/${PN}/${PV%.*}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 hppa ppc ppc64 sparc x86"
+IUSE="artist-screen chat-screen colors debug +help-screen key-screen lirc lyrics-screen mouse nls search-screen song-screen"
+
+RDEPEND=">=dev-libs/glib-2.12:2
+ >=media-libs/libmpdclient-2.3
+ sys-libs/ncurses
+ lirc? ( app-misc/lirc )
+ nls? ( sys-libs/ncurses[unicode] )"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS NEWS README doc/config.sample doc/keys.sample )
+
+src_configure() {
+ # upstream lirc doesn't have pkg-config file wrt #250015
+ if use lirc; then
+ export LIBLIRCCLIENT_CFLAGS="-I/usr/include/lirc"
+ export LIBLIRCCLIENT_LIBS="-llirc_client"
+ fi
+
+ # use_with lyrics-screen is for multilib
+ econf \
+ --docdir=/usr/share/doc/${PF} \
+ $(use_enable artist-screen) \
+ $(use_enable chat-screen) \
+ $(use_enable colors) \
+ $(use_enable debug) \
+ $(use_enable help-screen) \
+ $(use_enable key-screen) \
+ $(use_enable lirc) \
+ $(use_enable lyrics-screen) \
+ $(use_enable mouse) \
+ $(use_enable nls locale) \
+ $(use_enable nls multibyte) \
+ $(use_enable nls) \
+ $(use_enable search-screen) \
+ $(use_enable song-screen) \
+ $(use_with lyrics-screen lyrics-plugin-dir /usr/$(get_libdir)/ncmpc/lyrics)
+}