From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F14951581D3 for ; Sun, 5 May 2024 19:04:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 42E702BC021; Sun, 5 May 2024 19:04:58 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 29AA72BC021 for ; Sun, 5 May 2024 19:04:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 69B52343163 for ; Sun, 5 May 2024 19:04:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 00CC41A2F for ; Sun, 5 May 2024 19:04:56 +0000 (UTC) From: "Julien Roy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Julien Roy" Message-ID: <1714920698.abe2f26c921004879121f87521dc992bef5b3451.julien@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: x11-libs/gtk-fortran/ X-VCS-Repository: repo/proj/guru X-VCS-Files: x11-libs/gtk-fortran/Manifest x11-libs/gtk-fortran/gtk-fortran-4.6.0.ebuild X-VCS-Directories: x11-libs/gtk-fortran/ X-VCS-Committer: julien X-VCS-Committer-Name: Julien Roy X-VCS-Revision: abe2f26c921004879121f87521dc992bef5b3451 X-VCS-Branch: master Date: Sun, 5 May 2024 19:04:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e5d78f8d-8b88-4689-b385-94dee3ac23ab X-Archives-Hash: 647d9969afd752882156961dd9bf388c commit: abe2f26c921004879121f87521dc992bef5b3451 Author: Sergey Torokhov yandex ru> AuthorDate: Sun May 5 14:51:38 2024 +0000 Commit: Julien Roy jroy ca> CommitDate: Sun May 5 14:51:38 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=abe2f26c x11-libs/gtk-fortran: 4.6.0 version bump Signed-off-by: Sergey Torokhov yandex.ru> x11-libs/gtk-fortran/Manifest | 1 + x11-libs/gtk-fortran/gtk-fortran-4.6.0.ebuild | 71 +++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/x11-libs/gtk-fortran/Manifest b/x11-libs/gtk-fortran/Manifest index 4f59aa219c..4fa033d11a 100644 --- a/x11-libs/gtk-fortran/Manifest +++ b/x11-libs/gtk-fortran/Manifest @@ -1,3 +1,4 @@ DIST gtk-fortran-3.24.31.tar.gz 4287676 BLAKE2B 9fe3f83158ea504d492978ddd0b3a6d4aad5f5325df7c6ebbeb6d11ecb48d1097ee3c7b213c8824a5e4adb15da9af1da64c72b9089746dd0bb5d1d91dc76c766 SHA512 3d1a62837f4750b5c284a1548ede0ecfe8ad2f2619ca7ee2eb75e4cb7fcc739de90d67ff61d406b1f13fe0a2a9f1e23a1baa50afdc8caaaf1b3866e5640cb3f1 DIST gtk-fortran-4.4.1.tar.gz 4443829 BLAKE2B 23a03649943f30dcf25002168deb3e9b5be018574cba3bcff393d2439a9ca2aabb4c8461481d66280c9a6629c0b6d084e1bc8c18abf76b6a4340da9a6031ec7d SHA512 4ea107f3040536fe44d479045005dda96c51f0c7aebaf09153890a511947ef66979d7a61d37b6b9d1e743195b1d09c8b1e4ed3a33334001ac26c04453e15c345 DIST gtk-fortran-4.5.0.tar.gz 4450701 BLAKE2B af34b2ce5b9d91dd61121580dd1ec84e29411269f131fc6df4b95012fae30555a8d08bf147e07ad459bba11c5b3b92fd6d3925f92a318ca47822e86ad2a57b29 SHA512 2fa0957c6367fbcc29050a540700e975ca9356530047c229b6302cf3017d352dce57f4f06fcc52471fce9d7ffdc260ff7ee1cf662e6f2cc029245010d6e9084a +DIST gtk-fortran-4.6.0.tar.gz 4697411 BLAKE2B c72b00407979e40e77ebd622d019e872d17c1e42b77b085556e283c203b89b25fc02a516bfe5785891ae39c757c562d2ead18df8d71a795f9472fbca840dde7b SHA512 64d33fccb2867ef56ff9cbf4cf407b82f862e0c4bb7fb4dbdbaa0fd5d77bfcbee787f5030f62016687cf83e067c1dd4d8f25fef2e77c23d3b67f80ff8cbf0103 diff --git a/x11-libs/gtk-fortran/gtk-fortran-4.6.0.ebuild b/x11-libs/gtk-fortran/gtk-fortran-4.6.0.ebuild new file mode 100644 index 0000000000..a1b763fb8f --- /dev/null +++ b/x11-libs/gtk-fortran/gtk-fortran-4.6.0.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2024 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 +}