summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-06-14 20:20:45 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-06-14 23:51:37 +0200
commit1d06ab7a252c6af28616bed11002effa6cfc1f1c (patch)
tree0bba827a9df604cdc02ea4334c76e1679f99c1fc
parentdev-python/pysol_cards: 0.8.18 version bump (diff)
downloadgentoo-1d06ab7a252c6af28616bed11002effa6cfc1f1c.tar.gz
gentoo-1d06ab7a252c6af28616bed11002effa6cfc1f1c.tar.bz2
gentoo-1d06ab7a252c6af28616bed11002effa6cfc1f1c.zip
x11-misc/qtfm: Fix EAPI-7, local mycmakeargs, improve DESCRIPTION
Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--x11-misc/qtfm/qtfm-6.2.0.ebuild17
-rw-r--r--x11-misc/qtfm/qtfm-99999.ebuild28
2 files changed, 23 insertions, 22 deletions
diff --git a/x11-misc/qtfm/qtfm-6.2.0.ebuild b/x11-misc/qtfm/qtfm-6.2.0.ebuild
index 8ec496a5bd7..44a47469469 100644
--- a/x11-misc/qtfm/qtfm-6.2.0.ebuild
+++ b/x11-misc/qtfm/qtfm-6.2.0.ebuild
@@ -1,10 +1,11 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit xdg-utils qmake-utils
-DESCRIPTION="A small, lightweight file manager for desktops based on pure Qt"
+inherit qmake-utils xdg-utils
+
+DESCRIPTION="Small, lightweight file manager based on pure Qt"
HOMEPAGE="https://qtfm.eu/"
SRC_URI="https://github.com/rodlie/qtfm/archive/${PV}.tar.gz -> ${P}.tar.gz"
@@ -13,6 +14,10 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE="+dbus shared"
+BDEPEND="
+ app-arch/unzip
+ dev-qt/linguist-tools:5
+"
RDEPEND="
dev-qt/qtconcurrent:5
dev-qt/qtcore:5
@@ -22,11 +27,7 @@ RDEPEND="
sys-apps/file
dbus? ( dev-qt/qtdbus:5 )
"
-DEPEND="
- ${RDEPEND}
- app-arch/unzip
- dev-qt/linguist-tools:5
-"
+DEPEND="${RDEPEND}"
src_configure() {
eqmake5 \
diff --git a/x11-misc/qtfm/qtfm-99999.ebuild b/x11-misc/qtfm/qtfm-99999.ebuild
index 4bdc1441aaa..d61d41015c7 100644
--- a/x11-misc/qtfm/qtfm-99999.ebuild
+++ b/x11-misc/qtfm/qtfm-99999.ebuild
@@ -2,9 +2,10 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit git-r3 xdg-utils cmake
-DESCRIPTION="A small, lightweight file manager for desktops based on pure Qt"
+inherit cmake git-r3 xdg-utils
+
+DESCRIPTION="Small, lightweight file manager based on pure Qt"
HOMEPAGE="https://qtfm.eu/"
EGIT_REPO_URI="https://github.com/rodlie/qtfm/"
@@ -13,6 +14,10 @@ SLOT="0"
KEYWORDS=""
IUSE="+dbus ffmpeg imagemagick"
+BDEPEND="
+ app-arch/unzip
+ dev-qt/linguist-tools:5
+"
RDEPEND="
dev-qt/qtconcurrent:5
dev-qt/qtcore:5
@@ -24,20 +29,15 @@ RDEPEND="
ffmpeg? ( media-video/ffmpeg )
imagemagick? ( >=media-gfx/imagemagick-7:= )
"
-DEPEND="
- ${RDEPEND}
- app-arch/unzip
- dev-qt/linguist-tools:5
-"
-PATCHES=(
- "${FILESDIR}"/${PN}-99999-cmake.patch
-)
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}"/${PN}-99999-cmake.patch )
src_configure() {
- mycmakeargs=(
- -DENABLE_DBUS="$(usex dbus)"
- -DENABLE_FFMPEG="$(usex ffmpeg)"
- -DENABLE_MAGICK="$(usex imagemagick)"
+ local mycmakeargs=(
+ -DENABLE_DBUS=$(usex dbus)
+ -DENABLE_FFMPEG=$(usex ffmpeg)
+ -DENABLE_MAGICK=$(usex imagemagick)
)
cmake_src_configure
}