commit:     137fa99e206c2af870e67abc61f242215dce82c1
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Sat Sep 21 07:45:17 2024 +0000
Commit:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Sat Sep 21 07:45:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=137fa99e

net-misc/megasync: drop dolphin USE flag

kde-apps/dolphin:5 has been dropped from ::gentoo, and dolphin:6 is
incompatible.

Closes: https://bugs.gentoo.org/522238 (obsolete)
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 net-misc/megasync/megasync-5.4.1.0.ebuild | 21 +--------------------
 net-misc/megasync/megasync-9999.ebuild    | 21 +--------------------
 net-misc/megasync/metadata.xml            |  1 -
 3 files changed, 2 insertions(+), 41 deletions(-)

diff --git a/net-misc/megasync/megasync-5.4.1.0.ebuild 
b/net-misc/megasync/megasync-5.4.1.0.ebuild
index cacf6085a..950e804d2 100644
--- a/net-misc/megasync/megasync-5.4.1.0.ebuild
+++ b/net-misc/megasync/megasync-5.4.1.0.ebuild
@@ -29,7 +29,7 @@ fi
 
 LICENSE="MEGA"
 SLOT="0"
-IUSE="dolphin mediainfo nautilus nemo thumbnail thunar"
+IUSE="mediainfo nautilus nemo thumbnail thunar"
 
 DEPEND="
        dev-db/sqlite:3
@@ -52,12 +52,6 @@ DEPEND="
        net-misc/curl[ssl]
        sys-libs/zlib
        x11-libs/libxcb:=
-       dolphin? (
-               kde-apps/dolphin:5
-               kde-frameworks/kcoreaddons:5
-               kde-frameworks/kio:5
-               kde-frameworks/kwidgetsaddons:5
-       )
        mediainfo? (
                media-libs/libmediainfo
                media-libs/libzen
@@ -83,7 +77,6 @@ RDEPEND="
 "
 BDEPEND="
        dev-qt/linguist-tools:5
-       dolphin? ( kde-frameworks/extra-cmake-modules )
 "
 
 PATCHES=(
@@ -94,15 +87,6 @@ PATCHES=(
        "${FILESDIR}/${PN}-5.3.0.0-rename-libcryptopp.patch"
 )
 
-BUILD_DIR_DOLPHIN="${S}_dolphin"
-
-dolphin_run() {
-       if use dolphin; then
-               cd "${S}/src/MEGAShellExtDolphin" || die
-               BUILD_DIR="${BUILD_DIR_DOLPHIN}" 
CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin" "$@"
-       fi
-}
-
 nautilus_run() {
        if use nautilus; then
                cd "${S}/src/MEGAShellExtNautilus" || die
@@ -151,7 +135,6 @@ src_configure() {
        cmake_src_configure
 
        unset mycmakeargs
-       dolphin_run cmake_src_configure
        nautilus_run eqmake5
        nemo_run eqmake5
        thunar_run eqmake5
@@ -160,7 +143,6 @@ src_configure() {
 src_compile() {
        cmake_src_compile
 
-       dolphin_run cmake_src_compile
        nautilus_run emake
        nemo_run emake
        thunar_run emake
@@ -169,7 +151,6 @@ src_compile() {
 src_install() {
        cmake_src_install
 
-       dolphin_run cmake_src_install
        nautilus_run emake INSTALL_ROOT="${D}" install
        nemo_run emake INSTALL_ROOT="${D}" install
        thunar_run emake INSTALL_ROOT="${D}" install

diff --git a/net-misc/megasync/megasync-9999.ebuild 
b/net-misc/megasync/megasync-9999.ebuild
index 8b25de399..524e07beb 100644
--- a/net-misc/megasync/megasync-9999.ebuild
+++ b/net-misc/megasync/megasync-9999.ebuild
@@ -29,7 +29,7 @@ fi
 
 LICENSE="MEGA"
 SLOT="0"
-IUSE="dolphin mediainfo nautilus nemo thumbnail thunar"
+IUSE="mediainfo nautilus nemo thumbnail thunar"
 
 DEPEND="
        dev-db/sqlite:3
@@ -52,12 +52,6 @@ DEPEND="
        net-misc/curl[ssl]
        sys-libs/zlib
        x11-libs/libxcb:=
-       dolphin? (
-               kde-apps/dolphin:5
-               kde-frameworks/kcoreaddons:5
-               kde-frameworks/kio:5
-               kde-frameworks/kwidgetsaddons:5
-       )
        mediainfo? (
                media-libs/libmediainfo
                media-libs/libzen
@@ -83,7 +77,6 @@ RDEPEND="
 "
 BDEPEND="
        dev-qt/linguist-tools:5
-       dolphin? ( kde-frameworks/extra-cmake-modules )
 "
 
 PATCHES=(
@@ -94,15 +87,6 @@ PATCHES=(
        "${FILESDIR}/${PN}-5.3.0.0-rename-libcryptopp.patch"
 )
 
-BUILD_DIR_DOLPHIN="${S}_dolphin"
-
-dolphin_run() {
-       if use dolphin; then
-               cd "${S}/src/MEGAShellExtDolphin" || die
-               BUILD_DIR="${BUILD_DIR_DOLPHIN}" 
CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin" "$@"
-       fi
-}
-
 nautilus_run() {
        if use nautilus; then
                cd "${S}/src/MEGAShellExtNautilus" || die
@@ -151,7 +135,6 @@ src_configure() {
        cmake_src_configure
 
        unset mycmakeargs
-       dolphin_run cmake_src_configure
        nautilus_run eqmake5
        nemo_run eqmake5
        thunar_run eqmake5
@@ -160,7 +143,6 @@ src_configure() {
 src_compile() {
        cmake_src_compile
 
-       dolphin_run cmake_src_compile
        nautilus_run emake
        nemo_run emake
        thunar_run emake
@@ -169,7 +151,6 @@ src_compile() {
 src_install() {
        cmake_src_install
 
-       dolphin_run cmake_src_install
        nautilus_run emake INSTALL_ROOT="${D}" install
        nemo_run emake INSTALL_ROOT="${D}" install
        thunar_run emake INSTALL_ROOT="${D}" install

diff --git a/net-misc/megasync/metadata.xml b/net-misc/megasync/metadata.xml
index aa423a992..95ed64187 100644
--- a/net-misc/megasync/metadata.xml
+++ b/net-misc/megasync/metadata.xml
@@ -13,7 +13,6 @@
                <remote-id type="github">meganz/MEGAsync</remote-id>
        </upstream>
        <use>
-               <flag name='dolphin'>Build a plugin for Dolphin</flag>
                <flag name='mediainfo'>Use <pkg>media-libs/libmediainfo</pkg> 
to determine media properties</flag>
                <flag name='nautilus'>Build a plugin for nautilus</flag>
                <flag name='nemo'>Build a plugin for Nemo</flag>

Reply via email to