summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Rasmus Thomsen <Rasmus.thomsen@protonmail.com> 2017-09-14 14:45:57 +0200
committerAvatar Heiko Becker <heirecka@exherbo.org> 2017-09-21 07:43:01 +0200
commit70a7c0b19a504e62790083621f07ee3a31f55062 (patch)
tree4c3942ee66b7cb2579d718e2ee3e9a693e641527
parent9ca22fef0fa256cd5e723509ec0c9a89f430dd2c (diff)
downloaddesktop-70a7c0b19a504e62790083621f07ee3a31f55062.tar.gz
desktop-70a7c0b19a504e62790083621f07ee3a31f55062.tar.xz
sys-auth/qtkeychain: version bump to 0.8.0
Change-Id: I6036a24c462ad01b980762ac5f7223122d108324 Reviewed-on: https://galileo.mailstation.de/gerrit/10060 Reviewed-by: Heiko Becker <heirecka@exherbo.org>
-rw-r--r--packages/sys-auth/qtkeychain/qtkeychain-0.8.0.exheres-0 (renamed from packages/sys-auth/qtkeychain/qtkeychain-0.7.0.exheres-0)18
1 files changed, 15 insertions, 3 deletions
diff --git a/packages/sys-auth/qtkeychain/qtkeychain-0.7.0.exheres-0 b/packages/sys-auth/qtkeychain/qtkeychain-0.8.0.exheres-0
index a4c1ba2..b3bbb64 100644
--- a/packages/sys-auth/qtkeychain/qtkeychain-0.7.0.exheres-0
+++ b/packages/sys-auth/qtkeychain/qtkeychain-0.8.0.exheres-0
@@ -1,7 +1,7 @@
# Copyright 2013-2016 Timo Gurr <tgurr@exherbo.org>
# Distributed under the terms of the GNU General Public License v2
-require github [ user=frankosterfeld tag=v${PV} ] cmake [ api=2 ]
+require github [ user=frankosterfeld tag=v${PV} ] cmake [ api=2 cmake_minimum_version=2.8.11 ]
SUMMARY="Platform-independent Qt API for storing passwords securely"
DESCRIPTION="
@@ -15,13 +15,16 @@ LICENCES="BSD-2"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS="
+ libsecret [[ description = [ Libsecret storage backend ] ]]
( qt4 qt5 ) [[ number-selected = at-least-one ]]
"
DEPENDENCIES="
build:
+ virtual/pkg-config
qt5? ( x11-libs/qttools:5 [[ note = [ for Qt5LinguistTools ] ]] )
build+run:
+ libsecret? ( dev-libs/libsecret:1 )
qt4? ( x11-libs/qt:4[dbus] )
qt5? ( x11-libs/qtbase:5 )
suggestion:
@@ -30,17 +33,26 @@ DEPENDENCIES="
kde/kwalletmanager:4 [[ description = [ KWallet storage backend (KF5) ] ]]
"
+CMAKE_SRC_CONFIGURE_PARAMS=(
+ -DQTKEYCHAIN_STATIC:BOOL=FALSE
+ -DBUILD_TRANSLATIONS:BOOL=TRUE
+)
+
src_configure() {
if option qt4; then
edo mkdir "${WORKBASE}"/qt4-build
edo pushd "${WORKBASE}"/qt4-build
- ecmake -DBUILD_WITH_QT4:BOOL=TRUE "${CMAKE_SRC_CONFIGURE_PARAMS[@]}"
+ ecmake -DBUILD_WITH_QT4:BOOL=TRUE \
+ "${CMAKE_SRC_CONFIGURE_PARAMS[@]}" \
+ $(cmake_option libsecret LIBSECRET_SUPPORT)
popd
fi
if option qt5; then
edo mkdir "${WORKBASE}"/qt5-build
edo pushd "${WORKBASE}"/qt5-build
- ecmake -DBUILD_WITH_QT4:BOOL=FALSE "${CMAKE_SRC_CONFIGURE_PARAMS[@]}"
+ ecmake -DBUILD_WITH_QT4:BOOL=FALSE \
+ "${CMAKE_SRC_CONFIGURE_PARAMS[@]}" \
+ $(cmake_option libsecret LIBSECRET_SUPPORT)
popd
fi
}