]> git.pld-linux.org Git - packages/flatpak-builder.git/commitdiff
- updated to 1.4.3 master auto/th/flatpak-builder-1.4.3-1
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 18 Apr 2024 19:30:05 +0000 (21:30 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 18 Apr 2024 19:30:05 +0000 (21:30 +0200)
flatpak-builder-reqs.patch
flatpak-builder.spec

index 0f23399514a93678fc9af99d2c266124a15864af..a675f465631dcaafa7130108123c1eebb58439b6 100644 (file)
@@ -1,6 +1,6 @@
---- flatpak-builder-1.0.9/configure.ac.orig    2019-09-13 15:46:44.000000000 +0200
-+++ flatpak-builder-1.0.9/configure.ac 2019-11-25 15:40:55.463307280 +0100
-@@ -45,7 +45,7 @@
+--- flatpak-builder-1.4.3/configure.ac.orig    2024-04-18 20:54:09.385267515 +0200
++++ flatpak-builder-1.4.3/configure.ac 2024-04-18 21:07:28.140940284 +0200
+@@ -38,7 +38,7 @@ if test "x$FLATPAK" = xfalse; then
  else
     FLATPAK_VERSION=`$FLATPAK --version | sed 's,.*\ \([0-9]*\.[0-9]*\.[0-9]*\)$,\1,'`
     AX_COMPARE_VERSION([$FLATPAK_REQS],[gt],[$FLATPAK_VERSION],
@@ -8,4 +8,22 @@
 +                      [AC_MSG_WARN([You need at least version $FLATPAK_REQS of flatpak, your version is $FLATPAK_VERSION])])
  fi
  
+ AC_CHECK_PROG([APPSTREAMCLI], [appstreamcli], [appstreamcli], [false])
+@@ -46,7 +46,7 @@ if test "x$APPSTREAMCLI" = xfalse; then
+    AC_MSG_ERROR([You need appstreamcli installed])
+    APPSTREAMCLI_VERSION=`$APPSTREAMCLI --version | sed 's,.*\ \([0-9]*\.[0-9]*\.[0-9]*\)$,\1,'`
+    AX_COMPARE_VERSION([$APPSTREAMCLI_REQS],[gt],[$APPSTREAMCLI_VERSION],
+-                      [AC_MSG_ERROR([You need at least version $APPSTREAMCLI_REQS of appstreamcli, your version is $APPSTREAMCLI_VERSION])])
++                      [AC_MSG_WARN([You need at least version $APPSTREAMCLI_REQS of appstreamcli, your version is $APPSTREAMCLI_VERSION])])
+ fi
+ AC_MSG_CHECKING([whether appstreamcli has compose support])
+@@ -54,7 +54,7 @@ AS_IF([appstreamcli compose --help >/dev
+       [AC_MSG_RESULT(yes)],
+       [
+        AC_MSG_RESULT(no)
+-       AC_MSG_ERROR([appstreamcli must have compose support enabled and installed])
++       AC_MSG_WARN([appstreamcli must have compose support enabled and installed])
+       ])
  
+ LT_PREREQ([2.2.6])
index f0b01157df7738bd9565533e6fbbf95a078cde3b..e28de4320cb65ede787b8c8b12e7a901f3f7bca4 100644 (file)
@@ -1,24 +1,24 @@
 Summary:       Tool for building flatpaks from sources
 Summary(pl.UTF-8):     Narzędzie do budowania pakietów flatpak ze źródeł.
 Name:          flatpak-builder
-Version:       1.2.0
+Version:       1.4.3
 Release:       1
 License:       LGPL v2.1+
 Group:         Applications
 #Source0Download: https://github.com/flatpak/flatpak-builder/releases
 Source0:       https://github.com/flatpak/flatpak-builder/releases/download/%{version}/%{name}-%{version}.tar.xz
-# Source0-md5: 2b3b604c938805da6515e15ac9552d49
+# Source0-md5: fd19632cc2fe89a2a155b0453ec3cd1c
 Patch0:                %{name}-reqs.patch
 URL:           https://github.com/flatpak/flatpak-builder
 BuildRequires: autoconf >= 2.63
 BuildRequires: automake >= 1:1.13.4
 BuildRequires: curl-devel
-BuildRequires: docbook-dtd412-xml
+BuildRequires: docbook-dtd43-xml
 BuildRequires: docbook-style-xsl-nons
-# libdw >= 0.172 or system debugedit, libelf from elfutils or libelf-devel >= 0.8.12
+# libdw >= 0.172 or system debugedit >= 5.0, libelf from elfutils or libelf-devel >= 0.8.12
 BuildRequires: elfutils-devel >= 0.172
 BuildRequires: gettext-tools >= 0.18.2
-BuildRequires: glib2-devel >= 1:2.44
+BuildRequires: glib2-devel >= 1:2.66
 BuildRequires: json-glib-devel
 BuildRequires: libcap-devel
 BuildRequires: libsoup-devel >= 2.4
@@ -30,7 +30,9 @@ BuildRequires:        tar >= 1:1.22
 BuildRequires: xmlto
 BuildRequires: xz
 BuildRequires: yaml-devel >= 0.1
+Requires:      AppStream-compose >= 0.15.0
 Requires:      flatpak >= 0.99.1
+Requires:      glib2 >= 1:2.66
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -50,6 +52,7 @@ Flatpak-builder to narzędzie do budowania pakietów flatpak ze źródeł.
 %{__autoheader}
 %{__automake}
 %configure \
+       APPSTREAMCLI=%{_bindir}/appstreamcli \
        FLATPAK=%{_bindir}/flatpak \
        --disable-silent-rules
 %{__make}
This page took 0.119918 seconds and 4 git commands to generate.