Files
chromebrew/packages/pcre2.rb
Satadru Pramanik, DO, MPH, MEng 3735bf4c4e Fix util_linux build, rebuild pcre2, fix install.sh hash checking, etc — pcre2 → 10.47-1,util_linux → 2.41.2 (#13251)
* Add unbuilt util_linux to updater-util_linux-2.41.2

* Move to meson WIP.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* WIP util-linux changes.

See also https://github.com/util-linux/util-linux/issues/3763 for upstream build failure report.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update to latest commit from stable/v2.4.1 branch.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Fix util_linux build using 5.10 linux headers, rebuild pcre2.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Let gitlab_pkginfo handle build packages, fix download of build packages, fix debug aliases, fix crew const not working in a repo root.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update arm binaries for util_linux.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Fix cached archive download_check in installer.sh

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* bump version

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
2025-10-29 20:33:07 +00:00

31 lines
1020 B
Ruby

require 'buildsystems/cmake'
class Pcre2 < CMake
description 'The PCRE2 package contains a new generation of the Perl Compatible Regular Expression libraries.'
homepage 'http://pcre.org/'
version '10.47-1'
license 'BSD-3'
compatibility 'all'
source_url 'https://github.com/PCRE2Project/pcre2.git'
git_hashtag "pcre2-#{version.split('-').first}"
binary_compression 'tar.zst'
binary_sha256({
aarch64: '50bce7a8074feea90a002497dc5fb37f309becbc545fdc14ba18232f949c6c14',
armv7l: '50bce7a8074feea90a002497dc5fb37f309becbc545fdc14ba18232f949c6c14',
i686: 'e01a8475d9598dd01b11d06f7cd274ab419a98e107bee2ae56382d8cd933b43a',
x86_64: '0684ca6b8a488696d594cc0874721fae0d8314eb59b0956709ce2e9b1233cab9'
})
depends_on 'bzip2' # R
depends_on 'glibc' # R
depends_on 'zlib' # R
cmake_options '-DPCRE2_BUILD_TESTS=OFF \
-DBUILD_SHARED_LIBS=ON \
-DPCRE2_SUPPORT_JIT=ON \
-DPCRE2_STATIC_PIC=ON \
-DPCRE2_BUILD_PCRE2_16=ON \
-DPCRE2_BUILD_PCRE2_32=ON'
end