1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit eutils virtualx
10 DESCRIPTION="System Tray Icon Support for Tk on X11"
11 HOMEPAGE="https://code.google.com/p/tktray/"
12 SRC_URI="https://tktray.googlecode.com/files/${MY_P}.tar.gz"
16 KEYWORDS="amd64 ~ppc ~sparc x86"
17 IUSE="debug threads test"
18 RESTRICT="!test? ( test )"
26 S="${WORKDIR}/${MY_P}"
29 epatch "${FILESDIR}"/1.1-ldflags.patch
33 source /usr/lib/tclConfig.sh
34 CPPFLAGS="-I${TCL_SRC_DIR}/generic ${CPPFLAGS}" \
36 $(use_enable debug symbols) \