🔒 Repository is read-only – file editing is disabled.

recipes/gui/glycin/PAGBUILD.yaml main

41 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132333435363738394041
pkgname: glycin
pkgver: '2.1.5'
pkgrel: '1'
pkgdesc: 'Sandboxed and extendable image loading framework loaders. '
url: 'https://gnome.pages.gitlab.gnome.org/glycin/'
arch: x86_64
license:
- 'MPL-2.0 OR LGPL-2.1-or-later'

depends:
- libglycin
- bubblewrap

makedepends:
- meson
- ninja
- 'xorg-fontconfig'
- 'gobject-introspection'
- rustc
- libseccomp
- lcms2
- libheif
- libjxl
- vala

source:
- 'https://download.gnome.org/sources/${pkgname}/2.1/${pkgname}-${pkgver}.tar.xz'

sha256sums:
- SKIP

build: |
  meson setup --prefix /usr --buildtype plain --libexecdir lib --sbindir bin -D b_pie=true glycin-2.1.5 builddir -Dlibglycin-gtk4=false -Dtests=false
  meson compile -C builddir
  DESTDIR=${PKGDIR} meson install -C builddir

package: |
  # part of libglycin
  rm -rf ${PKGDIR}/usr/lib64/libglycin-2.so* ${PKGDIR}/usr/lib/libglycin-2.so*
  rm -r ${PKGDIR}/usr/include/glycin-2
  rm -f ${PKGDIR}/usr/lib64/pkgconfig/glycin-2.pc ${PKGDIR}/usr/lib/pkgconfig/glycin-2.pc