Files
guru/dev-util/wxformbuilder/wxformbuilder-4.2.1-r1.ebuild
Huang Rui 1cb00e64f1 dev-util/wxformbuilder: drop -fPIE from app, bump to -r1
- Add no-pie patch: app target now POSITION_INDEPENDENT_CODE OFF.
- Third-party static libs keep -fPIC for shared-lib linking.

Closes: https://bugs.gentoo.org/948602
Signed-off-by: Huang Rui <vowstar@gmail.com>
2026-05-18 17:39:38 +08:00

35 lines
721 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CMAKE_BUILD_TYPE="Release"
WX_GTK_VER="3.2-gtk3"
inherit cmake wxwidgets xdg
MY_PN="wxFormBuilder"
DESCRIPTION="A wxWidgets GUI Builder"
HOMEPAGE="https://github.com/wxFormBuilder/wxFormBuilder"
SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
RESTRICT="mirror"
RDEPEND="
dev-libs/tinyxml2
x11-libs/wxGTK:${WX_GTK_VER}[X,gstreamer]
"
DEPEND="${RDEPEND}
>=dev-libs/boost-1.71
"
PATCHES=(
"${FILESDIR}/${PN}-4.2.1-fix-build.patch"
"${FILESDIR}/${PN}-4.2.1-no-pie.patch"
)