• [gentoo-dev] [PATCH 07/50] desktop.eclass: drop support for EAPI 6

    From David Seifert@21:1/5 to All on Tue Aug 27 17:20:01 2024
    Signed-off-by: David Seifert <soap@gentoo.org>
    ---
    eclass/desktop.eclass | 10 +++++-----
    1 file changed, 5 insertions(+), 5 deletions(-)

    diff --git a/eclass/desktop.eclass b/eclass/desktop.eclass
    index 780971342ba1..433120ffef09 100644
    --- a/eclass/desktop.eclass
    +++ b/eclass/desktop.eclass
    @@ -1,14 +1,14 @@
    -# Copyright 1999-2023 Gentoo Authors
    +# Copyright 1999-2024 Gentoo Authors
    # Distributed under the terms of the GNU General Public License v2

    # @ECLASS: desktop.eclass
    # @MAINTAINER:
    # base-system@gentoo.org
    -# @SUPPORTED_EAPIS: 6 7 8
    +# @SUPPORTED_EAPIS: 7 8
    # @BLURB: support for desktop files, menus, and icons

    case ${EAPI} in
    - 6|7|8) ;;
    + 7|8) ;;
    *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
    esac

    @@ -212,7 +212,7 @@ make_desktop_entry() {
    insopts -m 0644
    insinto /usr/share/applications
    doins "${desktop}"
    - ) || die "installing desktop file failed"
    + )
    }

    # @FUNCTION: make_session_desktop
    @@ -353,7 +353,7 @@ _iconins() {
    if [[ ${funcname} == newicon ]] ; then
    newins "$@"