Сравнение evoluspencil-3.1.0-r2 с evoluspencil-3.1.1

/usr/portage/media-gfx/evoluspencil/evoluspencil-3.1.1.ebuild 2023-10-09 14:52:31.624368404 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6
inherit rpm xdg-utils desktop
6
inherit desktop rpm xdg-utils
7 7

  
8
MY_PN="${PN/evolus/}"
9
MY_PV="${PV}.ga"
8
MY_PN="Pencil"
10 9

  
11 10
DESCRIPTION="A simple GUI prototyping tool to create mockups"
12 11
HOMEPAGE="https://pencil.evolus.vn/"
13
SRC_URI="https://pencil.evolus.vn/dl/V${MY_PV}/${MY_PN}-${MY_PV}-1.x86_64.rpm -> ${P}-1.rpm"
12
SRC_URI="https://pencil.evolus.vn/dl/V${PV}.ga/${MY_PN}-${PV}.ga.x86_64.rpm"
14 13

  
15 14
LICENSE="GPL-2"
16 15
SLOT="0"
17
KEYWORDS="amd64 x86"
16
KEYWORDS="~amd64 ~x86"
18 17

  
19 18
RDEPEND="
20 19
	|| (
......
32 31
	x11-libs/cairo
33 32
	x11-libs/gdk-pixbuf
34 33
	x11-libs/gtk+:2
34
	x11-libs/libdrm
35 35
	x11-libs/libX11
36 36
	x11-libs/libxcb
37 37
	x11-libs/libXcomposite
......
40 40
	x11-libs/libXext
41 41
	x11-libs/libXfixes
42 42
	x11-libs/libXi
43
	x11-libs/libxkbcommon
43 44
	x11-libs/libXrandr
44 45
	x11-libs/libXrender
45 46
	x11-libs/libXScrnSaver
46 47
	x11-libs/libXtst
47 48
	x11-libs/pango
48 49
"
50
IDEPEND="
51
	dev-util/gtk-update-icon-cache
52
"
49 53

  
50 54
S="${WORKDIR}"
51 55

  
......
53 57
RESTRICT="splitdebug"
54 58

  
55 59
QA_PREBUILT="
56
	opt/${MY_PN}/*.so
57
	opt/${MY_PN}/chrome-sandbox
60
	opt/${MY_PN}/*.so*
61
	opt/${MY_PN}/chrome*
58 62
	opt/${MY_PN}/pencil
59 63
"
60 64

  
61
src_prepare() {
62
	default
63
	rm opt/${MY_PN}-${MY_PV}/${MY_PN}.desktop || die
64
}
65

  
66 65
src_install() {
67 66
	insinto /opt/${MY_PN}
68
	doins -r opt/${MY_PN}-${MY_PV}/*
67
	doins -r opt/${MY_PN}/*
69 68

  
70
	fperms 755 /opt/${MY_PN}/${MY_PN}
71
	dosym ../../opt/${MY_PN}/${MY_PN} /usr/bin/evoluspencil
69
	fperms 755 /opt/${MY_PN}/pencil
70
	dosym ../../opt/${MY_PN}/pencil /usr/bin/evoluspencil
72 71

  
73
	domenu "${FILESDIR}"/${MY_PN}.desktop
72
	domenu usr/share/applications/pencil.desktop
74 73

  
75
	mkdir -p "${D}"/usr/share/icons/hicolor/256x256/apps/ || die
76
	mv "${D}"/opt/${MY_PN}/${MY_PN}.png "${D}"/usr/share/icons/hicolor/256x256/apps/ || die
74
	local x
75
	for x in 16 32 48 64 128 256; do
76
		doicon -s ${x} usr/share/icons/hicolor/${x}*/*
77
	done
77 78
}
78 79

  
79 80
pkg_postinst() {
Спасибо!