summaryrefslogtreecommitdiff
path: root/app-text/rpl/rpl-2.0.4.ebuild
blob: 33af9533b7fd7480b48f453d9407d205df734d53 (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
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools vala

DESCRIPTION="Intelligent recursive search/replace utility"
HOMEPAGE="https://rpl.sourceforge.net/ https://github.com/rrthomas/rpl"
SRC_URI="https://github.com/rrthomas/rpl/releases/download/v${PV}/${P}.tar.gz"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="amd64 ~x86"
# unable to cause tests to pass fully
RESTRICT="test"

RDEPEND="
	app-i18n/uchardet
	dev-libs/glib:2
	dev-libs/libpcre2:=
"
DEPEND="${RDEPEND}"
BDEPEND="
	dev-util/gengetopt
	sys-apps/help2man
	virtual/pkgconfig
	$(vala_depend)
"

PATCHES=(
	"${FILESDIR}/${P}-uchardet-vala.patch"
)

src_prepare() {
	default
	eautoreconf
	vala_setup
	rm *_vala.stamp || die
}