forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
- Loading branch information
Michael Palimaka
committed
Mar 19, 2017
1 parent
e5f6357
commit 1764034
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST kdb-3.0.0.tar.xz 478500 SHA256 b7dcc4f90a6adf069faa725bb2182639b59ff4f570f7fd1b790c3012c68913a0 SHA512 68fbb9e13c3bd702f398ae554d9b436973aab29d9ce71fb350b962cc9ab9bfdf096e718d46d1b8ea69f265ee8e7094df9923aebfaa1609fda45d54bd9cf0723e WHIRLPOOL bbc471b5818f3b28f1aafd636996e4c4d6460541557dc3d5b2231e0c1dff622b4b69834e432d226f3aaa411e9c0d2ad30f1f1a2b2bc3976bfde239d823f1a456 | ||
DIST kdb-3.0.1.tar.xz 436460 SHA256 76c6e3ec57c03042204d79c22394ca8fe746dfe8946a360250967866c1e047c0 SHA512 00d932a64825a5302867ceef212a206c2b59e52536f80c8b0dfeebaba435806ca60f160f024994023b170c46b49781307f3ab431ee3ec8b03e9666a104747651 WHIRLPOOL cceb6439cce6b9d32e44ffda160568138d845492f42f71cab1c397239df50a8cc3524551bec49d16e3fac86f215b2bee32479b60d9b5320438480cca5c605eb7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Copyright 1999-2017 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=6 | ||
|
||
PYTHON_COMPAT=( python2_7 ) | ||
|
||
inherit kde5 python-any-r1 | ||
|
||
DESCRIPTION="Database connectivity and creation framework for various vendors" | ||
[[ ${KDE_BUILD_TYPE} != live ]] && SRC_URI="mirror://kde/stable/${PN}/src/${P}.tar.xz" | ||
|
||
LICENSE="LGPL-2+" | ||
KEYWORDS="~amd64 ~x86" | ||
IUSE="mysql postgres sqlite" | ||
|
||
RDEPEND=" | ||
$(add_frameworks_dep kcoreaddons) | ||
$(add_qt_dep qtgui) | ||
$(add_qt_dep qtwidgets) | ||
$(add_qt_dep qtxml) | ||
dev-libs/icu:= | ||
mysql? ( virtual/mysql ) | ||
postgres? ( dev-db/postgresql:* ) | ||
sqlite? ( dev-db/sqlite:3 ) | ||
" | ||
DEPEND="${RDEPEND} | ||
${PYTHON_DEPS} | ||
" | ||
|
||
REQUIRED_USE="${PYTHON_REQUIRED_USE}" | ||
|
||
src_configure() { | ||
local mycmakeargs=( | ||
$(cmake-utils_use_find_package mysql MySQL) | ||
$(cmake-utils_use_find_package postgres PostgreSQL) | ||
$(cmake-utils_use_find_package sqlite Sqlite) | ||
) | ||
|
||
kde5_src_configure | ||
} |