appstream-glib icon indicating copy to clipboard operation
appstream-glib copied to clipboard

Possible to compile it without rpm? flag to use + documentation?

Open rubyFeedback opened this issue 3 years ago • 2 comments

Is it possible to build it without rpm? I don't use a rpm-based system but gimp seems to want to use appstream-glib.

If it is possible to compile it without rpm, perhaps the flag could be mentioned in the main README? That would be quite helpful. Right now I can not get gimp to compile because of appstream-glib.

rubyFeedback avatar Feb 11 '22 18:02 rubyFeedback

-Drpm=false ?

hughsie avatar Feb 11 '22 18:02 hughsie

On Arch Linux is builded without rpm and with documentation https://github.com/archlinux/svntogit-packages/blob/packages/appstream-glib/trunk/PKGBUILD

  arch-meson $pkgname build \
    -D alpm=true \
    -D gtk-doc=true \
    -D rpm=false

arch-meson is a wrapper to

$ cat /usr/bin/arch-meson
#!/bin/bash -ex
# Highly opinionated wrapper for Arch Linux packaging

exec meson setup \
  --prefix        /usr \
  --libexecdir    lib \
  --sbindir       bin \
  --buildtype     plain \
  --auto-features enabled \
  --wrap-mode     nodownload \
  -D              b_lto=true \
  -D              b_pie=true \
  "$@"

FabioLolix avatar Jun 11 '22 14:06 FabioLolix