forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlxterminal-0.4.0_p20230917.ebuild
53 lines (43 loc) · 1.11 KB
/
lxterminal-0.4.0_p20230917.ebuild
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
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools xdg
DESCRIPTION="Lightweight vte-based tabbed terminal emulator for LXDE"
HOMEPAGE="https://wiki.lxde.org/en/LXTerminal"
if [[ ${PV} == *_p* ]] ; then
TERMINAL_COMMIT="9b4299c292567b371158368686088900a4c0a128"
SRC_URI="https://github.com/lxde/lxterminal/archive/${TERMINAL_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/${PN}-${TERMINAL_COMMIT}
else
SRC_URI="https://downloads.sourceforge.net/lxde/${P}.tar.xz"
fi
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux"
DEPEND="
dev-libs/glib:2
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3
x11-libs/libX11
x11-libs/pango
>=x11-libs/vte-0.28.0:2.91
"
RDEPEND="${DEPEND}"
BDEPEND="
app-text/docbook-xsl-stylesheets
>=dev-util/intltool-0.40.0
sys-devel/gettext
virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}"/${PN}-0.4.0-crash-on-exit.patch
"${FILESDIR}"/${PN}-0.4.0-c99.patch
)
src_prepare() {
default
xdg_environment_reset
eautoreconf
}
src_configure() {
econf --enable-man --enable-gtk3
}