Skip to content

Commit

Permalink
gpgme: update to 1.24.1 (#91)
Browse files Browse the repository at this point in the history
* gpgme: update to 1.24.1

* gcc-fortran: update to 12.4.0
  • Loading branch information
mac-a-r0ni authored Dec 8, 2024
1 parent 4378a81 commit e4e3431
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
3 changes: 2 additions & 1 deletion gcc-fortran/Pkgfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Depends on: libmpfr

name=gcc-fortran
version=12.3.0
version=12.4.0
release=1
source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-$version/gcc-$version.tar.xz
gcc-nocheck-fixincludes.patch gcc-4.7.3-multilib-dirs.patch)
Expand Down Expand Up @@ -67,4 +67,5 @@ build() {

# Remove empty directories
find $PKG -depth -empty -exec rm -r {} \;

}
21 changes: 17 additions & 4 deletions gpgme/Pkgfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
# Description: A C wrapper and Python bindings library for GnuPG
# URL: https://www.gnupg.org/related_software/gpgme/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
# Depends on: gnupg python3-build python3-installer python3-wheel swig
# Optional: qt5 qt6-base

name=gpgme
version=1.23.2
version=1.24.1
release=1
source=(https://www.gnupg.org/ftp/gcrypt/$name/$name-$version.tar.bz2)

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 \
Expand All @@ -27,9 +26,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}
}

0 comments on commit e4e3431

Please sign in to comment.