]> git.pld-linux.org Git - packages/libskk.git/commitdiff
- added valadoc patch (adjust for valadoc 0.52+, producing svg files instead of png) master
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 31 Jan 2023 05:12:59 +0000 (06:12 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 31 Jan 2023 05:12:59 +0000 (06:12 +0100)
libskk-valadoc.patch [new file with mode: 0644]
libskk.spec

diff --git a/libskk-valadoc.patch b/libskk-valadoc.patch
new file mode 100644 (file)
index 0000000..1d2863c
--- /dev/null
@@ -0,0 +1,11 @@
+--- libskk-1.0.5/docs/Makefile.am.orig 2018-09-15 09:12:57.000000000 +0200
++++ libskk-1.0.5/docs/Makefile.am      2023-01-30 21:26:02.655018069 +0100
+@@ -15,7 +15,7 @@ libskkgtkdocdir=$(datadir)/gtk-doc/html/
+ common_doc_files = \
+       *.css \
+-      *.png \
++      *.svg \
+       *.js \
+       index.htm \
+       *.html \
index 17ca6929d50f27410aaa71a964a8170a0f89f3d3..23efdc98b1a044430bbbf98dbcf296c5aca733ea 100644 (file)
@@ -14,16 +14,21 @@ Group:              Libraries
 #Source0Download: https://github.com/ueno/libskk/releases
 Source0:       https://github.com/ueno/libskk/releases/download/%{version}/%{name}-%{version}.tar.xz
 # Source0-md5: 683c5a2dd23171297132453afd62e3c4
+Patch0:                %{name}-valadoc.patch
 URL:           https://github.com/ueno/libskk/
+BuildRequires: autoconf >= 2.63
+BuildRequires: automake >= 1:1.11.1
 BuildRequires: gettext-tools >= 0.19.8
 BuildRequires: glib2-devel >= 1:2.36
 BuildRequires: gobject-introspection-devel >= 0.9.0
 BuildRequires: json-glib-devel
 BuildRequires: libgee-devel >= 0.8
+BuildRequires: libtool >= 2:2
 BuildRequires: pkgconfig
+BuildRequires: rpm-build >= 4.6
 # not needed for releases
 #BuildRequires:        vala >= 2:0.14.0
-%{?with_apidocs:BuildRequires: valadoc >= 0.40}
+%{?with_apidocs:BuildRequires: valadoc >= 2:0.52}
 BuildRequires: tar >= 1:1.22
 BuildRequires: xorg-lib-libxkbcommon-devel
 BuildRequires: xz
@@ -116,10 +121,16 @@ Dokumentacja API biblioteki libskk.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 # pass fake VALADOC_* args to avoid requiring valadoc-devel
 # (only utility is needed here, but configure checks for development package)
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
        VALADOC_CFLAGS=fake \
        VALADOC_LIBS=fake \
This page took 0.093554 seconds and 4 git commands to generate.