Package Details: lib32-poppler-glib 24.01.0-1

Git Clone URL: https://aur.archlinux.org/lib32-poppler.git (read-only, click to copy)
Package Base: lib32-poppler
Description: Poppler glib bindings (32-bit)
Upstream URL: https://poppler.freedesktop.org/
Licenses: GPL
Provides: libpoppler-glib.so
Submitter: sbmomeni
Maintainer: None
Last Packager: sbmomeni
Votes: 1
Popularity: 0.000000
First Submitted: 2020-01-31 14:36 (UTC)
Last Updated: 2024-01-07 16:09 (UTC)

Latest Comments

« First ‹ Previous 1 2

sbmomeni commented on 2022-01-09 13:07 (UTC)

@robxu9 The main package is used to provide the header and shared files (in the /usr/include and /usr/share directories).

robxu9 commented on 2022-01-08 18:14 (UTC)

Any particular reason why the lib32 versions need to depend on the main poppler versions? They should be okay independent of each other.

sbmomeni commented on 2021-03-29 19:59 (UTC) (edited on 2021-03-29 19:59 (UTC) by sbmomeni)

@PowaBanga

==> Verifying source file signatures with gpg...
    poppler-21.03.0.tar.xz ... FAILED (unknown public key 3A6A4DB839EAA6D7)
==> ERROR: One or more PGP signatures could not be verified!

You can fetch the gpg key with gpg --recv-key 3A6A4DB839EAA6D7

sl1pkn07 commented on 2021-01-03 18:15 (UTC) (edited on 2021-01-03 18:19 (UTC) by sl1pkn07)

working pkgbuild

# Maintainer: Behnam Momeni <sbmomeni [at the] gmail [dot] com>
# Contributor: AndyRTR <andyrtr@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>

pkgname=('lib32-poppler' 'lib32-poppler-glib')
pkgbase=lib32-poppler
pkgver=21.01.0
pkgrel=1
arch=(x86_64)
license=('GPL')
makedepends=('lib32-openjpeg2'
             'lib32-gcc-libs'
             'lib32-cairo'
             'lib32-fontconfig'
             'lib32-gtk3'
             'lib32-lcms2'
             'gobject-introspection'
             'lib32-icu'
             'git'
             'nss'
             'lib32-curl'
             'poppler-data'
             'cmake'
             'python'
             'boost'
             'poppler'
             )
options=('!emptydirs')
url="https://poppler.freedesktop.org/"
source=("https://poppler.freedesktop.org/poppler-${pkgver}.tar.xz"{,.sig}
        'test::git+https://anongit.freedesktop.org/git/poppler/test/#commit=03a4b9eb854a06a83c465e82de601796c458bbe9'
        )
sha512sums=('aec130446df73a2fc66851a563a14cb40299212a2de4a0d03668b0fecb28312fffa70d0a82431c774d0c0e3f7293788bd2bdf28c8136aa09ad80edbca4cf0ddd'
            'SKIP'
            'SKIP'
            )
validpgpkeys=('CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7') # "Albert Astals Cid <aacid@kde.org>"

prepare() {
  mkdir -p build
}

build() {
  export CC="gcc -m32"
  export CXX="g++ -m32"
  export CCFLAGS="-m32 ${CCFLAGS}"
  export CFLAGS="-m32 ${CFLAGS}"
  export CXXFLAGS="-m32 ${CXXFLAGS}"
  export LDFLAGS="-m32 ${LDFLAGS}"
  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'

  cd build
  cmake ../poppler-${pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX:PATH=/usr \
    -DCMAKE_INSTALL_LIBDIR="/usr/lib32" \
    -DENABLE_UNSTABLE_API_ABI_HEADERS=ON \
    -DENABLE_GTK_DOC=OFF \
    -DENABLE_QT5=OFF
  make
}

check() {
  cd build
  LANG=en_US.UTF8 make test
}

package_lib32-poppler() {
  pkgdesc="PDF rendering library based on xpdf 3.0 (32-bit)"
  depends=('lib32-libjpeg'
           'lib32-gcc-libs'
           'lib32-cairo'
           'lib32-fontconfig'
           'lib32-openjpeg2'
           'lib32-lcms2'
           'lib32-nss'
           'lib32-curl'
           "poppler=${pkgver}"
           )
  optdepends=('poppler-data: encoding data to display PDF documents containing CJK characters')

  cd build
  make DESTDIR="${pkgdir}" install

  # cleanup for splitted build
  rm -r "${pkgdir}/usr/"{bin,include,share}
  rm -vf "${pkgdir}"/usr/lib32/libpoppler-glib.*
  rm -vf "${pkgdir}"/usr/lib32/pkgconfig/poppler-glib.pc
  rm -vrf "${pkgdir}"/usr/lib32/gir*
}

package_lib32-poppler-glib() {
  pkgdesc="Poppler glib bindings (32-bit)"
  depends=("lib32-poppler=${pkgver}"
           'lib32-glib2'
           "poppler-glib=${pkgver}"
           )

  cd build

  make -C glib DESTDIR="${pkgdir}" install
  install -m755 -d "${pkgdir}/usr/lib32/pkgconfig"
  install -m644 poppler-glib.pc "${pkgdir}/usr/lib32/pkgconfig/"
  rm -r "${pkgdir}/usr/include"
  rm -vf "${pkgdir}"/usr/lib32/libpoppler.*
  rm -vrf "${pkgdir}"/usr/share/gir*
}