summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/vimpc')
-rw-r--r--media-sound/vimpc/Manifest2
-rw-r--r--media-sound/vimpc/files/vimpc-0.09.1-tinfo.patch11
-rw-r--r--media-sound/vimpc/metadata.xml15
-rw-r--r--media-sound/vimpc/vimpc-0.09.0.ebuild39
-rw-r--r--media-sound/vimpc/vimpc-0.09.1.ebuild45
5 files changed, 112 insertions, 0 deletions
diff --git a/media-sound/vimpc/Manifest b/media-sound/vimpc/Manifest
new file mode 100644
index 000000000000..e4c4441f4b37
--- /dev/null
+++ b/media-sound/vimpc/Manifest
@@ -0,0 +1,2 @@
+DIST vimpc-0.09.0.tar.gz 597784 SHA256 d406163a8e3e2ffe1e58ff6e49f1249e9d705bcfdd8604ba3e315f1925b16cab SHA512 340609402e459697f56fee323f6667bbe4c5ceccf0461117b021a81423924e87ea9871fa1b68d9b6ea87c452a10843d42290d8c454bfb537d8b0f6b86dc90a02 WHIRLPOOL 1b73bab70c005a0833bfc3ddaf42228f2cbcf761d5e4ff6bf517747d2e80b1d3f3cafacb08c367e6c3a4fd9b9c4e7ef687ba09cd6b963bd63f778c4672f2edc4
+DIST vimpc-0.09.1.tar.gz 583073 SHA256 082fa9974e01bf563335ebf950b2f9bc129c0d05c0c15499f7827e8418306031 SHA512 cf40ae43ac21af80e1b5897f1fa83b4d730fb7dfa4c21b80c296a8e6f2c40e643325fd2aa96bd4dda1abca0ccd2d12545cf91ffcdb8017e5b9cd88917ca96222 WHIRLPOOL 5c1a4213275ae0df06a8e18274df12079f53f8042ee465d19ec776a4d181121f884dfd914dff27cb65ec88751a224bb8a5e4440fa34163b47bd5a3e1f9e93c25
diff --git a/media-sound/vimpc/files/vimpc-0.09.1-tinfo.patch b/media-sound/vimpc/files/vimpc-0.09.1-tinfo.patch
new file mode 100644
index 000000000000..55729b1a7f4a
--- /dev/null
+++ b/media-sound/vimpc/files/vimpc-0.09.1-tinfo.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -97,6 +97,8 @@
+
+ LIBS="$LIBS $CURSES_LIB"
+
++AC_SEARCH_LIBS([keypad],[tinfow tinfo])
++
+ PKG_CHECK_MODULES(pcre, libpcre)
+
+ AC_SUBST(pcre_LIBS)
diff --git a/media-sound/vimpc/metadata.xml b/media-sound/vimpc/metadata.xml
new file mode 100644
index 000000000000..9021b40430a1
--- /dev/null
+++ b/media-sound/vimpc/metadata.xml
@@ -0,0 +1,15 @@
+<?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="boost">Use boost instead of C++11 libraries</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">vimpc</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-sound/vimpc/vimpc-0.09.0.ebuild b/media-sound/vimpc/vimpc-0.09.0.ebuild
new file mode 100644
index 000000000000..1d2d9f0a778e
--- /dev/null
+++ b/media-sound/vimpc/vimpc-0.09.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+DESCRIPTION="An ncurses based mpd client with vi like key bindings"
+HOMEPAGE="http://vimpc.sourceforge.net/"
+SRC_URI="mirror://sourceforge/project/${PN}/Release%20${PV}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="boost taglib"
+
+RDEPEND="dev-libs/libpcre
+ media-libs/libmpdclient
+ boost? ( dev-libs/boost )
+ taglib? ( media-libs/taglib )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${PN}
+
+DOCS=( AUTHORS README.md doc/vimpcrc.example )
+
+src_configure() {
+ econf \
+ $(use_enable boost) \
+ $(use_enable taglib) \
+ --docdir="${EPREFIX}"/usr/share/doc/${PF}
+}
+
+src_install() {
+ default
+
+ # vimpc will look for help.txt
+ docompress -x /usr/share/doc/${PF}/help.txt
+}
diff --git a/media-sound/vimpc/vimpc-0.09.1.ebuild b/media-sound/vimpc/vimpc-0.09.1.ebuild
new file mode 100644
index 000000000000..39da9f2b5c4d
--- /dev/null
+++ b/media-sound/vimpc/vimpc-0.09.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils autotools
+
+DESCRIPTION="An ncurses based mpd client with vi like key bindings"
+HOMEPAGE="http://vimpc.sourceforge.net/"
+SRC_URI="mirror://sourceforge/project/${PN}/Release%20${PV}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="boost taglib"
+
+RDEPEND="dev-libs/libpcre
+ media-libs/libmpdclient
+ boost? ( dev-libs/boost )
+ taglib? ( media-libs/taglib )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${PN}
+
+DOCS=( AUTHORS README.md doc/vimpcrc.example )
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-tinfo.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable boost) \
+ $(use_enable taglib) \
+ --docdir="${EPREFIX}"/usr/share/doc/${PF}
+}
+
+src_install() {
+ default
+
+ # vimpc will look for help.txt
+ docompress -x /usr/share/doc/${PF}/help.txt
+}