Skip to content

Commit

Permalink
kde-plasma/plasma-desktop: do not install kde-mimeapps.list
Browse files Browse the repository at this point in the history
Use kde-plasma/plasma-mimeapps-list instead.

Signed-off-by: Alfred Wingate <[email protected]>
Closes: #1018
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
parona-source authored and thesamesam committed Jan 25, 2025
1 parent b9568f1 commit 7afdad0
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
Expand Down Expand Up @@ -111,7 +111,7 @@ RDEPEND="${COMMON_DEPEND}
>=kde-frameworks/kirigami-${KFMIN}:6
>=kde-frameworks/qqc2-desktop-style-${KFMIN}:6
>=kde-plasma/oxygen-${KDE_CATV}:6
kde-plasma/plasma-mimeapps-list
>=kde-plasma/plasma-mimeapps-list-3
media-fonts/noto-emoji
sys-apps/util-linux
x11-apps/setxkbmap
Expand Down Expand Up @@ -174,6 +174,14 @@ src_test() {
ecm_src_test
}

src_install() {
cmake_src_install

# Provide kde-mimeapps.list with distribution kde-plasma/plasma-mimeapps-list
rm "${ED}"/usr/share/applications/kde-mimeapps.list || die
}


pkg_postinst() {
if [[ -z "${REPLACING_VERSIONS}" ]]; then
optfeature "screen reader support" "app-accessibility/orca"
Expand Down
11 changes: 9 additions & 2 deletions kde-plasma/plasma-desktop/plasma-desktop-6.3.49.9999.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
Expand Down Expand Up @@ -111,7 +111,7 @@ RDEPEND="${COMMON_DEPEND}
>=kde-frameworks/kirigami-${KFMIN}:6
>=kde-frameworks/qqc2-desktop-style-${KFMIN}:6
>=kde-plasma/oxygen-${KDE_CATV}:6
kde-plasma/plasma-mimeapps-list
>=kde-plasma/plasma-mimeapps-list-3
media-fonts/noto-emoji
sys-apps/util-linux
x11-apps/setxkbmap
Expand Down Expand Up @@ -174,6 +174,13 @@ src_test() {
ecm_src_test
}

src_install() {
cmake_src_install

# Provide kde-mimeapps.list with distribution kde-plasma/plasma-mimeapps-list
rm "${ED}"/usr/share/applications/kde-mimeapps.list || die
}

pkg_postinst() {
if [[ -z "${REPLACING_VERSIONS}" ]]; then
optfeature "screen reader support" "app-accessibility/orca"
Expand Down
11 changes: 9 additions & 2 deletions kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
Expand Down Expand Up @@ -111,7 +111,7 @@ RDEPEND="${COMMON_DEPEND}
>=kde-frameworks/kirigami-${KFMIN}:6
>=kde-frameworks/qqc2-desktop-style-${KFMIN}:6
>=kde-plasma/oxygen-${KDE_CATV}:6
kde-plasma/plasma-mimeapps-list
>=kde-plasma/plasma-mimeapps-list-3
media-fonts/noto-emoji
sys-apps/util-linux
x11-apps/setxkbmap
Expand Down Expand Up @@ -174,6 +174,13 @@ src_test() {
ecm_src_test
}

src_install() {
cmake_src_install

# Provide kde-mimeapps.list with distribution kde-plasma/plasma-mimeapps-list
rm "${ED}"/usr/share/applications/kde-mimeapps.list || die
}

pkg_postinst() {
if [[ -z "${REPLACING_VERSIONS}" ]]; then
optfeature "screen reader support" "app-accessibility/orca"
Expand Down

0 comments on commit 7afdad0

Please sign in to comment.