You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-db/sqlitebrowser/sqlitebrowser-3.3.1.ebuild

46 lines
1.0 KiB

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlitebrowser/sqlitebrowser-3.3.1.ebuild,v 1.4 2015/06/16 00:39:31 pesa Exp $
EAPI=5
inherit eutils cmake-utils
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=""
DEPEND="
dev-java/antlr:0[cxx]
dev-libs/qcustomplot[-qt5(-)]
dev-qt/qtcore:4
dev-qt/qtgui:4"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}"/${P}-unbundle.patch )
src_prepare() {
# https://github.com/qingfengxia/qhexedit still bundled
find libs/{antlr-2.7.7,qcustomplot-source} -delete || die
cmake-utils_src_prepare
}
src_configure() {
# Wait for unmask
local mycmakeargs=(
-DUSE_QT5=OFF
)
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
doicon images/sqlitebrowser.svg
domenu distri/sqlitebrowser.desktop
}