upg ostree
add qpdf
This commit is contained in:
parent
6447f620d6
commit
cdfa446447
8 changed files with 171 additions and 8 deletions
|
@ -9,17 +9,15 @@
|
|||
pkgname=ostree
|
||||
pkgver=2023.6
|
||||
_commit=cf09e9f4e8f10d772a04ebe0ca9f66698e837f6a # tags/v2023.6
|
||||
pkgrel=02
|
||||
pkgrel=03
|
||||
pkgdesc="Operating system and container binary deployment and upgrades - w/o systemd & avahi"
|
||||
url="https://ostreedev.github.io/ostree/"
|
||||
depends=(bash fuse3 gcc-libs glibc libgpg-error libsodium sh util-linux zlib)
|
||||
|
||||
makedepends=(curl e2fsprogs git glib2 gobject-introspection gpgme
|
||||
gtk-doc libarchive libsoup libxslt mkinitcpio openssl python xz)
|
||||
#checkdepends=(cpio elfutils gjs parallel python-yaml syslinux)
|
||||
checkdepends=(cpio elfutils gjs parallel python-yaml syslinux)
|
||||
source=(git+https://github.com/ostreedev/ostree#tag=$_commit
|
||||
|
||||
git+https://github.com/mendsley/bsdiff
|
||||
git+https://gitlab.gnome.org/GNOME/libglnx.git
|
||||
$pkgname-2023.1-use_fuse3.patch)
|
||||
|
@ -56,7 +54,8 @@ build() {
|
|||
--disable-static \
|
||||
--enable-experimental-api \
|
||||
--enable-gtk-doc \
|
||||
--with-builtin-grub2-mkconfig \
|
||||
--with-grub2-mkconfig-path=/usr/bin/grub-mkconfig \
|
||||
--with-modern-grub \
|
||||
--with-curl \
|
||||
--with-dracut=yesbutnoconf \
|
||||
--with-ed25519-libsodium \
|
||||
|
@ -101,5 +100,4 @@ sha256sums=(SKIP
|
|||
SKIP
|
||||
6cc1e10db1f8c744eec5d128ad7bcd5aa92a8da167784f6727d832c9a4c545bb) # ostree-2023.1-use_fuse3.patch
|
||||
|
||||
## cf827791e3bf29bb2efadc149545e6eb338097faa1492f2579d66f451a3f042f ostree-2023.6-02-x86_64.pkg.tar.lz
|
||||
|
||||
## 595bbaa320814ec588760e6e4ad7b8da794544bd7640c0f976db9c97bd711790 ostree-2023.6-03-x86_64.pkg.tar.lz
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
pkgname=ostree
|
||||
_commit=cf09e9f4e8f10d772a04ebe0ca9f66698e837f6a # tags/v2023.6
|
||||
pkgver=2023.6
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="Operating system and container binary deployment and upgrades"
|
||||
url="https://ostreedev.github.io/ostree/"
|
||||
arch=(x86_64)
|
||||
|
@ -89,11 +89,12 @@ build() {
|
|||
--disable-static
|
||||
--enable-experimental-api
|
||||
--enable-gtk-doc
|
||||
--with-builtin-grub2-mkconfig
|
||||
--with-curl
|
||||
--with-dracut=yesbutnoconf
|
||||
--with-ed25519-libsodium
|
||||
--with-grub2-mkconfig-path=/usr/bin/grub-mkconfig
|
||||
--with-mkinitcpio
|
||||
--with-modern-grub
|
||||
--with-openssl
|
||||
)
|
||||
|
||||
|
|
77
qpdf/PKGBUILD
Normal file
77
qpdf/PKGBUILD
Normal file
|
@ -0,0 +1,77 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
#pkgbase=qpdf
|
||||
pkgname=('qpdf') # 'qpdf-docs')
|
||||
pkgver=11.6.0
|
||||
pkgrel=01
|
||||
pkgdesc="QPDF: A Content-Preserving PDF Transformation System"
|
||||
url="https://github.com/qpdf/qpdf"
|
||||
makedepends=('libjpeg-turbo' 'zlib' 'gnutls' 'cmake'
|
||||
'texlive-bin' 'texlive-binextra' 'texlive-fontsrecommended' 'python-sphinx' 'python-sphinx_rtd_theme' 'texlive-latexextra')
|
||||
source=(https://github.com/qpdf/qpdf/releases/download/v$pkgver/${pkgname}-${pkgver}.tar.gz{,.asc})
|
||||
# howto build the docs:
|
||||
# https://github.com/qpdf/qpdf/blob/main/build-scripts/build-doc
|
||||
|
||||
build() {
|
||||
cd ${pkgbase}-${pkgver}
|
||||
cmake -B build \
|
||||
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
|
||||
-D BUILD_STATIC_LIBS:BOOL=OFF \
|
||||
-D REQUIRE_CRYPTO_GNUTLS:BOOL=ON \
|
||||
-D REQUIRE_CRYPTO_OPENSSL:BOOL=OFF \
|
||||
-D ENABLE_QTC:BOOL=ON \
|
||||
-D BUILD_DOC:BOOL=OFF
|
||||
make -C build
|
||||
}
|
||||
|
||||
check() {
|
||||
cd ${pkgbase}-${pkgver}
|
||||
make -C build test
|
||||
}
|
||||
|
||||
#package_qpdf() {
|
||||
package() {
|
||||
depends=('libjpeg-turbo' 'zlib' 'gnutls'
|
||||
'openssl' 'glibc' 'gcc-libs')
|
||||
|
||||
cd ${pkgbase}-${pkgver}
|
||||
make -C build DESTDIR="${pkgdir}" install
|
||||
|
||||
install -Dm644 completions/bash/qpdf "${pkgdir}/usr/share/bash-completion/completions/qpdf"
|
||||
install -Dm644 completions/zsh/_qpdf "${pkgdir}/usr/share/zsh/site-functions/_qpdf"
|
||||
|
||||
rm -rf "${pkgdir}"/usr/share/doc
|
||||
|
||||
mkdir -m755 -p "${pkgdir}"/usr/share/licenses/${pkgbase}
|
||||
install -m644 {Artistic-2.0,LICENSE.txt} "${pkgdir}"/usr/share/licenses/${pkgbase}/
|
||||
}
|
||||
|
||||
#package_qpdf-docs() {
|
||||
# pkgdesc+=" (documentation)"
|
||||
#
|
||||
# cd ${pkgbase}-${pkgver}
|
||||
# mkdir -m755 -p "${pkgdir}"/usr/share/doc/qpdf/singlehtml
|
||||
# pushd build/manual/doc-dist
|
||||
# cp -a manual-single-page-html/* "${pkgdir}"/usr/share/doc/qpdf/singlehtml/
|
||||
# install -Dm644 qpdf-manual.pdf "${pkgdir}"/usr/share/doc/qpdf/qpdf-manual.pdf
|
||||
# popd
|
||||
# make -C build/examples DESTDIR="${pkgdir}" install
|
||||
#}
|
||||
|
||||
#---- arch license gpg-key & sha256sums ----
|
||||
|
||||
arch=(x86_64)
|
||||
|
||||
license=('custom:Artistic-2.0' 'Apache')
|
||||
|
||||
validpgpkeys=('C2C96B10011FE009E6D1DF828A75D10998012C7E') # "Jay Berkenbilt <ejb@ql.org>"
|
||||
|
||||
sha256sums=(b137500168b49b26da8fe59d99bdd56562d7983b9db965a6a487515a2bf82607 # qpdf-11.6.0.tar.gz
|
||||
f230801fdf103339f39faf341c33512174671c27539ab9866a9bb237463de020) # qpdf-11.6.0.tar.gz.asc
|
||||
|
||||
## 9a7741ea4d36a45241f9fa81fbba576a33456e32e6abbb74262c147aeae9a9d4 qpdf-11.6.0-01-x86_64.pkg.tar.lz
|
68
qpdf/PKGBUILD-arch
Normal file
68
qpdf/PKGBUILD-arch
Normal file
|
@ -0,0 +1,68 @@
|
|||
# Maintainer: AndyRTR <andyrtr@archlinux.org>
|
||||
# Contributor: Miguel Revilla <yo at miguelrevilla.com>
|
||||
# Contributor: David Sotelo <dvsotelo at gmail.com>
|
||||
# Contributor: Nuno Araujo <nuno.araujo@russo79.com>
|
||||
|
||||
pkgbase=qpdf
|
||||
pkgname=('qpdf' 'qpdf-docs')
|
||||
pkgver=11.6.0
|
||||
pkgrel=1
|
||||
pkgdesc="QPDF: A Content-Preserving PDF Transformation System"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/qpdf/qpdf"
|
||||
license=('custom:Artistic-2.0' 'Apache')
|
||||
makedepends=('libjpeg-turbo' 'zlib' 'gnutls' 'cmake'
|
||||
'texlive-bin' 'texlive-binextra' 'texlive-fontsrecommended' 'python-sphinx' 'python-sphinx_rtd_theme' 'texlive-latexextra')
|
||||
# https://github.com/qpdf/qpdf/releases/download/v11.6.0/qpdf-11.6.0.sha256
|
||||
source=(https://github.com/qpdf/qpdf/releases/download/v$pkgver/${pkgname}-${pkgver}.tar.gz{,.asc})
|
||||
sha256sums=('b137500168b49b26da8fe59d99bdd56562d7983b9db965a6a487515a2bf82607'
|
||||
'SKIP')
|
||||
validpgpkeys=('C2C96B10011FE009E6D1DF828A75D10998012C7E') # "Jay Berkenbilt <ejb@ql.org>"
|
||||
|
||||
# howto build the docs:
|
||||
# https://github.com/qpdf/qpdf/blob/main/build-scripts/build-doc
|
||||
|
||||
build() {
|
||||
cd ${pkgbase}-${pkgver}
|
||||
cmake -B build \
|
||||
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
|
||||
-D BUILD_STATIC_LIBS:BOOL=OFF \
|
||||
-D REQUIRE_CRYPTO_GNUTLS:BOOL=ON \
|
||||
-D REQUIRE_CRYPTO_OPENSSL:BOOL=OFF \
|
||||
-D ENABLE_QTC:BOOL=ON \
|
||||
-D BUILD_DOC:BOOL=ON
|
||||
make -C build
|
||||
}
|
||||
|
||||
check() {
|
||||
cd ${pkgbase}-${pkgver}
|
||||
make -C build test
|
||||
}
|
||||
|
||||
package_qpdf() {
|
||||
depends=('libjpeg-turbo' 'zlib' 'gnutls'
|
||||
'openssl' 'glibc' 'gcc-libs')
|
||||
|
||||
cd ${pkgbase}-${pkgver}
|
||||
make -C build DESTDIR="${pkgdir}" install
|
||||
|
||||
install -Dm644 completions/bash/qpdf "${pkgdir}/usr/share/bash-completion/completions/qpdf"
|
||||
install -Dm644 completions/zsh/_qpdf "${pkgdir}/usr/share/zsh/site-functions/_qpdf"
|
||||
|
||||
rm -rf "${pkgdir}"/usr/share/doc
|
||||
|
||||
mkdir -m755 -p "${pkgdir}"/usr/share/licenses/${pkgbase}
|
||||
install -m644 {Artistic-2.0,LICENSE.txt} "${pkgdir}"/usr/share/licenses/${pkgbase}/
|
||||
}
|
||||
|
||||
package_qpdf-docs() {
|
||||
pkgdesc+=" (documentation)"
|
||||
|
||||
cd ${pkgbase}-${pkgver}
|
||||
mkdir -m755 -p "${pkgdir}"/usr/share/doc/qpdf/singlehtml
|
||||
pushd build/manual/doc-dist
|
||||
cp -a manual-single-page-html/* "${pkgdir}"/usr/share/doc/qpdf/singlehtml/
|
||||
install -Dm644 qpdf-manual.pdf "${pkgdir}"/usr/share/doc/qpdf/qpdf-manual.pdf
|
||||
popd
|
||||
make -C build/examples DESTDIR="${pkgdir}" install
|
||||
}
|
1
qpdf/clean
Normal file
1
qpdf/clean
Normal file
|
@ -0,0 +1 @@
|
|||
rm -rf {src,pkg,qpdf*.tar.gz*}
|
11
qpdf/deps
Normal file
11
qpdf/deps
Normal file
|
@ -0,0 +1,11 @@
|
|||
libjpeg-turbo
|
||||
cmake
|
||||
texlive-bin
|
||||
texlive-basic
|
||||
python-sphinx
|
||||
python-sphinx_rtd_theme
|
||||
texlive-latexextra
|
||||
texlive-binextra
|
||||
texlive-fontsrecommended
|
||||
|
||||
|
1
qpdf/key
Normal file
1
qpdf/key
Normal file
|
@ -0,0 +1 @@
|
|||
gpg -v --recv-key 8A75D10998012C7E
|
6
qpdf/time
Normal file
6
qpdf/time
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
|
||||
real 6m26.077s
|
||||
user 5m47.265s
|
||||
sys 0m40.948s
|
||||
|
Loading…
Reference in a new issue