Selaa lähdekoodia

Fix rpm dependencies on suse

bryan 2 vuotta sitten
vanhempi
commit
19730dd3bb
1 muutettua tiedostoa jossa 2 lisäystä ja 3 poistoa
  1. 2 3
      installJRMC

+ 2 - 3
installJRMC

@@ -609,9 +609,9 @@ buildRPM() {
     # If you are building on SUSE, I assume you want SUSE RPMs
     # i.e. cross-building not an option but could be added
     if [[ "$ID" =~ ^opensuse.*$ ]]; then
-        _requires=$'Requires: Mesa-libVulkan-devel\nRequires: freetype >= 1.3.1'
+        _requires=$'Requires: Mesa-libVulkan-devel\nRequires: freetype >= 1.3.1\nRequires: libharfbuzz0 >= 2.3.1'
     else
-        _requires=$'Requires: mesa-vulkan-drivers\nRequires: freetype >= 2.9.1'
+        _requires=$'Requires: mesa-vulkan-drivers\nRequires: freetype >= 2.9.1\nRequires: harfbuzz >= 2.3.1'
     fi
 
     debug "Requires: $_requires"
@@ -647,7 +647,6 @@ buildRPM() {
 		Requires: libgomp >= 7.4
 		Requires: fribidi >= 1.0.5
 		Requires: fontconfig >= 2.13
-		Requires: harfbuzz >= 2.3.1
 		Requires: mesa-libgbm >= 18.3.6
 		Requires: libva >= 2.4.0
 		Requires: libepoxy >= 1.5.3