Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev-tcltk/tktreectrl: EAPI8 bump, use https #35391

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
48 changes: 48 additions & 0 deletions dev-tcltk/tktreectrl/tktreectrl-2.4.1-r1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit virtualx

DESCRIPTION="Flexible listbox widget for Tk"
HOMEPAGE="https://tktreectrl.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

LICENSE="tcltk"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
IUSE="debug shellicon threads"

RDEPEND=">=dev-lang/tk-8.4:0="
DEPEND="${RDEPEND}"

PATCHES=( "${FILESDIR}"/2.2.9-as-needed.patch )

QA_CONFIG_IMPL_DECL_SKIP=(
stat64 # used to test for Large File Support
)

src_configure() {
local myeconfargs=(
$(use_enable threads)
$(use_enable shellicon)
$(use_enable amd64 64bit)
$(use_enable debug symbols)
--with-x
--enable-shared
)

econf ${myeconfargs[@]}
}

src_test() {
virtx emake test
}

src_install() {
default
mv \
"${ED}"/usr/lib*/treectrl${PV}/htmldoc \
"${ED}"/usr/share/doc/${PF}/ || die
}