diff options
author | Andreas Sturmlechner <andreas.sturmlechner@gmail.com> | 2016-10-22 20:52:26 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-11-15 23:28:39 +0100 |
commit | 58c9ff528235a3b483358f53f31e9cb75df0cf62 (patch) | |
tree | 4f9ef47d404c9aeb6979c5e14cb2646ebe524ed2 | |
parent | dev-vcs/rapidsvn: remove unused patch (diff) | |
download | gentoo-58c9ff528235a3b483358f53f31e9cb75df0cf62.tar.gz gentoo-58c9ff528235a3b483358f53f31e9cb75df0cf62.tar.bz2 gentoo-58c9ff528235a3b483358f53f31e9cb75df0cf62.zip |
dev-db/sqlitebrowser: 3.9.1 version bump
Gentoo-bug: 596884
Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/2793
Signed-off-by: David Seifert <soap@gentoo.org>
-rw-r--r-- | dev-db/sqlitebrowser/Manifest | 1 | ||||
-rw-r--r-- | dev-db/sqlitebrowser/files/sqlitebrowser-3.9.1-cmake.patch | 24 | ||||
-rw-r--r-- | dev-db/sqlitebrowser/sqlitebrowser-3.9.1.ebuild | 61 |
3 files changed, 86 insertions, 0 deletions
diff --git a/dev-db/sqlitebrowser/Manifest b/dev-db/sqlitebrowser/Manifest index 62d26f5fe647..8b97346e9779 100644 --- a/dev-db/sqlitebrowser/Manifest +++ b/dev-db/sqlitebrowser/Manifest @@ -1,2 +1,3 @@ DIST sqlitebrowser-3.7.0.tar.gz 1509766 SHA256 3093a1dcf5b3138c1adf29857d62249ab2b068e70b001869a31151763e28cc3a SHA512 f4c2f517a0b04fb74d8ec656e34f93d467a233040b36fab8f6f172681eb213be5c08131ecdaaa542d833bf24ef564d8e6f800e861b9a20d53de7a585aa104533 WHIRLPOOL 3bbfaa99f179c10f542d344ce6fe55656aa750a52925b2de590e2ba24bcafa95604646e6b218bca4f461390268de2bc2fb29d0de1deaf06438b33cb660e614e8 DIST sqlitebrowser-3.8.0.tar.gz 1538043 SHA256 f638a751bccde4bf0305a75685e2a72d26fc3e3a69d7e15fd84573f88c1a4d92 SHA512 6e262e3bd3b26a1574a69cc9f306774cc9fe69f87c3253aba6b40c35f2491bc0636b6d5e705526e039ee9d8ed27d21a4529a624d62e8879a3917cfb502a65589 WHIRLPOOL 35d3594643a65e6b69bec816430dab3017c3ba197a12ab56ed9f027525db02a635789fda723bbd823d2f66b3933ee2381181ea7e95151be515cf1ddceeb9c8f9 +DIST sqlitebrowser-3.9.1.tar.gz 1704713 SHA256 d0d2e06a69927ba1d0b955f3261ce70c61befc5bd5ddaa06752dae8bb4219ed8 SHA512 c1e88063fac864f60a9802ae378e13d6f3a09e2f4e71e50c6abca4967a941c444a64617bad2dfc743cf9a6be554af9c73e4c61533300ed9a51652234ffdbd225 WHIRLPOOL 50c27ef3405573806e3c8939b69652f25896b9281b59d609cd3210faeb793d707d11ecdea4dada045eb4aa4da375327669566f71ecdbd151f669be1c2419a197 diff --git a/dev-db/sqlitebrowser/files/sqlitebrowser-3.9.1-cmake.patch b/dev-db/sqlitebrowser/files/sqlitebrowser-3.9.1-cmake.patch new file mode 100644 index 000000000000..cf1cde6c9197 --- /dev/null +++ b/dev-db/sqlitebrowser/files/sqlitebrowser-3.9.1-cmake.patch @@ -0,0 +1,24 @@ +From 2563d678681fa6972674b47617015cb2515bd414 Mon Sep 17 00:00:00 2001 +From: Martin Kleusberg <mkleusberg@gmail.com> +Date: Wed, 12 Oct 2016 23:26:56 +0200 +Subject: [PATCH] Fix cmake file + +--- + CMakeLists.txt | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 998c2f4..4c5debd 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -3,8 +3,8 @@ cmake_minimum_required(VERSION 2.8.7) + + set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake" "${CMAKE_MODULE_PATH}") + +-OPTION(USE_QT5 FALSE "Build with qt5") +-OPTION(ENABLE_TESTING FALSE "Enable the unit tests") ++OPTION(USE_QT5 "Build with qt5" OFF) ++OPTION(ENABLE_TESTING "Enable the unit tests" OFF) + + if(NOT CMAKE_BUILD_TYPE) + set(CMAKE_BUILD_TYPE "Release") diff --git a/dev-db/sqlitebrowser/sqlitebrowser-3.9.1.ebuild b/dev-db/sqlitebrowser/sqlitebrowser-3.9.1.ebuild new file mode 100644 index 000000000000..c8415a6779fe --- /dev/null +++ b/dev-db/sqlitebrowser/sqlitebrowser-3.9.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit cmake-utils eutils + +DESCRIPTION="SQLite Database Browser" +HOMEPAGE="http://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" + +RDEPEND=" + dev-cpp/antlr-cpp:2 + dev-db/sqlite:3 + dev-libs/qcustomplot[qt5] + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + x11-libs/qscintilla +" +DEPEND="${RDEPEND} + dev-qt/linguist-tools:5 + test? ( dev-qt/qttest:5 ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-3.7.0-unbundle.patch + "${FILESDIR}"/${PN}-3.9.1-cmake.patch +) + +src_prepare() { + cmake-utils_src_prepare + # https://github.com/qingfengxia/qhexedit still bundled + # x11-libs/qscintilla[qt4?,qt5?] still bundled + find libs/{antlr-2.7.7,qcustomplot-source} -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=( + -DUSE_QT5=ON + -DENABLE_TESTING=$(usex test) + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + doicon images/sqlitebrowser.svg +} |