Use pkgconfig for BuildRequires

https://fedoraproject.org/wiki/Packaging:PkgConfigBuildRequires
This commit is contained in:
David King 2022-01-14 15:05:46 +00:00
parent 17a871bfa3
commit 5347b96315

View File

@ -26,23 +26,23 @@ Patch1: 0001-Revert-build-Do-not-provide-built-sources-as-libmutt.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=1936991 # https://bugzilla.redhat.com/show_bug.cgi?id=1936991
Patch2: mutter-42.alpha-disable-tegra.patch Patch2: mutter-42.alpha-disable-tegra.patch
BuildRequires: gobject-introspection-devel >= 1.41.0 BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.41.0
BuildRequires: libSM-devel BuildRequires: pkgconfig(sm)
BuildRequires: libwacom-devel BuildRequires: pkgconfig(libwacom)
BuildRequires: libX11-devel BuildRequires: pkgconfig(x11)
BuildRequires: libXdamage-devel BuildRequires: pkgconfig(xdamage)
BuildRequires: libXext-devel BuildRequires: pkgconfig(xext)
BuildRequires: libXfixes-devel BuildRequires: pkgconfig(xfixes)
BuildRequires: libXi-devel BuildRequires: pkgconfig(xi)
BuildRequires: libXrandr-devel BuildRequires: pkgconfig(xrandr)
BuildRequires: libXrender-devel BuildRequires: pkgconfig(xrender)
BuildRequires: libXcursor-devel BuildRequires: pkgconfig(xcursor)
BuildRequires: libXcomposite-devel BuildRequires: pkgconfig(xcomposite)
BuildRequires: libxcb-devel BuildRequires: pkgconfig(x11-xcb)
BuildRequires: libxkbcommon-devel BuildRequires: pkgconfig(xkbcommon)
BuildRequires: libxkbcommon-x11-devel BuildRequires: pkgconfig(xkbcommon-x11)
BuildRequires: libxkbfile-devel BuildRequires: pkgconfig(xkbfile)
BuildRequires: libXtst-devel BuildRequires: pkgconfig(xtst)
BuildRequires: mesa-libEGL-devel BuildRequires: mesa-libEGL-devel
BuildRequires: mesa-libGLES-devel BuildRequires: mesa-libGLES-devel
BuildRequires: mesa-libGL-devel BuildRequires: mesa-libGL-devel
@ -53,18 +53,17 @@ BuildRequires: pam-devel
BuildRequires: pkgconfig(libpipewire-0.3) >= %{pipewire_version} BuildRequires: pkgconfig(libpipewire-0.3) >= %{pipewire_version}
BuildRequires: pkgconfig(sysprof-capture-4) BuildRequires: pkgconfig(sysprof-capture-4)
BuildRequires: sysprof-devel BuildRequires: sysprof-devel
BuildRequires: systemd-devel BuildRequires: pkgconfig(libsystemd)
BuildRequires: upower-devel
BuildRequires: xorg-x11-server-Xorg BuildRequires: xorg-x11-server-Xorg
BuildRequires: xorg-x11-server-Xvfb BuildRequires: xorg-x11-server-Xvfb
BuildRequires: xkeyboard-config-devel BuildRequires: pkgconfig(xkeyboard-config)
BuildRequires: zenity BuildRequires: zenity
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
# Bootstrap requirements # Bootstrap requirements
BuildRequires: gtk-doc gettext-devel git-core BuildRequires: gtk-doc gettext-devel git-core
BuildRequires: libcanberra-devel BuildRequires: pkgconfig(libcanberra)
BuildRequires: gsettings-desktop-schemas-devel >= %{gsettings_desktop_schemas_version} BuildRequires: pkgconfig(gsettings-desktop-schemas) >= %{gsettings_desktop_schemas_version}
BuildRequires: gnome-settings-daemon-devel BuildRequires: pkgconfig(gnome-settings-daemon)
BuildRequires: meson BuildRequires: meson
BuildRequires: pkgconfig(gbm) BuildRequires: pkgconfig(gbm)
BuildRequires: pkgconfig(gnome-desktop-3.0) BuildRequires: pkgconfig(gnome-desktop-3.0)
@ -75,8 +74,8 @@ BuildRequires: pkgconfig(wayland-eglstream)
BuildRequires: pkgconfig(wayland-protocols) BuildRequires: pkgconfig(wayland-protocols)
BuildRequires: pkgconfig(wayland-server) BuildRequires: pkgconfig(wayland-server)
BuildRequires: json-glib-devel >= %{json_glib_version} BuildRequires: pkgconfig(json-glib-1.0) >= %{json_glib_version}
BuildRequires: libinput-devel >= %{libinput_version} BuildRequires: pkgconfig(libinput) >= %{libinput_version}
BuildRequires: pkgconfig(xwayland) BuildRequires: pkgconfig(xwayland)
Requires: control-center-filesystem Requires: control-center-filesystem
@ -172,6 +171,7 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
%changelog %changelog
* Fri Jan 14 2022 David King <amigadave@amigadave.com> - 42~alpha-1 * Fri Jan 14 2022 David King <amigadave@amigadave.com> - 42~alpha-1
- Update to 42~alpha - Update to 42~alpha
- Use pkgconfig for BuildRequires
* Mon Dec 13 2021 Peter Hutterer <peter.hutterer@redhat.com> - 41.0-5 * Mon Dec 13 2021 Peter Hutterer <peter.hutterer@redhat.com> - 41.0-5
- Rebuild for libwacom soname bump - Rebuild for libwacom soname bump