mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
x11-misc/qtfm: update EAPI 7 -> 8, drop broken patch, use xdg.eclass
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user