summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-09-24 12:55:00 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-09-26 19:15:27 +0200
commitda4a7fe895dbd1b2a44e59b0b8a8196b74283433 (patch)
tree6eef743db5a7be74d3b90849a5b760c6b9d0d44c /x11-misc
parentmedia-video/smplayer: drop 21.10.0 (diff)
downloadgentoo-da4a7fe895dbd1b2a44e59b0b8a8196b74283433.tar.gz
gentoo-da4a7fe895dbd1b2a44e59b0b8a8196b74283433.tar.bz2
gentoo-da4a7fe895dbd1b2a44e59b0b8a8196b74283433.zip
x11-misc/qtfm: update EAPI 7 -> 8, drop broken patch, use xdg.eclass
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/qtfm/files/qtfm-99999-cmake.patch10
-rw-r--r--x11-misc/qtfm/qtfm-99999.ebuild26
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
-}