From 5db653685d01e9b9bdfc4fb81e9a2973d394e6ee Mon Sep 17 00:00:00 2001 From: Harri Nieminen Date: Mon, 6 Feb 2017 09:41:48 +0200 Subject: 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(-) create mode 100644 x11-misc/apwal/apwal-0.4.5-r2.ebuild (limited to 'x11-misc/apwal') 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 000000000000..59e3ef5000a2 --- /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 462ba882d8e3..2c278b278a03 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` -- cgit v1.2.3-65-gdbad