mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 13:47:35 -08:00
Bug: https://bugs.gentoo.org/473598 Bug: https://bugs.gentoo.org/720224 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
43 lines
834 B
Bash
43 lines
834 B
Bash
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
MY_P=${PN}-release-test-v${PV}
|
|
|
|
DESCRIPTION="Adds native drag & drop capabilities to tk toolkit"
|
|
HOMEPAGE="https://www.ellogon.org/petasis/index.php/tcltk-projects/tkdnd"
|
|
SRC_URI="https://github.com/petasis/tkdnd/archive/${MY_P}.tar.gz"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86"
|
|
IUSE="debug threads X"
|
|
|
|
DEPEND="dev-lang/tk:="
|
|
RDEPEND=${DEPEND}
|
|
|
|
QA_CONFIG_IMPL_DECL_SKIP=(
|
|
stat64 # used to test for Large File Support
|
|
)
|
|
|
|
S=${WORKDIR}/${PN}-${MY_P}
|
|
|
|
RESTRICT="test"
|
|
|
|
src_prepare() {
|
|
sed \
|
|
-e 's:-O2::g' \
|
|
-e 's:-fomit-frame-pointer::g' \
|
|
-e 's:-pipe::g' \
|
|
-i configure tclconfig/tcl.m4 || die
|
|
default
|
|
}
|
|
|
|
src_configure() {
|
|
econf \
|
|
$(use_with X x) \
|
|
$(use_enable debug symbols) \
|
|
$(use_enable threads)
|
|
}
|