Skip to content

Commit

Permalink
x11-plugins/gkrellm-bgchanger: Eclass update
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.19, Repoman-2.3.6
  • Loading branch information
SoapGentoo committed Jan 4, 2018
1 parent 3c16d84 commit 502bb8f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@
GTK_INCLUDE = `$(GTK_CONFIG) gtk+-2.0 --cflags`
GTK_LIB = `$(GTK_CONFIG) gtk+-2.0 --libs`

-GKRELLM_INCLUDE= -I/usr/local/include
+GKRELLM_INCLUDE= -I/usr/include

INSTALL=install -c -m 755

17 changes: 9 additions & 8 deletions x11-plugins/gkrellm-bgchanger/gkrellm-bgchanger-0.1.11-r2.ebuild
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit gkrellm-plugin toolchain-funcs

MY_PN="gkrellmbgchg2"
Expand All @@ -12,19 +13,19 @@ DESCRIPTION="Plugin for GKrellM2 to change your desktop background"
HOMEPAGE="http://www.bender-suhl.de/stefan/english/comp/gkrellmbgchg.html"
SRC_URI="http://www.bender-suhl.de/stefan/comp/sources/${MY_P}.tar.gz"

SLOT="2"
LICENSE="GPL-2"
SLOT="2"
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
IUSE=""

RDEPEND="app-admin/gkrellm[X]"
RDEPEND="app-admin/gkrellm:2[X]"
DEPEND="${RDEPEND}"

PLUGIN_SO="gkrellmbgchg.so"
PLUGIN_DOCS="bgchg_info.sh kdewallpaper.sh"
PATCHES=( "${FILESDIR}"/${PN}-0.1.11-fix-build-system.patch )

PLUGIN_SO=( gkrellmbgchg$(get_modname) )
PLUGIN_DOCS=( bgchg_info.sh kdewallpaper.sh )

src_prepare() {
default
sed -i "s:local/::" Makefile || die
src_configure() {
tc-export CC
}

0 comments on commit 502bb8f

Please sign in to comment.