From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 finch.gentoo.org (Postfix) with ESMTPS id 284C81584AD for ; Sat, 03 May 2025 07:53:29 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 14FB63430C4 for ; Sat, 03 May 2025 07:53:29 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 13C8B110287; Sat, 03 May 2025 07:53:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 bobolink.gentoo.org (Postfix) with ESMTPS id 0ACDD110287 for ; Sat, 03 May 2025 07:53:28 +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 B727A34301B for ; Sat, 03 May 2025 07:53:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 592FFF18 for ; Sat, 03 May 2025 07:53:26 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1746258797.4635440ad9a6d3824a09ecc63ba0d5c49b753eab.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/sqlitebrowser/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/sqlitebrowser/sqlitebrowser-3.13.1_p20250502-r1.ebuild X-VCS-Directories: dev-db/sqlitebrowser/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 4635440ad9a6d3824a09ecc63ba0d5c49b753eab X-VCS-Branch: master Date: Sat, 03 May 2025 07:53:26 +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: 250d6803-8760-47e8-b347-6da449c5186c X-Archives-Hash: 2797654a9d7e19f0e345cb68d64ecc47 commit: 4635440ad9a6d3824a09ecc63ba0d5c49b753eab Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat May 3 07:52:02 2025 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat May 3 07:53:17 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4635440a dev-db/sqlitebrowser: Add missing dependency Closes: https://bugs.gentoo.org/955295 Signed-off-by: Andreas Sturmlechner gentoo.org> .../sqlitebrowser-3.13.1_p20250502-r1.ebuild | 65 ++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/dev-db/sqlitebrowser/sqlitebrowser-3.13.1_p20250502-r1.ebuild b/dev-db/sqlitebrowser/sqlitebrowser-3.13.1_p20250502-r1.ebuild new file mode 100644 index 000000000000..44f493f2482e --- /dev/null +++ b/dev-db/sqlitebrowser/sqlitebrowser-3.13.1_p20250502-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +COMMIT=03be1c69c40c74f08e880e754ce30d7af647c020 +inherit cmake flag-o-matic xdg + +DESCRIPTION="Light GUI editor for SQLite databases" +HOMEPAGE="https://sqlitebrowser.org/" + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/sqlitebrowser/sqlitebrowser.git" +else + SRC_URI="https://github.com/sqlitebrowser/sqlitebrowser/archive/${COMMIT}.tar.gz -> ${P}-${COMMIT:0:8}.tar.gz" + S="${WORKDIR}/${PN}-${COMMIT}" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+ MPL-2.0" +SLOT="0" +IUSE="sqlcipher test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=app-editors/qhexedit2-0.8.10 + dev-db/sqlite:3 + >=dev-libs/qcustomplot-2.1.1-r10 + dev-qt/qt5compat:6 + dev-qt/qtbase:6[gui,network,ssl,widgets,xml] + >=x11-libs/qscintilla-2.14.1-r1:=[qt6(+)] + sqlcipher? ( dev-db/sqlcipher ) +" +DEPEND="${RDEPEND} + dev-qt/qtbase:6[concurrent] +" +BDEPEND="dev-qt/qttools:6[linguist]" + +DOCS=( images/ {BUILDING,CHANGELOG,README}.md ) + +PATCHES=( "${FILESDIR}/${P}-no-git.patch" ) + +src_configure() { + local mycmakeargs=( + -DQT_MAJOR=Qt6 + -DFORCE_INTERNAL_QSCINTILLA=OFF + -DFORCE_INTERNAL_QCUSTOMPLOT=OFF + -DFORCE_INTERNAL_QHEXEDIT=OFF + -Dsqlcipher=$(usex sqlcipher) + -DENABLE_TESTING=$(usex test) + ) + [[ -n ${COMMIT} ]] && mycmakeargs+=( -DGIT_COMMIT_HASH=${COMMIT:0:8} ) + + # https://bugs.gentoo.org/855254 + append-flags -fno-strict-aliasing + filter-lto + + cmake_src_configure +} + +src_install() { + [[ ${PV} == *9999* ]] && DOCS+=( SECURITY.md ) + cmake_src_install +}