blob: 63e122a0b9da614d23a8fc39b19ecb840bcc2204 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit gnome2-utils xdg meson vala
DESCRIPTION="Native Linux App for UI and UX Design built in Vala and GTK."
HOMEPAGE="https://github.com/akiraux/Akira"
if [[ "${PV}" == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="git://github.com/akiraux/${PN}.git"
else
SRC_URI="https://github.com/akiraux/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS=""
S="${WORKDIR}/${P^}"
fi
LICENSE="GPL-3"
SLOT="0"
DEPEND="
dev-libs/gobject-introspection
>=dev-libs/granite-5.3.0
app-arch/libarchive
dev-libs/json-glib
dev-libs/libgee
dev-libs/libxml2
sys-devel/gettext
x11-libs/goocanvas:3.0
x11-libs/gtksourceview:3.0"
RDEPEND="${DEPEND}"
src_prepare(){
vala_src_prepare
default
}
src_install(){
meson_src_install
dosym ../../usr/bin/com.github.akiraux.akira /usr/bin/akira
}
pkg_preinst() {
xdg_pkg_preinst
gnome2_schemas_savelist
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_savelist
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_savelist
}
|