You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-editors/wxhexeditor/wxhexeditor-0.24-r1.ebuild

44 lines
817 B

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_PN="wxHexEditor"
WX_GTK_VER=3.0-gtk3
inherit toolchain-funcs wxwidgets
DESCRIPTION="A cross-platform hex editor designed specially for large files"
HOMEPAGE="https://github.com/EUA/wxHexEditor"
SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-v${PV}-src.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="
app-crypt/mhash
dev-libs/udis86
x11-libs/wxGTK:${WX_GTK_VER}[X]"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_PN}"
PATCHES=(
"${FILESDIR}"/${P}-syslibs.patch
"${FILESDIR}"/${P}-desktop.patch
)
pkg_pretend() {
[[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
}
pkg_setup() {
[[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
}
src_prepare() {
setup-wxwidgets
default
}