Skip to content

Commit

Permalink
app-crypt/xca: remove qt4
Browse files Browse the repository at this point in the history
Gentoo-Bug: 631790

Package-Manager: Portage-2.3.8, Repoman-2.3.1
  • Loading branch information
alonbl committed Sep 23, 2017
1 parent 2e29433 commit 636f661
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions app-crypt/xca/xca-1.3.2-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI="6"

inherit flag-o-matic toolchain-funcs autotools
inherit flag-o-matic autotools

DESCRIPTION="A GUI to OpenSSL, RSA public keys, certificates, signing requests etc"
HOMEPAGE="http://xca.sourceforge.net"
Expand All @@ -12,19 +12,14 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE="bindist doc libressl qt4 qt5"

REQUIRED_USE="|| ( qt4 qt5 )"
IUSE="bindist doc libressl"

RDEPEND="
dev-qt/qtgui:5
dev-qt/qtwidgets:5
!libressl? ( dev-libs/openssl:0=[bindist=] )
libressl? ( dev-libs/libressl:0= )
doc? ( app-text/linuxdoc-tools )
qt5? (
dev-qt/qtgui:5
dev-qt/qtwidgets:5
)
qt4? ( dev-qt/qtgui:4 )"
doc? ( app-text/linuxdoc-tools )"
DEPEND="${RDEPEND}"

PATCHES=(
Expand All @@ -39,9 +34,9 @@ src_prepare() {

src_configure() {
# bug #595440
use qt5 && append-cxxflags -std=c++11
append-cxxflags -std=c++11
econf \
--with-qt-version=$(use qt5 && echo 5 || echo 4) \
--with-qt-version=5 \
$(use_enable doc) \
STRIP=true
}
Expand Down

0 comments on commit 636f661

Please sign in to comment.