Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Merge requests
!29374
testing/rnp: new aport
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
testing/rnp: new aport
jirutka/aports:rnp
into
master
Overview
0
Commits
1
Pipelines
5
Changes
3
Merged
Jakub Jirutka
requested to merge
jirutka/aports:rnp
into
master
3 years ago
Overview
0
Commits
1
Pipelines
5
Changes
3
Expand
0
0
Merge request reports
Viewing commit
9dbc0bfe
Show latest version
3 files
+
114
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
9dbc0bfe
testing/rnp: new aport
· 9dbc0bfe
Jakub Jirutka
authored
3 years ago
testing/rnp/APKBUILD
0 → 100644
+
69
−
0
Options
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname
=
rnp
pkgver
=
0.15.2
pkgrel
=
0
pkgdesc
=
"High performance C++ OpenPGP library used by Mozilla Thunderbird"
url
=
"https://www.rnpgp.org/"
arch
=
"all"
license
=
"BSD-2-Clause"
checkdepends
=
"gnupg gtest-dev"
makedepends
=
"
asciidoctor
botan-dev
bzip2-dev
cmake
json-c-dev
zlib-dev
"
subpackages
=
"
$pkgname
-dev
$pkgname
-doc librnp"
source
=
"https://github.com/rnpgp/rnp/archive/v
$pkgver
/rnp-
$pkgver
.tar.gz
fix-test_rnpkeys_lists.patch
avoid-testing-chunk-sizes-greater-than-16.patch
"
case
"
$CARCH
"
in
# FIXME: one test fails
s390x
)
options
=
"!check"
;;
esac
build
()
{
local
crossopts
=
if
[
"
$CBUILD
"
!=
"
$CHOST
"
]
;
then
crossopts
=
"-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
# CMAKE_INTERPROCEDURAL_OPTIMIZATION - enable LTO
cmake
-B
build
\
-DCMAKE_BUILD_TYPE
=
MinSizeRel
\
-DCMAKE_INTERPROCEDURAL_OPTIMIZATION
=
ON
\
-DCMAKE_INSTALL_PREFIX
=
/usr
\
-DCMAKE_INSTALL_LIBDIR
=
lib
\
-DCMAKE_VERBOSE_MAKEFILE
=
ON
\
-DBUILD_SHARED_LIBS
=
ON
\
-DBUILD_TESTING
=
$(
want_check
&&
echo
ON
||
echo
OFF
)
\
-DDOWNLOAD_GTEST
=
OFF
\
-DDOWNLOAD_RUBYRNP
=
OFF
\
$crossopts
.
cmake
--build
build
}
check
()
{
cd
build
CTEST_OUTPUT_ON_FAILURE
=
TRUE ctest
}
package
()
{
pkgdesc
=
"
$pkgdesc
(CLI tools)"
DESTDIR
=
"
$pkgdir
"
cmake
--install
build
}
librnp
()
{
default_libs
}
sha512sums
=
"
ba2f3252443b1e3e9069afc2704e2fb64514f423cd5b4db18130de2c90d1ab9f116596138037e4b054410a7003789b395fa0a7347b273be12bfe557ce79fde2c rnp-0.15.2.tar.gz
ec2695424427dc4178b55372dda7236cf477c3dab64d80f9a6bd7b1da434f71bab6c9c2fcbc5134e2255fc76d35ef708fa57d706a5c9bfbc21274ab48a416909 fix-test_rnpkeys_lists.patch
04004950044cef0e67cad8a88c641cea8aab7f07cdd188a83df067f0e1a639c58ecf42ded89f1f9f542ad08876f19e6387a32d3293ce3fcfca152fbe017baad5 avoid-testing-chunk-sizes-greater-than-16.patch
"
Loading