[packages/harfbuzz] - graphite2 is also supported if found - add Requires.private to .pc file (needed for static linking
qboosh
qboosh at pld-linux.org
Thu Aug 23 17:36:35 CEST 2012
commit e1674d2f057b9c2e8da95523e07a8550421df815
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Aug 23 17:36:27 2012 +0200
- graphite2 is also supported if found
- add Requires.private to .pc file (needed for static linking when .la file is removed)
harfbuzz.spec | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/harfbuzz.spec b/harfbuzz.spec
index be64f49..dd4faa7 100644
--- a/harfbuzz.spec
+++ b/harfbuzz.spec
@@ -14,6 +14,7 @@ Source0: http://www.freedesktop.org/software/harfbuzz/release/%{name}-%{version}
URL: http://www.freedesktop.org/wiki/HarfBuzz
BuildRequires: cairo-devel >= 1.8.0
BuildRequires: freetype-devel >= 2.3.8
+BuildRequires: graphite2-devel
BuildRequires: glib2-devel >= 1:2.16
BuildRequires: libicu-devel
BuildRequires: libstdc++-devel
@@ -36,6 +37,7 @@ Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: cairo-devel >= 1.8.0
Requires: glib2-devel >= 1:2.16
+Requires: graphite2-devel
Requires: libstdc++-devel
%description devel
@@ -76,6 +78,11 @@ Dokumentacja API biblioteki HarfBuzz.
%{?with_static_libs:--enable-static}
%{__make}
+# missing
+cat >> harfbuzz.pc <<EOF
+Requires.private: glib-2.0 gobject-2.0 icu-uc freetype2 graphite2
+EOF
+
%install
rm -rf $RPM_BUILD_ROOT
More information about the pld-cvs-commit
mailing list