mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-db/sqlitebrowser: drop 3.13.1_p20250502
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,64 +0,0 @@
|
||||
# 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/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
|
||||
}
|
||||
Reference in New Issue
Block a user