forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sqliteman-1.2.2-r5.ebuild
38 lines (30 loc) · 768 Bytes
/
sqliteman-1.2.2-r5.ebuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake flag-o-matic xdg
DESCRIPTION="Powerful GUI manager for the Sqlite3 database"
HOMEPAGE="https://sourceforge.net/projects/sqliteman/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm x86"
IUSE=""
RDEPEND="
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtsql:5[sqlite]
dev-qt/qtwidgets:5
>=x11-libs/qscintilla-2.10.3:="
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}/${P}-lpthread.patch"
"${FILESDIR}/${P}-qt5.patch"
"${FILESDIR}/${P}-cmake.patch"
"${FILESDIR}/${P}-desktop.patch"
)
src_prepare() {
# remove bundled lib
rm -rf ${PN}/qscintilla2 || die
append-flags -fPIC
cmake_src_prepare
}