blob: e0349cabbbb69f705d57a4bf01badeb736f84ca0 (
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
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit xdg autotools
DESCRIPTION="Simple GTK3 text editor (successor to leafpad)"
HOMEPAGE="https://github.com/stevenhoneyman/l3afpad"
SRC_URI="https://github.com/stevenhoneyman/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="emacs"
BDEPEND="
dev-util/intltool
sys-devel/gettext
virtual/pkgconfig
"
DEPEND="
dev-libs/glib
virtual/libintl
x11-libs/cairo
x11-libs/gtk+:3
x11-libs/pango
"
RDEPEND="${DEPEND}"
src_prepare() {
default
eautoreconf
}
src_configure() {
econf \
--enable-print \
$(use_enable emacs)
}
|