Сравнение rotix-0.83-r1 с rotix-0.83-r3
/usr/portage/app-crypt/rotix/rotix-0.83-r3.ebuild 2023-10-09 14:52:28.240368319 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-2023 Gentoo Authors |
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
5 |
inherit flag-o-matic |
|
4 |
EAPI=8 |
|
5 | ||
6 |
inherit meson |
|
6 | 7 | |
7 | 8 |
DESCRIPTION="Rotix allows you to generate rotational obfuscations" |
8 | 9 |
HOMEPAGE="https://github.com/shemminga/rotix" |
9 | 10 |
SRC_URI="https://github.com/shemminga/${PN}/releases/download/${PV}/${PN}_${PV}.tar.gz -> ${P}.tar.gz" |
10 | 11 | |
11 |
LICENSE="GPL-2" |
|
12 |
LICENSE="GPL-2+" |
|
12 | 13 |
SLOT="0" |
13 |
KEYWORDS="amd64 ~ia64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos" |
|
14 |
IUSE="" |
|
14 |
KEYWORDS="~amd64 ~ia64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" |
|
15 |
IUSE="nls" |
|
15 | 16 | |
16 |
DEPEND="sys-devel/gettext" |
|
17 |
RDEPEND="${DEPEND}" |
|
17 |
BDEPEND="nls? ( sys-devel/gettext )" |
|
18 |
RDEPEND="nls? ( virtual/libintl )" |
|
18 | 19 | |
19 | 20 |
PATCHES=( |
20 |
"${FILESDIR}"/0.83-respect-CFLAGS-and-dont-strip.patch |
|
21 |
"${FILESDIR}"/rotix-0.83-locale.patch |
|
22 |
"${FILESDIR}"/rotix-0.83-interix.patch |
|
21 |
"${FILESDIR}/rotix-0.83-meson-build.patch" |
|
22 |
"${FILESDIR}/rotix-0.83-locale.patch" |
|
23 |
"${FILESDIR}/rotix-0.83-interix.patch" |
|
24 |
"${FILESDIR}/rotix-0.83-nl.po-charset.patch" |
|
25 |
) |
|
26 | ||
27 |
DOCS=( |
|
28 |
README |
|
23 | 29 |
) |
24 | 30 | |
25 | 31 |
src_prepare() { |
26 | 32 |
default |
33 |
mv po/{NL,nl}.po || die |
|
27 | 34 |
} |
28 | 35 | |
29 | 36 |
src_configure() { |
30 |
use elibc_glibc || append-flags -lintl |
|
31 |
econf --i18n=1 |
|
32 |
} |
|
33 | ||
34 |
src_install() { |
|
35 |
emake DESTDIR="${D}" install |
|
37 |
local emesonargs=( |
|
38 |
$(meson_use nls i18n) |
|
39 |
) |
|
40 |
meson_src_configure |
|
36 | 41 |
} |