commit: 5db653685d01e9b9bdfc4fb81e9a2973d394e6ee Author: Harri Nieminen <moikkis <AT> gmail <DOT> com> AuthorDate: Mon Feb 6 07:41:48 2017 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Mon Feb 6 22:46:03 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5db65368
x11-misc/apwal: EAPI bump 2 -> 6 Package-Manager: Portage-2.3.3, Repoman-2.3.1 Closes: https://github.com/gentoo/gentoo/pull/3837 x11-misc/apwal/apwal-0.4.5-r2.ebuild | 30 +++++++++++++++++++++++++ x11-misc/apwal/files/apwal-0.4.5-makefile.patch | 8 +++---- 2 files changed, 34 insertions(+), 4 deletions(-) diff --git a/x11-misc/apwal/apwal-0.4.5-r2.ebuild b/x11-misc/apwal/apwal-0.4.5-r2.ebuild new file mode 100644 index 00000000..59e3ef5 --- /dev/null +++ b/x11-misc/apwal/apwal-0.4.5-r2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="A simple application launcher and combined editor" +HOMEPAGE="http://apwal.free.fr/" +SRC_URI="http://apwal.free.fr/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND="x11-libs/gtk+:2 + x11-libs/gdk-pixbuf + dev-libs/libxml2 + dev-libs/glib:2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/${P}-makefile.patch ) +S=${WORKDIR}/${PN} + +src_configure() { + tc-export CC +} diff --git a/x11-misc/apwal/files/apwal-0.4.5-makefile.patch b/x11-misc/apwal/files/apwal-0.4.5-makefile.patch index 462ba88..2c278b2 100644 --- a/x11-misc/apwal/files/apwal-0.4.5-makefile.patch +++ b/x11-misc/apwal/files/apwal-0.4.5-makefile.patch @@ -3,8 +3,8 @@ * don't strip binaries * fix install paths ---- Makefile -+++ Makefile +--- a/Makefile ++++ b/Makefile @@ -1,11 +1,8 @@ include Makefile.inc @@ -19,8 +19,8 @@ clean: (cd src && $(MAKE) $@) ---- src/Makefile -+++ src/Makefile +--- a/src/Makefile ++++ b/src/Makefile @@ -5,8 +5,8 @@ CFLAGS=-g -Wall -Werror `pkg-config --cflags gtk+-2.0 gthread-2.0` -DGTK_DISABLE_DEPRECATED -DAPWAL_DEBUG LDFLAGS=`pkg-config --libs gtk+-2.0 gthread-2.0` `xml2-config --libs`
