commit:     ce5bec38730a1bc86a36bf1c533ee6250d4c8175
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 23 20:16:59 2015 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Sun Aug 23 20:35:01 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce5bec38

x11-plugins/wmlpq: EAPI bump, fix compilation with new libdockapp

Package-Manager: portage-2.2.20.1

 x11-plugins/wmlpq/Manifest              |  2 +-
 x11-plugins/wmlpq/wmlpq-0.2.1-r1.ebuild |  5 ++--
 x11-plugins/wmlpq/wmlpq-0.2.1-r2.ebuild |  5 ++--
 x11-plugins/wmlpq/wmlpq-0.2.1-r3.ebuild | 41 +++++++++++++++++++++++++++++++++
 4 files changed, 48 insertions(+), 5 deletions(-)

diff --git a/x11-plugins/wmlpq/Manifest b/x11-plugins/wmlpq/Manifest
index 0a81bce..79aba3c 100644
--- a/x11-plugins/wmlpq/Manifest
+++ b/x11-plugins/wmlpq/Manifest
@@ -1 +1 @@
-DIST wmlpq_0.2.1.tar.gz 15180 SHA256 
6dba6ed7b61baa6060f4646a230477970dec2fd06d01dab7dbdf064bed348e83
+DIST wmlpq_0.2.1.tar.gz 15180 SHA256 
6dba6ed7b61baa6060f4646a230477970dec2fd06d01dab7dbdf064bed348e83 SHA512 
757dc6f63d13f4715de7acf4cd436514de96ca78f7eb0e32f156c3a5f75c59e7e9c3d300a81bc1ce8e5def8a66f7678ca7b4b77969ef62f231c9db578c91ce4a
 WHIRLPOOL 
383eab5a697937f510557687ef110d564d7dde701a73b8f3f2d6c32c3fb3e4fe4284aeb59971f3260852a9d261fe4a8048c7b9415fe692cb867456f7f0b97e6b

diff --git a/x11-plugins/wmlpq/wmlpq-0.2.1-r1.ebuild 
b/x11-plugins/wmlpq/wmlpq-0.2.1-r1.ebuild
index c081a49..3f993c1 100644
--- a/x11-plugins/wmlpq/wmlpq-0.2.1-r1.ebuild
+++ b/x11-plugins/wmlpq/wmlpq-0.2.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -10,7 +10,8 @@ DESCRIPTION="Windowmaker dockapp which monitors up to 5 
printqueues"
 SRC_URI="http://www.ur.uklinux.net/wmlpq/dl/wmlpq_0.2.1.tar.gz";
 HOMEPAGE="http://www.ur.uklinux.net/wmlpq/";
 
-DEPEND="x11-libs/libdockapp"
+DEPEND="<x11-libs/libdockapp-0.7"
+RDEPEND="${DEPEND}"
 
 RDEPEND=""
 

diff --git a/x11-plugins/wmlpq/wmlpq-0.2.1-r2.ebuild 
b/x11-plugins/wmlpq/wmlpq-0.2.1-r2.ebuild
index 25aba7a..83515e2 100644
--- a/x11-plugins/wmlpq/wmlpq-0.2.1-r2.ebuild
+++ b/x11-plugins/wmlpq/wmlpq-0.2.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -10,7 +10,8 @@ DESCRIPTION="Windowmaker dockapp which monitors up to 5 
printqueues"
 SRC_URI="http://www.ur.uklinux.net/wmlpq/dl/wmlpq_0.2.1.tar.gz";
 HOMEPAGE="http://www.ur.uklinux.net/wmlpq/";
 
-DEPEND="x11-libs/libdockapp"
+DEPEND="<x11-libs/libdockapp-0.7"
+RDEPEND="${DEPEND}"
 
 RDEPEND=""
 

diff --git a/x11-plugins/wmlpq/wmlpq-0.2.1-r3.ebuild 
b/x11-plugins/wmlpq/wmlpq-0.2.1-r3.ebuild
new file mode 100644
index 0000000..6cb65d6
--- /dev/null
+++ b/x11-plugins/wmlpq/wmlpq-0.2.1-r3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="Windowmaker dockapp which monitors up to 5 printqueues"
+HOMEPAGE="http://www.ur.uklinux.net/wmlpq/";
+SRC_URI="http://www.ur.uklinux.net/${PN}/dl/${P/-/_}.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND=">=x11-libs/libdockapp-0.7:="
+RDEPEND="${DEPEND}"
+
+src_prepare()
+{
+       epatch "${FILESDIR}/${PN}-makefile-ldflags.patch"
+
+       sed -e 's#<dockapp.h>#<libdockapp/dockapp.h>#' -i *.c || die
+}
+
+src_compile()
+{
+       emake CC=$(tc-getCC) LDFLAGS="${LDFLAGS}"
+}
+
+src_install()
+{
+       dodir /usr/bin
+       emake DESTDIR="${D}"/usr/bin install
+
+       dodoc README sample.wmlpqrc
+       newman wmlpq.1x wmlpq.1
+
+       domenu "${FILESDIR}/${PN}.desktop"
+}

Reply via email to