From 862f23f02b48adf9af4425a91697a196dd80e7a3 Mon Sep 17 00:00:00 2001 From: Nicolas PARLANT Date: Tue, 26 May 2026 12:40:23 +0200 Subject: [PATCH] media-video/bino: add 2.7 w/ verify-sig update metadata, github repo is bino restrict gles2-only fix src_configure misnamed src_compile fix docdir add verify-sig add a patch to unforce lto Bug: https://bugs.gentoo.org/913873 Closes: https://bugs.gentoo.org/955128 Closes: https://bugs.gentoo.org/975122 Signed-off-by: Nicolas PARLANT Part-of: https://codeberg.org/gentoo/gentoo/pulls/979 Merges: https://codeberg.org/gentoo/gentoo/pulls/979 Signed-off-by: Sam James --- media-video/bino/Manifest | 2 + media-video/bino/bino-2.7.ebuild | 49 +++++++++++++++++++ .../bino/files/bino-2.7-unforce_lto.patch | 11 +++++ media-video/bino/metadata.xml | 2 +- 4 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 media-video/bino/bino-2.7.ebuild create mode 100644 media-video/bino/files/bino-2.7-unforce_lto.patch diff --git a/media-video/bino/Manifest b/media-video/bino/Manifest index 2ad7308555846..70d8c21f70dc4 100644 --- a/media-video/bino/Manifest +++ b/media-video/bino/Manifest @@ -1 +1,3 @@ DIST bino-2.2.tar.gz 217784 BLAKE2B 84897edefd3c7ca34bea06bdafe985b2ba8936fc0f5303dfb288589361202537d68ffcfcda7e5daec3b59b72385f840dd5d57bc125fdf6383ca9ebed2194f6ec SHA512 73e6207db4a71673f88ebbd8999054acfc8f70a069fc74089976786082373d0eb7ae675786b1d3cf8907987267d9b1b50ddb05366b8b70f880c6898da765cd7b +DIST bino-2.7.tar.gz 241338 BLAKE2B ed87256c8c8e6daf0833394ec52573bf77655590109cb580bd5a0d260e4163d9dec546eec0dfb3a3cdb11e44214dceb1569a4f0e4529bff41fe91446dc2bc4c8 SHA512 45ff802468945781ed0e0ab35e1582cda3aa9e7ad3a8cbac643a7dfec3bc54f1cdeed3adff255fa2c9506c69fc15c25de3bc6ea395b5779d6c9ee36e98e5b134 +DIST bino-2.7.tar.gz.sig 310 BLAKE2B 3bed9ac858e58a1686a148faad4a048d14fb637e4ebca1e2044568c41938df65e15d11e0b5b3ab94b0db8eeb484f8bdb5600916a12ccccf9d51fab41befdcf00 SHA512 62036b5d86a6a4c286264ed6ef89d6a459a144486e20ab5f76b88f3867ceaabc18e449d66b1ef5e3fc11f5d75fdc9e8652183feea13a9091b144dd653fb8b87b diff --git a/media-video/bino/bino-2.7.ebuild b/media-video/bino/bino-2.7.ebuild new file mode 100644 index 0000000000000..d2b118a4d0c73 --- /dev/null +++ b/media-video/bino/bino-2.7.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/martinlambers.asc +inherit cmake verify-sig xdg + +DESCRIPTION="Stereoscopic and multi-display media player" +HOMEPAGE="https://bino3d.org/" +SRC_URI=" + https://bino3d.org/releases/${P}.tar.gz + verify-sig? ( https://bino3d.org/releases/${P}.tar.gz.sig ) +" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" + +# for -gles2-only see https://bugs.gentoo.org/913873 +RDEPEND=" + dev-qt/qtbase:6[-gles2-only,gui,opengl,widgets] + dev-qt/qtmultimedia:6 + dev-qt/qtsvg:6 +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-qt/qttools:6[linguist] + virtual/pandoc + verify-sig? ( sec-keys/openpgp-keys-martinlambers ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-2.7-unforce_lto.patch +) + +src_configure() { + local mycmakeargs=( + # Unpackaged + -DCMAKE_DISABLE_FIND_PACKAGE_QVR=ON + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + mv "${ED}"/usr/share/doc/{${PN},${PF}} || die +} diff --git a/media-video/bino/files/bino-2.7-unforce_lto.patch b/media-video/bino/files/bino-2.7-unforce_lto.patch new file mode 100644 index 0000000000000..1363d9a060c0a --- /dev/null +++ b/media-video/bino/files/bino-2.7-unforce_lto.patch @@ -0,0 +1,11 @@ +Respect userflags +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -13,7 +13,6 @@ set(CMAKE_AUTOMOC ON) + project(Bino LANGUAGES CXX) + + set(CMAKE_CXX_STANDARD 17) +-set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE) + + # Required: Qt6 + find_package(Qt6 6.6.0 REQUIRED COMPONENTS OpenGLWidgets Multimedia LinguistTools) diff --git a/media-video/bino/metadata.xml b/media-video/bino/metadata.xml index 063b7cd3b4ca1..e639a00d8ec16 100644 --- a/media-video/bino/metadata.xml +++ b/media-video/bino/metadata.xml @@ -3,6 +3,6 @@ - marlam/bino-mirror + marlam/bino