diff options
author | Sam James <sam@gentoo.org> | 2024-03-09 23:09:53 +0000 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-06-12 17:28:37 +0200 |
commit | a2300b261d63ac9bb28c29b359cfd2ca7f9d2347 (patch) | |
tree | 7cd06d63a01bb1df98bdb13899c66dfc07285e45 /kde-plasma/plasma-mimeapps-list | |
parent | kde-plasma/libksysguard: Bump KFMIN to 6.3.0 for LIBEXECDIR change (diff) | |
download | gentoo-a2300b261d63ac9bb28c29b359cfd2ca7f9d2347.tar.gz gentoo-a2300b261d63ac9bb28c29b359cfd2ca7f9d2347.tar.bz2 gentoo-a2300b261d63ac9bb28c29b359cfd2ca7f9d2347.zip |
kde-plasma/plasma-mimeapps-list: new package; install our own mimeapps.list
Start by importing kde-plasma/plasma-desktop's own mimeapps.list and updating
the list in subsequent commits for easier review.
Bug: https://bugs.gentoo.org/926412
Signed-off-by: Sam James <sam@gentoo.org>
Closes: https://github.com/gentoo/kde/pull/984
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/plasma-mimeapps-list')
-rw-r--r-- | kde-plasma/plasma-mimeapps-list/files/mimeapps.list | 152 | ||||
-rw-r--r-- | kde-plasma/plasma-mimeapps-list/metadata.xml | 11 | ||||
-rw-r--r-- | kde-plasma/plasma-mimeapps-list/plasma-mimeapps-list-1.ebuild | 26 |
3 files changed, 189 insertions, 0 deletions
diff --git a/kde-plasma/plasma-mimeapps-list/files/mimeapps.list b/kde-plasma/plasma-mimeapps-list/files/mimeapps.list new file mode 100644 index 000000000000..9e4f38224169 --- /dev/null +++ b/kde-plasma/plasma-mimeapps-list/files/mimeapps.list @@ -0,0 +1,152 @@ +# SPDX-License-Identifier: CC0-1.0 +# SPDX-FileCopyrightText: None + +[Default Applications] + +# Misc +application/x-krita=org.kde.krita.desktop;org.kde.gwenview.desktop +image/x-xcf=org.gimp.GIMP.desktop;org.kde.gwenview.desktop + +# Discover +x-scheme-handler/appstream=org.kde.discover.urlhandler.desktop +application/vnd.debian.binary-package=org.kde.discover.desktop + +# Archive Manager +application/x-tar=org.kde.ark.desktop +application/x-compressed-tar=org.kde.ark.desktop +application/x-bzip-compressed-tar=org.kde.ark.desktop +application/x-tarz=org.kde.ark.desktop +application/x-xz-compressed-tar=org.kde.ark.desktop +application/x-lzma-compressed-tar=org.kde.ark.desktop +application/x-lzip-compressed-tar=org.kde.ark.desktop +application/x-tzo=org.kde.ark.desktop +application/x-lrzip-compressed-tar=org.kde.ark.desktop +application/x-lz4-compressed-tar=org.kde.ark.desktop +application/x-zstd-compressed-tar=org.kde.ark.desktop +application/x-cd-image=org.kde.ark.desktop +application/x-bcpio=org.kde.ark.desktop +application/x-cpio=org.kde.ark.desktop +application/x-cpio-compressed=org.kde.ark.desktop +application/x-sv4cpio=org.kde.ark.desktop +application/x-sv4crc=org.kde.ark.desktop +application/x-source-rpm=org.kde.ark.desktop +application/vnd.ms-cab-compressed=org.kde.ark.desktop +application/x-xar=org.kde.ark.desktop +application/x-iso9660-appimage=org.kde.ark.desktop +application/x-archive=org.kde.ark.desktop +application/vnd.rar=org.kde.ark.desktop +application/x-rar=org.kde.ark.desktop +application/x-7z-compressed=org.kde.ark.desktop +application/zip=org.kde.ark.desktop +application/x-compress=org.kde.ark.desktop +application/gzip=org.kde.ark.desktop +application/x-bzip=org.kde.ark.desktop +application/x-lzma=org.kde.ark.desktop +application/x-xz=org.kde.ark.desktop +application/zstd=org.kde.ark.desktop +application/x-lha=org.kde.ark.desktop + +# Browser +x-scheme-handler/http=org.kde.falkon.desktop +x-scheme-handler/https=org.kde.falkon.desktop + +# Email +x-scheme-handler/mailto=org.kde.kmail2.desktop + +# File Manager +inode/directory=org.kde.dolphin.desktop + +# Geo +x-scheme-handler/geo=marble_geo.desktop + +# Image Viewer +image/avif=org.kde.gwenview.desktop +image/gif=org.kde.gwenview.desktop +image/heif=org.kde.gwenview.desktop +image/jpeg=org.kde.gwenview.desktop +image/jxl=org.kde.gwenview.desktop +image/png=org.kde.gwenview.desktop +image/bmp=org.kde.gwenview.desktop +image/x-eps=org.kde.gwenview.desktop +image/x-icns=org.kde.gwenview.desktop +image/x-ico=org.kde.gwenview.desktop +image/x-portable-bitmap=org.kde.gwenview.desktop +image/x-portable-graymap=org.kde.gwenview.desktop +image/x-portable-pixmap=org.kde.gwenview.desktop +image/x-xbitmap=org.kde.gwenview.desktop +image/x-xpixmap=org.kde.gwenview.desktop +image/tiff=org.kde.gwenview.desktop +image/x-psd=org.kde.gwenview.desktop +image/x-webp=org.kde.gwenview.desktop +image/webp=org.kde.gwenview.desktop +image/x-tga=org.kde.gwenview.desktop + +# Music Player +audio/aac=org.kde.elisa.desktop +audio/mp4=org.kde.elisa.desktop +audio/mpeg=org.kde.elisa.desktop +audio/mpegurl=org.kde.elisa.desktop +audio/ogg=org.kde.elisa.desktop +audio/vnd.rn-realaudio=org.kde.elisa.desktop +audio/vorbis=org.kde.elisa.desktop +audio/x-flac=org.kde.elisa.desktop +audio/x-mp3=org.kde.elisa.desktop +audio/x-mpegurl=org.kde.elisa.desktop +audio/x-ms-wma=org.kde.elisa.desktop +audio/x-musepack=org.kde.elisa.desktop +audio/x-oggflac=org.kde.elisa.desktop +audio/x-pn-realaudio=org.kde.elisa.desktop +audio/x-scpls=org.kde.elisa.desktop +audio/x-speex=org.kde.elisa.desktop +audio/x-vorbis=org.kde.elisa.desktop +audio/x-vorbis+ogg=org.kde.elisa.desktop +audio/x-wav=org.kde.elisa.desktop + +# PDF Viewer +application/pdf=okularApplication_pdf.desktop + +# Tel +x-scheme-handler/tel=org.kde.kdeconnect.handler.desktop + +# Text Editor +text/plain=org.kde.kate.desktop;org.kde.kwrite.desktop +text/x-cmake=org.kde.kate.desktop;org.kde.kwrite.desktop +text/markdown=org.kde.kate.desktop;org.kde.kwrite.desktop +application/x-docbook+xml=org.kde.kate.desktop;org.kde.kwrite.desktop +application/json=org.kde.kate.desktop;org.kde.kwrite.desktop +application/x-yaml=org.kde.kate.desktop;org.kde.kwrite.desktop + +# Video Player +video/3gp=org.kde.haruna.desktop +video/3gpp=org.kde.haruna.desktop +video/3gpp2=org.kde.haruna.desktop +video/avi=org.kde.haruna.desktop +video/divx=org.kde.haruna.desktop +video/dv=org.kde.haruna.desktop +video/fli=org.kde.haruna.desktop +video/flv=org.kde.haruna.desktop +video/mp2t=org.kde.haruna.desktop +video/mp4=org.kde.haruna.desktop +video/mp4v-es=org.kde.haruna.desktop +video/mpeg=org.kde.haruna.desktop +video/msvideo=org.kde.haruna.desktop +video/ogg=org.kde.haruna.desktop +video/quicktime=org.kde.haruna.desktop +video/vnd.divx=org.kde.haruna.desktop +video/vnd.mpegurl=org.kde.haruna.desktop +video/vnd.rn-realvideo=org.kde.haruna.desktop +video/webm=org.kde.haruna.desktop +video/x-avi=org.kde.haruna.desktop +video/x-flv=org.kde.haruna.desktop +video/x-m4v=org.kde.haruna.desktop +video/x-matroska=org.kde.haruna.desktop +video/x-mpeg2=org.kde.haruna.desktop +video/x-ms-asf=org.kde.haruna.desktop +video/x-msvideo=org.kde.haruna.desktop +video/x-ms-wmv=org.kde.haruna.desktop +video/x-ms-wmx=org.kde.haruna.desktop +video/x-ogm=org.kde.haruna.desktop +video/x-ogm+ogg=org.kde.haruna.desktop +video/x-theora=org.kde.haruna.desktop +video/x-theora+ogg=org.kde.haruna.desktop +application/x-matroska=org.kde.haruna.desktop diff --git a/kde-plasma/plasma-mimeapps-list/metadata.xml b/kde-plasma/plasma-mimeapps-list/metadata.xml new file mode 100644 index 000000000000..d925f2439758 --- /dev/null +++ b/kde-plasma/plasma-mimeapps-list/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>kde@gentoo.org</email> + <name>Gentoo KDE Project</name> + </maintainer> + <upstream> + <bugs-to>https://bugs.kde.org/</bugs-to> + </upstream> +</pkgmetadata> diff --git a/kde-plasma/plasma-mimeapps-list/plasma-mimeapps-list-1.ebuild b/kde-plasma/plasma-mimeapps-list/plasma-mimeapps-list-1.ebuild new file mode 100644 index 000000000000..0d851c73bb62 --- /dev/null +++ b/kde-plasma/plasma-mimeapps-list/plasma-mimeapps-list-1.ebuild @@ -0,0 +1,26 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Gentoo curated mimeapps list for KDE Plasma" +HOMEPAGE="https://specifications.freedesktop.org/mime-apps-spec/mime-apps-spec-1.0.1.html" +SRC_URI="" +S=${WORKDIR} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="" + +src_install() { + default + + # TODO: Should we just remove the upstream one in /usr/share? + # /etc/xdg should really be available for site-local overrides, but then + # again we have CONFIG_PROTECT... + insinto /etc/xdg/mimeapps.list + doins "${FILESDIR}"/mimeapps.list +} |