Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/apwal/, x11-misc/apwal/files/
Date: Mon, 06 Feb 2017 22:48:58
Message-Id: 1486421163.5db653685d01e9b9bdfc4fb81e9a2973d394e6ee.soap@gentoo
1 commit: 5db653685d01e9b9bdfc4fb81e9a2973d394e6ee
2 Author: Harri Nieminen <moikkis <AT> gmail <DOT> com>
3 AuthorDate: Mon Feb 6 07:41:48 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 6 22:46:03 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5db65368
7
8 x11-misc/apwal: EAPI bump 2 -> 6
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11 Closes: https://github.com/gentoo/gentoo/pull/3837
12
13 x11-misc/apwal/apwal-0.4.5-r2.ebuild | 30 +++++++++++++++++++++++++
14 x11-misc/apwal/files/apwal-0.4.5-makefile.patch | 8 +++----
15 2 files changed, 34 insertions(+), 4 deletions(-)
16
17 diff --git a/x11-misc/apwal/apwal-0.4.5-r2.ebuild b/x11-misc/apwal/apwal-0.4.5-r2.ebuild
18 new file mode 100644
19 index 00000000..59e3ef5
20 --- /dev/null
21 +++ b/x11-misc/apwal/apwal-0.4.5-r2.ebuild
22 @@ -0,0 +1,30 @@
23 +# Copyright 1999-2017 Gentoo Foundation
24 +# Distributed under the terms of the GNU General Public License v2
25 +# $Id$
26 +
27 +EAPI=6
28 +
29 +inherit toolchain-funcs
30 +
31 +DESCRIPTION="A simple application launcher and combined editor"
32 +HOMEPAGE="http://apwal.free.fr/"
33 +SRC_URI="http://apwal.free.fr/download/${P}.tar.gz"
34 +
35 +LICENSE="GPL-2"
36 +SLOT="0"
37 +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
38 +IUSE=""
39 +
40 +RDEPEND="x11-libs/gtk+:2
41 + x11-libs/gdk-pixbuf
42 + dev-libs/libxml2
43 + dev-libs/glib:2"
44 +DEPEND="${RDEPEND}
45 + virtual/pkgconfig"
46 +
47 +PATCHES=( "${FILESDIR}"/${P}-makefile.patch )
48 +S=${WORKDIR}/${PN}
49 +
50 +src_configure() {
51 + tc-export CC
52 +}
53
54 diff --git a/x11-misc/apwal/files/apwal-0.4.5-makefile.patch b/x11-misc/apwal/files/apwal-0.4.5-makefile.patch
55 index 462ba88..2c278b2 100644
56 --- a/x11-misc/apwal/files/apwal-0.4.5-makefile.patch
57 +++ b/x11-misc/apwal/files/apwal-0.4.5-makefile.patch
58 @@ -3,8 +3,8 @@
59 * don't strip binaries
60 * fix install paths
61
62 ---- Makefile
63 -+++ Makefile
64 +--- a/Makefile
65 ++++ b/Makefile
66 @@ -1,11 +1,8 @@
67
68 include Makefile.inc
69 @@ -19,8 +19,8 @@
70
71 clean:
72 (cd src && $(MAKE) $@)
73 ---- src/Makefile
74 -+++ src/Makefile
75 +--- a/src/Makefile
76 ++++ b/src/Makefile
77 @@ -5,8 +5,8 @@
78 CFLAGS=-g -Wall -Werror `pkg-config --cflags gtk+-2.0 gthread-2.0` -DGTK_DISABLE_DEPRECATED -DAPWAL_DEBUG
79 LDFLAGS=`pkg-config --libs gtk+-2.0 gthread-2.0` `xml2-config --libs`