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 7DAA5138334 for ; Thu, 14 Feb 2019 23:06:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B181E089E; Thu, 14 Feb 2019 23:06:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3ECCFE089E for ; Thu, 14 Feb 2019 23:06:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E95C5335CD9 for ; Thu, 14 Feb 2019 23:06:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8C308546 for ; Thu, 14 Feb 2019 23:06:48 +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: <1550185592.a8edb29d6d2db42e46a490989b39bda11511b5e8.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.10.1-r1.ebuild X-VCS-Directories: dev-db/sqlitebrowser/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: a8edb29d6d2db42e46a490989b39bda11511b5e8 X-VCS-Branch: master Date: Thu, 14 Feb 2019 23:06:48 +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: 7990b0c8-34d3-4df4-856f-ac2d8fc0caac X-Archives-Hash: b51af6db8a7f97215308d310e6393a04 commit: a8edb29d6d2db42e46a490989b39bda11511b5e8 Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Feb 14 21:45:55 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Feb 14 23:06:32 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8edb29d dev-db/sqlitebrowser: Fix RDEPENDs, gnome2-utils -> xdg, EAPI-7 bump Closes: https://bugs.gentoo.org/664496 Package-Manager: Portage-2.3.60, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner gentoo.org> .../sqlitebrowser/sqlitebrowser-3.10.1-r1.ebuild | 59 ++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/dev-db/sqlitebrowser/sqlitebrowser-3.10.1-r1.ebuild b/dev-db/sqlitebrowser/sqlitebrowser-3.10.1-r1.ebuild new file mode 100644 index 00000000000..009bf7b5d94 --- /dev/null +++ b/dev-db/sqlitebrowser/sqlitebrowser-3.10.1-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils desktop xdg + +DESCRIPTION="SQLite Database Browser" +HOMEPAGE="https://sqlitebrowser.org" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3 MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +BDEPEND=" + dev-qt/linguist-tools:5 + test? ( dev-qt/qttest:5 ) +" +DEPEND=" + dev-cpp/antlr-cpp:2 + dev-db/sqlite:3 + >=dev-libs/qcustomplot-2.0.0[qt5(+)] + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5[ssl] + dev-qt/qtwidgets:5 + >=x11-libs/qscintilla-2.10.1:=[qt5(+)] +" +RDEPEND="${DEPEND} + app-editors/qhexedit2 + dev-qt/qtsvg:5 +" + +PATCHES=( "${FILESDIR}"/${PN}-3.10.1-unbundle.patch ) + +src_prepare() { + cmake-utils_src_prepare + find libs/{antlr-2.7.7,qcustomplot-source,qscintilla} -delete || die + + sed -e "/^project/ s/\".*\"/sqlitebrowser/" -i CMakeLists.txt || die + + if ! use test; then + sed -e "/qt5_use_modules/ s/ Test//" -i CMakeLists.txt || die + fi +} + +src_configure() { + local mycmakeargs=( + -DENABLE_TESTING=$(usex test) + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + doicon images/sqlitebrowser.svg +}