mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 07:33:19 -04:00
- 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>
35 lines
721 B
Bash
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"
|
|
)
|