[packages/gnome-font-viewer] - updated meson dependencies

qboosh qboosh at pld-linux.org
Sat Nov 16 23:10:56 CET 2019


commit 0c2d6ae4200e6683fa0a8d700e3fc66b0e70c82d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Nov 16 23:11:12 2019 +0100

    - updated meson dependencies

 gnome-font-viewer.spec | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)
---
diff --git a/gnome-font-viewer.spec b/gnome-font-viewer.spec
index 33acd71..31a5bea 100644
--- a/gnome-font-viewer.spec
+++ b/gnome-font-viewer.spec
@@ -3,11 +3,11 @@ Summary(pl.UTF-8):	Przeglądarka czcionek
 Name:		gnome-font-viewer
 Version:	3.34.0
 Release:	1
-License:	GPL v2
+License:	GPL v2+
 Group:		X11/Applications
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/gnome-font-viewer/3.34/%{name}-%{version}.tar.xz
 # Source0-md5:	76004a8986ea622b09c408b01a6f42e5
-URL:		http://live.gnome.org/GnomeUtils
+URL:		https://wiki.gnome.org/Attic/GnomeUtils
 BuildRequires:	fontconfig-devel
 BuildRequires:	freetype-devel >= 2
 BuildRequires:	gettext-tools >= 0.17
@@ -15,8 +15,10 @@ BuildRequires:	glib2-devel >= 1:2.35.1
 BuildRequires:	gnome-desktop-devel >= 3.0
 BuildRequires:	gtk+3-devel >= 3.20.0
 BuildRequires:	harfbuzz-devel >= 0.9.9
-BuildRequires:	meson >= 0.40.1
+BuildRequires:	meson >= 0.50.0
+BuildRequires:	ninja >= 1.5
 BuildRequires:	pkgconfig >= 1:0.22
+BuildRequires:	rpmbuild(macros) >= 1.736
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
 Requires(post,postun):	desktop-file-utils
@@ -38,12 +40,13 @@ Ten pakiet dostarcza przeglądarkę czcionek.
 
 %build
 %meson build
-%meson_build -C build
+
+%ninja_build -C build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%meson_install -C build
+%ninja_install -C build
 
 %find_lang %{name}
 
@@ -61,9 +64,9 @@ rm -rf $RPM_BUILD_ROOT
 %doc NEWS
 %attr(755,root,root) %{_bindir}/gnome-font-viewer
 %attr(755,root,root) %{_bindir}/gnome-thumbnail-font
-%{_desktopdir}/org.gnome.font-viewer.desktop
-%{_datadir}/metainfo/org.gnome.font-viewer.appdata.xml
 %{_datadir}/dbus-1/services/org.gnome.font-viewer.service
+%{_datadir}/metainfo/org.gnome.font-viewer.appdata.xml
 %{_datadir}/thumbnailers/gnome-font-viewer.thumbnailer
+%{_desktopdir}/org.gnome.font-viewer.desktop
 %{_iconsdir}/hicolor/scalable/apps/org.gnome.font-viewer.svg
 %{_iconsdir}/hicolor/symbolic/apps/org.gnome.font-viewer-symbolic.svg
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gnome-font-viewer.git/commitdiff/0c2d6ae4200e6683fa0a8d700e3fc66b0e70c82d



More information about the pld-cvs-commit mailing list