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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 03065158086 for ; Wed, 27 Oct 2021 06:18:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6C638E0880; Wed, 27 Oct 2021 06:18:12 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 544F3E0880 for ; Wed, 27 Oct 2021 06:18:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 830B7343BDE for ; Wed, 27 Oct 2021 06:18:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 439961AD for ; Wed, 27 Oct 2021 06:18:07 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1635293478.709dab81c97bef47a2b1cea9fb0db62e71b839ac.flow@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-3.24.30.ebuild X-VCS-Directories: x11-libs/gtk-fortran/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 709dab81c97bef47a2b1cea9fb0db62e71b839ac X-VCS-Branch: master Date: Wed, 27 Oct 2021 06:18:07 +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: eb9b350c-46fa-48c3-b1b9-792e894d4c0e X-Archives-Hash: ab8443866438e3caa3a7cce214238c26 commit: 709dab81c97bef47a2b1cea9fb0db62e71b839ac Author: Sergey Torokhov yandex ru> AuthorDate: Wed Oct 27 00:11:18 2021 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Wed Oct 27 00:11:18 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=709dab81 x11-libs/gtk-fortran: 3.24.30 version bump Signed-off-by: Sergey Torokhov yandex.ru> x11-libs/gtk-fortran/Manifest | 1 + x11-libs/gtk-fortran/gtk-fortran-3.24.30.ebuild | 64 +++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/x11-libs/gtk-fortran/Manifest b/x11-libs/gtk-fortran/Manifest index ee062a8a9..67d6d1499 100644 --- a/x11-libs/gtk-fortran/Manifest +++ b/x11-libs/gtk-fortran/Manifest @@ -1 +1,2 @@ DIST gtk-fortran-3.24.18.tar.gz 4066185 BLAKE2B 45a84dfd27b5f0495da55526262e3ba888f1d7eaa685336aaafae726dab63d047d71901a07eafc08c2f51d1e24a087e85f7b2a172323a8f1608c5ff64193f31c SHA512 b8ebf9e129c95c7aa2cf67d41f16915a18f05bd4cce4001ed56148b6d4e4ae3fe2b2e2080f35a1db4be8256bc3d5992061bf0c0e55e332f9a75a4a03e52cded5 +DIST gtk-fortran-3.24.30.tar.gz 4276622 BLAKE2B 4b18d21e0479496caea386450fc16c12d20ad3491932b331890b5d7328c704799f8dd288c4a1d0d2e34f0957f0bdca316f820850b80c4ff8d2b66ce3673fe5ec SHA512 4e1cd522ca80db01a1058d6c58b4a6e3e63e6b1d510e2ee5fd0b8f8aa9f9dc8e433d203781c908065571c4c1a6d9686c22eec879b396352b12fa82b604855c86 diff --git a/x11-libs/gtk-fortran/gtk-fortran-3.24.30.ebuild b/x11-libs/gtk-fortran/gtk-fortran-3.24.30.ebuild new file mode 100644 index 000000000..243d4c8fb --- /dev/null +++ b/x11-libs/gtk-fortran/gtk-fortran-3.24.30.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CMAKE_MAKEFILE_GENERATOR="emake" +FORTRAN_STANDARD=2003 + +inherit cmake fortran-2 + +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="3" +KEYWORDS="~amd64 ~x86" + +IUSE="examples high-level plplot static-libs" +REQUIRED_USE="plplot? ( high-level )" + +RDEPEND=" + x11-libs/gtk+:3 + plplot? ( >=sci-libs/plplot-5.13.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 and disable 'sketcher' build + sed -i -e "s:CMAKE_INSTALL_LIBDIR lib:CMAKE_INSTALL_LIBDIR $(get_libdir):" \ + -e "s: add_subdirectory(sketcher)::" 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_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 +}