Skip to content

Commit

Permalink
app-admin/keepassxc: remove USE=ccache
Browse files Browse the repository at this point in the history
Gentoo users enable ccache via FEATURES=ccache (or if they wish,
manual means). Most packages don't have USE=ccache for this reason.

Remove it from keepassxc as an outlier.

Maintainer timeout.

Closes: gentoo#24713
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Apr 10, 2022
1 parent 61cd276 commit 4c3f8d9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
7 changes: 4 additions & 3 deletions app-admin/keepassxc/keepassxc-2.7.0-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fi

LICENSE="LGPL-2.1 GPL-2 GPL-3"
SLOT="0"
IUSE="autotype browser ccache doc keeshare +network test yubikey"
IUSE="autotype browser doc keeshare +network test yubikey"

RESTRICT="!test? ( test )"

Expand Down Expand Up @@ -60,7 +60,6 @@ DEPEND="
dev-qt/qttest:5
"
BDEPEND="
ccache? ( dev-util/ccache )
doc? ( dev-ruby/asciidoctor )
"

Expand All @@ -77,7 +76,9 @@ src_configure() {
filter-flags -flto*

local mycmakeargs=(
-DWITH_CCACHE="$(usex ccache)"
# Gentoo users enable ccache via e.g. FEATURES=ccache or
# other means. We don't want the build system to enable it for us.
-DWITH_CCACHE=OFF
-DWITH_GUI_TESTS=OFF
-DWITH_TESTS="$(usex test)"
-DWITH_XC_AUTOTYPE="$(usex autotype)"
Expand Down
7 changes: 4 additions & 3 deletions app-admin/keepassxc/keepassxc-2.7.1-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fi

LICENSE="LGPL-2.1 GPL-2 GPL-3"
SLOT="0"
IUSE="autotype browser ccache doc keeshare +network test yubikey"
IUSE="autotype browser doc keeshare +network test yubikey"

RESTRICT="!test? ( test )"

Expand Down Expand Up @@ -60,7 +60,6 @@ DEPEND="
dev-qt/qttest:5
"
BDEPEND="
ccache? ( dev-util/ccache )
doc? ( dev-ruby/asciidoctor )
"

Expand All @@ -77,7 +76,9 @@ src_configure() {
filter-flags -flto*

local mycmakeargs=(
-DWITH_CCACHE="$(usex ccache)"
# Gentoo users enable ccache via e.g. FEATURES=ccache or
# other means. We don't want the build system to enable it for us.
-DWITH_CCACHE=OFF
-DWITH_GUI_TESTS=OFF
-DWITH_TESTS="$(usex test)"
-DWITH_XC_AUTOTYPE="$(usex autotype)"
Expand Down
7 changes: 4 additions & 3 deletions app-admin/keepassxc/keepassxc-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fi

LICENSE="LGPL-2.1 GPL-2 GPL-3"
SLOT="0"
IUSE="autotype browser ccache doc keeshare +network test yubikey"
IUSE="autotype browser doc keeshare +network test yubikey"

RESTRICT="!test? ( test )"

Expand Down Expand Up @@ -60,7 +60,6 @@ DEPEND="
dev-qt/qttest:5
"
BDEPEND="
ccache? ( dev-util/ccache )
doc? ( dev-ruby/asciidoctor )
"

Expand All @@ -77,7 +76,9 @@ src_configure() {
filter-flags -flto*

local mycmakeargs=(
-DWITH_CCACHE="$(usex ccache)"
# Gentoo users enable ccache via e.g. FEATURES=ccache or
# other means. We don't want the build system to enable it for us.
-DWITH_CCACHE=OFF
-DWITH_GUI_TESTS=OFF
-DWITH_TESTS="$(usex test)"
-DWITH_XC_AUTOTYPE="$(usex autotype)"
Expand Down

0 comments on commit 4c3f8d9

Please sign in to comment.