gpgme: allow building qt6 bindings
This commit is contained in:
parent
f37d4eba26
commit
6f50fa3c40
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF32dfhMiUNamJt/uojQO5z2dfiw6pBcHhwv0tb68ZQvMvtWcLBGwb42LE4e17dHLak2JMO8UuifIlYhsVb1dSWg4=
|
||||
SHA256 (Pkgfile) = f3a54d02e89574f6407889a8cb01b5d343317e1f092b0f91951a9d8f9c0047cf
|
||||
RWSagIOpLGJF37pn/Oqd2Qsf8JeSIoevdCIgvUClBCW644cBIMrrJ9Ft/TJJNO0hRqX/1DhKUSC/CqHiMe65IccAih7XfoOTHgs=
|
||||
SHA256 (Pkgfile) = 2af4417e214e60c036d40cd7249c705cae4b6affad23438044a397a6afc436b9
|
||||
SHA256 (.footprint) = ff74f8157de6be7c98cd1068ab252fd3c9c30a45ebb72adc2a0f7e3477dbda5e
|
||||
SHA256 (gpgme-1.23.2.tar.bz2) = 9499e8b1f33cccb6815527a1bc16049d35a6198a6c5fae0185f2bd561bce5224
|
||||
|
@ -13,8 +13,6 @@ build() {
|
||||
cd $name-$version
|
||||
|
||||
prt-get isinst qt5 && PKGMK_GPGME_LANG+=' qt'
|
||||
## fails to build as well
|
||||
#prt-get isinst qt6-base && PKGMK_GPGME_LANG+=' qt6'
|
||||
|
||||
export PYTHON='/usr/bin/python3'
|
||||
./configure \
|
||||
@ -27,9 +25,23 @@ build() {
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
cd lang/python
|
||||
pushd lang/python
|
||||
top_builddir=$SRC/$name-$version /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
||||
top_builddir=$SRC/$name-$version /usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
|
||||
popd
|
||||
|
||||
if prt-get isinst qt6-base; then
|
||||
make clean
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--disable-fd-passing \
|
||||
--disable-gpgsm-test \
|
||||
--enable-languages="cpp qt6" \
|
||||
--enable-static
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
fi
|
||||
|
||||
rm -rf $PKG/usr/share/{common-lisp,info}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user