mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
x11-libs/gtk-fortran: 4.8.0 version bump
Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
This commit is contained in:
@@ -2,3 +2,4 @@ DIST gtk-fortran-3.24.31.tar.gz 4287676 BLAKE2B 9fe3f83158ea504d492978ddd0b3a6d4
|
||||
DIST gtk-fortran-3.24.49.tar.gz 4315819 BLAKE2B 15f6bb2edae71a1e852371af7b466e8577deb4ba579c6a51a64e7c8f815cc55bd187710c78f17bf15b50038bbc0f762b41d106ea06428b0151db3e7ff8724837 SHA512 d87e3846b108c88f887aa0c318269e0aa46ba2ece9ee05acde3bc66767424fe2b9a743365355c71d746ad674195a331fa39e0a686cf66f206fe556e545850787
|
||||
DIST gtk-fortran-4.6.0.tar.gz 4697411 BLAKE2B c72b00407979e40e77ebd622d019e872d17c1e42b77b085556e283c203b89b25fc02a516bfe5785891ae39c757c562d2ead18df8d71a795f9472fbca840dde7b SHA512 64d33fccb2867ef56ff9cbf4cf407b82f862e0c4bb7fb4dbdbaa0fd5d77bfcbee787f5030f62016687cf83e067c1dd4d8f25fef2e77c23d3b67f80ff8cbf0103
|
||||
DIST gtk-fortran-4.7.1.tar.gz 4701811 BLAKE2B 99c6a9e2a1371d85213f9887820c4b2be36235a5b51a63c69a951b380ad3e39fe4c91d7ac618e556810e3aa05261289801249f2b510494c5123d1e3718d04f96 SHA512 5ebd72b08a9d7a919a87cf0763d26e0aa9df51e720dcc3ed96b4ac30c8ff91f91293a08f8b12f9755aa95fe6f5453145634a67028cc215258bb34df14ef3e687
|
||||
DIST gtk-fortran-4.8.0.tar.gz 4704467 BLAKE2B cbd72dd18a2a319fd1e5a49eabcb393a2dbfac1c905b3f221a273eb47f0858bfdb7a3e5a05480bfa14bbc1ca3ed23eee75e6fd142928c41eec5cc3a69448d60b SHA512 54766454f30c455f154c0f4c58f76216a45ced9af75fa421e905060e41c07a99df9e8943dcad0ce270b1c0f18e8b151b52dfd25f6b80114ed767d160aa7d055b
|
||||
|
||||
71
x11-libs/gtk-fortran/gtk-fortran-4.8.0.ebuild
Normal file
71
x11-libs/gtk-fortran/gtk-fortran-4.8.0.ebuild
Normal file
@@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CMAKE_MAKEFILE_GENERATOR="emake"
|
||||
FORTRAN_STANDARD=2003
|
||||
VIRTUALX_REQUIRED="test"
|
||||
|
||||
inherit cmake fortran-2 virtualx
|
||||
|
||||
DESCRIPTION="A GTK+ binding to build Graphical User Interfaces in Fortran"
|
||||
HOMEPAGE="https://github.com/vmagnin/gtk-fortran"
|
||||
SRC_URI="https://github.com/vmagnin/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="examples high-level plplot static-libs test"
|
||||
REQUIRED_USE="plplot? ( high-level )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
gui-libs/gtk:4
|
||||
plplot? ( >=sci-libs/plplot-5.15.0[cairo,fortran] )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
virtual/fortran
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
DOCS=( "README.md" "README-high-level.md" "CHANGELOG.md" )
|
||||
|
||||
pkg_setup() {
|
||||
fortran-2_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Fix library installation path, disable 'sketcher' build, pass LDFLAGS
|
||||
sed -i -e "s:CMAKE_INSTALL_LIBDIR lib:CMAKE_INSTALL_LIBDIR $(get_libdir):" \
|
||||
-e "s: add_subdirectory(sketcher)::" \
|
||||
-e 's:"-rdynamic":"-rdynamic '"${LDFLAGS}"'":' CMakeLists.txt || die
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs+=(
|
||||
-DEXCLUDE_PLPLOT=$(usex plplot false true)
|
||||
-DNO_BUILD_HL=$(usex high-level false true)
|
||||
-DINSTALL_EXAMPLES=$(usex examples)
|
||||
-DNO_BUILD_EXAMPLES=true
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx cmake_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
# Remove static library here as it's used to build additional tools
|
||||
if use !static-libs ; then
|
||||
rm "${ED}/usr/$(get_libdir)/libgtk-${SLOT}-fortran.a" || die
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user