commit: da4a7fe895dbd1b2a44e59b0b8a8196b74283433
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 24 10:55:00 2022 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Sep 26 17:15:27 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da4a7fe8
x11-misc/qtfm: update EAPI 7 -> 8, drop broken patch, use xdg.eclass
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
x11-misc/qtfm/files/qtfm-99999-cmake.patch | 10 ----------
x11-misc/qtfm/qtfm-99999.ebuild | 26 +++++++-------------------
2 files changed, 7 insertions(+), 29 deletions(-)
diff --git a/x11-misc/qtfm/files/qtfm-99999-cmake.patch
b/x11-misc/qtfm/files/qtfm-99999-cmake.patch
deleted file mode 100644
index 815453760fe2..000000000000
--- a/x11-misc/qtfm/files/qtfm-99999-cmake.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -121,7 +121,6 @@ set_target_properties(
- ${PROJECT_VERSION_MAJOR}
- )
- if(ENABLE_MAGICK)
-- target_compile_definitions(QtFM PRIVATE ${MAGICK_CFLAGS_OTHER})
- target_link_libraries(QtFM ${MAGICK_LIBRARIES})
- if(ENABLE_FFMPEG)
- target_include_directories(QtFM
diff --git a/x11-misc/qtfm/qtfm-99999.ebuild b/x11-misc/qtfm/qtfm-99999.ebuild
index d61d41015c7a..7f4ff083dd93 100644
--- a/x11-misc/qtfm/qtfm-99999.ebuild
+++ b/x11-misc/qtfm/qtfm-99999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-inherit cmake git-r3 xdg-utils
+inherit cmake git-r3 xdg
DESCRIPTION="Small, lightweight file manager based on pure Qt"
HOMEPAGE="https://qtfm.eu/"
@@ -14,10 +14,6 @@ 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
@@ -30,8 +26,10 @@ RDEPEND="
imagemagick? ( >=media-gfx/imagemagick-7:= )
"
DEPEND="${RDEPEND}"
-
-PATCHES=( "${FILESDIR}"/${PN}-99999-cmake.patch )
+BDEPEND="
+ app-arch/unzip
+ dev-qt/linguist-tools:5
+"
src_configure() {
local mycmakeargs=(
@@ -41,13 +39,3 @@ src_configure() {
)
cmake_src_configure
}
-
-pkg_postinst() {
- xdg_desktop_database_update
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_desktop_database_update
- xdg_icon_cache_update
-}