diff options
Diffstat (limited to 'dev-tcltk/tktray')
-rw-r--r-- | dev-tcltk/tktray/Manifest | 1 | ||||
-rw-r--r-- | dev-tcltk/tktray/tktray-1.3.9-r2.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-tcltk/tktray/Manifest b/dev-tcltk/tktray/Manifest index 6dd811074cf3..b097dbc018b3 100644 --- a/dev-tcltk/tktray/Manifest +++ b/dev-tcltk/tktray/Manifest @@ -1,4 +1,5 @@ AUX 1.1-ldflags.patch 371 BLAKE2B a18964ab4a2bcc1e7d3af98a76bb20a0a0993689d353a07b7c8f8296ee956755d3e51f9e7557a362a7bbc51604db3c7b73cb96ecc3c6ac350f313a51d53dbac5 SHA512 d29c06676607eca5fb7a0a0675382a80441117a5a070236329d8f4e8c046a5ade060d7e618740953f4c4c87f432fd661a19e201b737b4273805a48bd0165f553 DIST tktray1.3.9.tar.gz 134484 BLAKE2B 9edeae9869dc318cd0f98c6585fdef5d903f84f8d32ad0a29fc456ab0eb38615684f7da8a8eb4022c9c40ec24a623c7a189f50d9e17bcbd0a204459e2030b546 SHA512 2c52a343e7f8ff5b7e7bb2e2f1de7766111ce6b47b8ace478a1f2aaa6c28a5b19ec854f2b22511136be1f1da2a87f506932a1d1b893deb3c44a7e47a28609518 +EBUILD tktray-1.3.9-r2.ebuild 898 BLAKE2B 7fe5071b23c81f94769af3ac3141f09982806290f67ca897b04b52a71a6b46ec7532fc0ba3500d59a125836123c797deb78758090609225cbda5b0fd02b7e083 SHA512 5d79159a2d7d8ad87427e29893fd90fec8f2691cb3b4fbdbb38af11896f317187188be50575f834ee6bd008dd541c6ac9e5f41d8f105848a344282e2c5b7df57 EBUILD tktray-1.3.9.ebuild 768 BLAKE2B 7cd40b26ac07c5d8be2f9d639b536d2b02a1ad5b54e3f204cdca30967515aa7b68f8d95d79f0ae97214eac0b854d1f4bed2c501569aafe4c75ba22bf659e1d90 SHA512 8e675f664da1f60505141d3fa91b8ae86cdecff970d56ce8c6ab9fa1865a29bb51263e4cddddf3f0c2745d9e29147c3349e272cb603930075d1e6e8fc5058c1e MISC metadata.xml 260 BLAKE2B 9864f2503702b03d3ad715b3f2bd7ef7077f9ddef089de0d6a0840599d99a7f99d439ee50c12afc9ca99b0e288babf74b0bb2a6132ae6dd656b8d7c15e9b10a9 SHA512 3d1e4f14995736fb28198da21587a813a31f1330873ae3078dcd9a2452c1196d23e45983877d2e296353e1ac35cc6ff461b309585237bcc768e37e6b2728c23b diff --git a/dev-tcltk/tktray/tktray-1.3.9-r2.ebuild b/dev-tcltk/tktray/tktray-1.3.9-r2.ebuild new file mode 100644 index 000000000000..db484aefe6cd --- /dev/null +++ b/dev-tcltk/tktray/tktray-1.3.9-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="System Tray Icon Support for Tk on X11" +HOMEPAGE="https://code.google.com/p/tktray/" +SRC_URI="https://tktray.googlecode.com/files/${PN}${PV}.tar.gz" +S="${WORKDIR}/${PN}${PV}" + +LICENSE="tcltk" +SLOT="0" +KEYWORDS="amd64 ~ppc ~sparc x86" +IUSE="debug threads" + +# tests need actual X server with user interaction, bug #284919 +RESTRICT="test" + +DEPEND=" + >=dev-lang/tcl-8.4:= + >=dev-lang/tk-8.4:= + x11-libs/libXext" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/1.1-ldflags.patch +) + +src_prepare() { + default + + # Fix bad configure tests w/ Clang 16 + eautoreconf +} + +src_configure() { + source "${ESYSROOT}/usr/$(get_libdir)/tclConfig.sh" || die + + CPPFLAGS="-I${TCL_SRC_DIR}/generic ${CPPFLAGS}" \ + econf \ + $(use_enable debug symbols) \ + $(use_enable threads) +} |