Browse Source

harfbuzz-9.0.0-1

Tomohiro "Tomo-p" KATO 8 months ago
parent
commit
abb98c583e
1 changed files with 20 additions and 11 deletions
  1. 20 11
      h/harfbuzz/harfbuzz-vl.spec

+ 20 - 11
h/harfbuzz/harfbuzz-vl.spec

@@ -2,7 +2,7 @@
 
 Summary:	Text shaping library
 Name:		harfbuzz
-Version:	8.5.0
+Version:	9.0.0
 Release:	1%{?_dist_release}
 Group:		system
 Vendor:		Project Vine
@@ -13,6 +13,8 @@ URL:		https://github.com/harfbuzz/harfbuzz
 Source0:	https://github.com/harfbuzz/harfbuzz/releases/download/%{version}/harfbuzz-%{version}.tar.xz
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+BuildRequires:	meson
+BuildRequires:	ninja
 BuildRequires:	cairo-devel
 BuildRequires:	freetype2-devel
 BuildRequires:	glib2-devel
@@ -92,26 +94,30 @@ Header files and libraries for building a extension library for the
 
 
 %build
-%configure \
-	--disable-static \
-	--enable-introspection \
-	--with-gobject \
-	--with-graphite2
+# https://github.com/harfbuzz/harfbuzz/issues/3163
+%global optflags %(echo %{optflags} | sed -e 's/-fexceptions/-fno-exceptions/')
 
-%{__make} %{?_smp_mflags}
+%meson \
+	-Dgobject=enabled \
+	-Dgraphite2=enabled \
+	-Dintrospection=enabled \
+	-Dchafa=disabled
+
+%meson_build
 
 
 %install
-%{__make} install DESTDIR=${RPM_BUILD_ROOT}
+%meson_install
+
 
-find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
-find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
+%check
+%meson_test
 
 
 %files
 %defattr(-,root,root,-)
 %license COPYING
-%doc ChangeLog NEWS README
+%doc NEWS README*
 %{_bindir}/hb-ot-shape-closure
 %{_bindir}/hb-info
 %{_bindir}/hb-shape
@@ -153,6 +159,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
 
 
 %changelog
+* Fri Jun 28 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.0.0-1
+- new upstream release.
+
 * Tue May 14 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.5.0-1
 - new upstream release.