gentoo-overlay/app-editors/apostrophe/apostrophe-2.6.3.ebuild

35 lines
749 B
Bash
Raw Normal View History

2022-07-17 13:09:36 +03:00
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit gnome.org gnome2-utils meson python-any-r1 xdg
DESCRIPTION="A distraction free Markdown editor"
HOMEPAGE="https://gitlab.gnome.org/World/apostrophe"
SRC_URI="https://gitlab.gnome.org/World/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
2022-07-17 13:17:04 +03:00
KEYWORDS="~amd64 ~x86"
2022-07-17 13:09:36 +03:00
IUSE=""
DEPEND="x11-libs/gtk+:3
dev-libs/glib
net-libs/webkit-gtk:4"
2022-07-17 13:17:04 +03:00
RDEPEND="${DEPEND}
dev-python/pypandoc"
2022-07-17 13:09:36 +03:00
BDEPEND="dev-lang/sassc"
S="${WORKDIR}/${PN}-v${PV}"
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
}