10 |
10 |
|
11 |
11 |
CMAKE_DOCS_PREBUILT_DEV=sam
|
12 |
12 |
#CMAKE_DOCS_VERSION=$(ver_cut 1-3)
|
13 |
|
CMAKE_DOCS_VERSION=3.26.4
|
|
13 |
CMAKE_DOCS_VERSION=3.27.0
|
14 |
14 |
# Default to generating docs (inc. man pages) if no prebuilt; overridden later
|
15 |
15 |
# See bug #784815
|
16 |
16 |
CMAKE_DOCS_USEFLAG="+doc"
|
... | ... | |
48 |
48 |
https://github.com/Kitware/CMake/releases/download/v$(ver_cut 1-3)/${MY_P}-SHA-256.txt.asc
|
49 |
49 |
)"
|
50 |
50 |
|
51 |
|
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
|
51 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
52 |
52 |
|
53 |
|
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-bradking )"
|
|
53 |
BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-bradking-20230817 )"
|
54 |
54 |
fi
|
55 |
55 |
fi
|
56 |
56 |
|
... | ... | |
60 |
60 |
|
61 |
61 |
LICENSE="BSD"
|
62 |
62 |
SLOT="0"
|
63 |
|
IUSE="${CMAKE_DOCS_USEFLAG} emacs ncurses qt5 test"
|
|
63 |
IUSE="${CMAKE_DOCS_USEFLAG} dap emacs ncurses qt5 test"
|
64 |
64 |
RESTRICT="!test? ( test )"
|
65 |
65 |
|
66 |
66 |
RDEPEND="
|
... | ... | |
72 |
72 |
>=net-misc/curl-7.21.5[ssl]
|
73 |
73 |
sys-libs/zlib
|
74 |
74 |
virtual/pkgconfig
|
|
75 |
dap? ( dev-cpp/cppdap )
|
75 |
76 |
emacs? ( >=app-editors/emacs-23.1:* )
|
76 |
77 |
ncurses? ( sys-libs/ncurses:0= )
|
77 |
78 |
qt5? (
|
... | ... | |
93 |
94 |
|
94 |
95 |
PATCHES=(
|
95 |
96 |
# Prefix
|
96 |
|
"${FILESDIR}"/${PN}-3.16.0_rc4-darwin-bundle.patch
|
97 |
|
"${FILESDIR}"/${PN}-3.14.0_rc3-prefix-dirs.patch
|
98 |
|
"${FILESDIR}"/${PN}-3.19.1-darwin-gcc.patch
|
99 |
|
|
100 |
|
# Handle gentoo packaging in find modules
|
101 |
|
"${FILESDIR}"/${PN}-3.17.0_rc1-FindBLAS.patch
|
102 |
|
# Next patch needs to be reworked
|
103 |
|
#"${FILESDIR}"/${PN}-3.17.0_rc1-FindLAPACK.patch
|
104 |
|
"${FILESDIR}"/${PN}-3.5.2-FindQt4.patch
|
105 |
|
|
106 |
|
# Respect python eclasses
|
107 |
|
"${FILESDIR}"/${PN}-2.8.10.2-FindPythonLibs.patch
|
108 |
|
"${FILESDIR}"/${PN}-3.9.0_rc2-FindPythonInterp.patch
|
109 |
|
|
110 |
|
"${FILESDIR}"/${PN}-3.18.0-filter_distcc_warning.patch # bug 691544
|
111 |
|
|
112 |
|
# upstream fixes (can usually be removed with a version bump)
|
|
97 |
"${FILESDIR}"/${PN}-3.27.0_rc1-0001-Don-t-use-.so-for-modules-on-darwin-macos.-Use-.bund.patch
|
|
98 |
"${FILESDIR}"/${PN}-3.27.0_rc1-0002-Set-some-proper-paths-to-make-cmake-find-our-tools.patch
|
|
99 |
# Misc
|
|
100 |
"${FILESDIR}"/${PN}-3.27.0_rc1-0003-Prefer-pkgconfig-in-FindBLAS.patch
|
|
101 |
"${FILESDIR}"/${PN}-3.27.0_rc1-0004-Ensure-that-the-correct-version-of-Qt-is-always-used.patch
|
|
102 |
"${FILESDIR}"/${PN}-3.27.0_rc1-0005-Respect-Gentoo-s-Python-eclasses.patch
|
|
103 |
"${FILESDIR}"/${PN}-3.27.0_rc1-0006-Filter-out-distcc-warnings-to-avoid-confusing-CMake.patch
|
|
104 |
|
|
105 |
# Upstream fixes (can usually be removed with a version bump)
|
|
106 |
# pkgconf
|
|
107 |
# fixes https://github.com/pkgconf/pkgconf/issues/317
|
|
108 |
"${FILESDIR}"/${PN}-3.27.4-0001-FindPkgConfig-ignore-whitespace-separators-in-versio.patch
|
113 |
109 |
)
|
114 |
110 |
|
115 |
111 |
cmake_src_bootstrap() {
|
... | ... | |
200 |
196 |
|
201 |
197 |
local mycmakeargs=(
|
202 |
198 |
-DCMAKE_USE_SYSTEM_LIBRARIES=ON
|
|
199 |
-DCMake_ENABLE_DEBUGGER=$(usex dap)
|
203 |
200 |
-DCMAKE_DOC_DIR=/share/doc/${PF}
|
204 |
201 |
-DCMAKE_MAN_DIR=/share/man
|
205 |
202 |
-DCMAKE_DATA_DIR=/share/${PN}
|