diff options
author | David Seifert <soap@gentoo.org> | 2020-12-17 10:12:03 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-12-17 10:12:03 +0100 |
commit | d0230377858f7ff50eb9e7b8075f88a993717b59 (patch) | |
tree | bd88787570bed3e3b85b5d0e1977072f4fc46461 /eclass | |
parent | media-sound/opus-tools: Keyword 0.2 arm64, #760285 (diff) | |
download | gentoo-d0230377858f7ff50eb9e7b8075f88a993717b59.tar.gz gentoo-d0230377858f7ff50eb9e7b8075f88a993717b59.tar.bz2 gentoo-d0230377858f7ff50eb9e7b8075f88a993717b59.zip |
fdo-mime.eclass: Remove last-rited eclass
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/fdo-mime.eclass | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/eclass/fdo-mime.eclass b/eclass/fdo-mime.eclass deleted file mode 100644 index 3aa45919b37e..000000000000 --- a/eclass/fdo-mime.eclass +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# @DEAD -# No consumers left. Removal in 30 days. - -# @ECLASS: fdo-mime.eclass -# @MAINTAINER: -# freedesktop-bugs@gentoo.org -# @AUTHOR: -# Original author: foser <foser@gentoo.org> -# @BLURB: Utility eclass to update the desktop mime info as laid out in the freedesktop specs & implementations -# @DEPRECATED: xdg-utils -# @DESCRIPTION: -# This eclass is DEPRECATED. Please use xdg-utils or xdg instead. - -# @FUNCTION: fdo-mime_desktop_database_update -# @DESCRIPTION: -# Updates the desktop database. -# Generates a list of mimetypes linked to applications that can handle them -fdo-mime_desktop_database_update() { - has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX= - has "${EAPI:-0}" 0 1 2 && ! use prefix && EROOT="${ROOT}" - if [ -x "${EPREFIX}/usr/bin/update-desktop-database" ] - then - einfo "Updating desktop mime database ..." - "${EPREFIX}/usr/bin/update-desktop-database" -q "${EROOT}usr/share/applications" - fi -} - -# @FUNCTION: fdo-mime_mime_database_update -# @DESCRIPTION: -# Update the mime database. -# Creates a general list of mime types from several sources -fdo-mime_mime_database_update() { - has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX= - has "${EAPI:-0}" 0 1 2 && ! use prefix && EROOT="${ROOT}" - if [ -x "${EPREFIX}/usr/bin/update-mime-database" ] - then - einfo "Updating shared mime info database ..." - "${EPREFIX}/usr/bin/update-mime-database" "${EROOT}usr/share/mime" - fi -} |