pacman/scripts/libmakepkg/lint_pkgbuild
Dave Reisner 51db84750e Add meson.build files to build with meson
Provide both build systems in parallel for now, to ensure that we work
out all the differences between the two. Some time from now, we'll give
up on autotools.

Meson tends to be faster and probably easier to read/maintain. On my
machine, the full meson configure+build+install takes a little under
half as long as a similar autotools-based invocation.

Building with meson is a two step process. First, configure the build:

  meson build

Then, compile the project:

  ninja -C build

There's some mild differences in functionality between meson and
autotools.  specifically:

1) No singular update-po target. meson only generates individual
update-po targets for each textdomain (of which we have 3).  To make
this easier, there's a build-aux/update-po script which finds all
update-po targets and runs them.

2) No 'make dist' equivalent. Just run 'git archive' to generate a
suitable tarball for distribution.
2018-11-02 03:16:34 -04:00
..
arch.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
backup.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
changelog.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
checkdepends.sh.in libmakepkg: only save the shellopts we need 2018-05-12 21:11:52 +10:00
conflicts.sh.in libmakepkg: only save the shellopts we need 2018-05-12 21:11:52 +10:00
depends.sh.in makepkg: reduce strictness of pkgver in depends linting 2018-07-27 10:21:58 +10:00
epoch.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
install.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
makedepends.sh.in libmakepkg: only save the shellopts we need 2018-05-12 21:11:52 +10:00
meson.build Add meson.build files to build with meson 2018-11-02 03:16:34 -04:00
optdepends.sh.in libmakepkg/lint_pkgbuild: permit versioned optdepends 2018-06-18 13:15:51 +10:00
options.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
package_function.sh.in makepkg: reject PKGBUILDs with both split and non-split package functions 2018-09-19 11:10:04 +10:00
pkgbase.sh.in libmakepkg/lint_pkgbuild: lint depends/etc. as if they are pkgname 2018-04-29 21:49:05 +10:00
pkglist.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
pkgname.sh.in libmakepkg/lint_pkgbuild: squelch syntax error when a pkgname is empty 2018-06-18 13:15:51 +10:00
pkgrel.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
pkgver.sh.in makepkg: lint_pkgver: Run even if PKGVERFUNC 2018-09-19 18:01:23 +10:00
provides.sh.in libmakepkg/lint_pkgbuild: fix regression in linting depends=(foo=$epoch:$pkgver-$pkgrel) 2018-05-12 21:10:44 +10:00
source.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
util.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
variable.sh.in libmakepkg: add pkgbase to linted variables 2018-08-10 12:37:19 +10:00