media-gfx/krita-bin - 6.0.1 (masterlay)

Search

Install

Install this version:

emerge -a =media-gfx/krita-bin-6.0.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =media-gfx/krita-bin-6.0.1

Or alternatively:

emerge --autounmask-write -a =media-gfx/krita-bin-6.0.1

Package Information

Description:
Free digital painting application. Digital Painting, Creative Freedom!
Homepage:
https://krita.org/
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
6.0.1 8 0
View Raw Ebuild
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit xdg

DESCRIPTION="Free digital painting application. Digital Painting, Creative Freedom!"
HOMEPAGE="https://krita.org/"
RESTRICT="strip"

MY_PV=$(ver_cut 1-2)
SRC_URI="https://cdn.kde.org/ci-builds/graphics/krita/krita-${MY_PV}/linux/krita-${PV}-prealpha-c3899a2d73-x86_64.AppImage -> krita-${PV}-x86_64.AppImage"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
IUSE=""

DEPEND="
	!media-gfx/krita
"
RDEPEND="${DEPEND}"

S=${WORKDIR}

src_unpack() {
	cp ${DISTDIR}/krita-${PV}-x86_64.AppImage krita.appimage || die "Can't copy source file"
	chmod a+x krita.appimage || die "Can't chmod archive file"
	./krita.appimage --appimage-extract "org.kde.krita.desktop" || die "Failed to extract .desktop from appimage"
	./krita.appimage --appimage-extract "usr/share/icons" || die "Failed to extract hicolor icons from app image"
	#krita-${PV}-x86_64.appimage --appimage-extract "krita.png" || die "Failed to extract hicolor icons from app image"
}

src_install() {
	newbin krita.appimage krita
	insinto /usr/share/applications
	doins "squashfs-root/org.kde.krita.desktop"
	insinto /usr/share/icons
	doins -r squashfs-root/usr/share/icons/hicolor
}

Inherited Eclasses

xdg

Dependencies

DEPEND

	!media-gfx/krita

RDEPEND

	!media-gfx/krita

Manifest for 6.0.1

Type File Size Source URLs
DIST krita-6.0.1-x86_64.AppImage 384711160 bytes https://cdn.kde.org/ci-builds/graphics/krita/krita-$(ver_cut/linux/krita-6.0.1-prealpha-c3899a2d73-x86_64.AppImage