diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-16 11:00:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-16 11:00:10 +0100 |
commit | 3c490942d0d98701d1c0971e60911fa6bd3ecb76 (patch) | |
tree | c7e992463fec552ae6483d7b81848aa185d3559f /app-crypt/rotix/files/rotix-0.83-meson-build.patch | |
parent | c748acf4192a1e08c9feb2d5f0004937a4869639 (diff) |
gentoo auto-resync : 16:09:2023 - 11:00:10
Diffstat (limited to 'app-crypt/rotix/files/rotix-0.83-meson-build.patch')
-rw-r--r-- | app-crypt/rotix/files/rotix-0.83-meson-build.patch | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/app-crypt/rotix/files/rotix-0.83-meson-build.patch b/app-crypt/rotix/files/rotix-0.83-meson-build.patch new file mode 100644 index 000000000000..c18d5f1329a2 --- /dev/null +++ b/app-crypt/rotix/files/rotix-0.83-meson-build.patch @@ -0,0 +1,61 @@ +https://github.com/shemminga/rotix/pull/3 +From: "Azamat H. Hackimov" <azamat.hackimov@gmail.com> +Date: Fri, 15 Sep 2023 17:00:38 +0300 +Subject: [PATCH 1/3] Implementing meson build-system + +Replacing old configure/make system. +--- /dev/null ++++ b/meson.build +@@ -0,0 +1,17 @@ ++project('rotix', 'c', version: '0.83', license: 'GPL-2.0-or-later') ++cc = meson.get_compiler('c') ++ ++if get_option('i18n') ++ subdir('po') ++endif ++ ++if not cc.check_header('getopt.h') ++ add_project_arguments('-DNO_GETOPT_LONG=1', language:'c') ++endif ++ ++ ++src = ['help.c', 'rot.c', 'rotix.c'] ++ ++executable('rotix', sources: src, install: true) ++install_man('rotix.1') ++ +--- /dev/null ++++ b/meson_options.txt +@@ -0,0 +1,2 @@ ++option('i18n', type: 'boolean', value: true) ++ +--- /dev/null ++++ b/po/LINGUAS +@@ -0,0 +1 @@ ++nl +--- /dev/null ++++ b/po/POTFILES +@@ -0,0 +1,4 @@ ++help.c ++rot.c ++rotix.c ++ +--- /dev/null ++++ b/po/meson.build +@@ -0,0 +1,10 @@ ++i18n = import('i18n') ++ ++add_project_arguments( ++ [ ++ '-DI18N=1', ++ '-DPACKAGE="rotix"', ++ '-DLOCALEDIR="@0@"'.format( get_option('prefix') / get_option('localedir')) ++ ], language:'c') ++i18n.gettext(meson.project_name()) ++ +similarity index 100% +rename from po/NL.po +rename to po/nl.po +-- +2.41.0 + |