commit ae2b683dceefc70b96fecdb39ebecd54d8ec0439 Author: Marcin Krol <h...@tld-linux.org> Date: Mon Apr 22 22:58:41 2024 +0200
- fix building with gtk3, build with gtk3 by default lxpanel.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) --- diff --git a/lxpanel.spec b/lxpanel.spec index de885e9..9c32428 100644 --- a/lxpanel.spec +++ b/lxpanel.spec @@ -1,6 +1,6 @@ # # Conditional build: -%bcond_with gtk3 # use GTK+3 instead of GTK+2 +%bcond_without gtk3 # use GTK+3 instead of GTK+2 %bcond_without appindicator # libindicator support (only GTK+2 variant supported) %if %{with gtk3} @@ -10,7 +10,7 @@ Summary: LXPanel - a lightweight X11 desktop panel Summary(pl.UTF-8): LXPanel - lekki panel pulpitu X11 Name: lxpanel Version: 0.10.1 -Release: 1 +Release: 2 License: GPL v2+ Group: X11/Applications Source0: https://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.xz @@ -31,7 +31,8 @@ BuildRequires: libfm-devel >= 1.2.0 %{?with_appindicator:BuildRequires: libindicator-devel >= 0.3.0} BuildRequires: libiw-devel BuildRequires: libtool >= 2:2.2 -BuildRequires: libwnck2-devel +%{!?with_gtk3:BuildRequires: libwnck2-devel} +%{?with_gtk3:BuildRequires: libwnck-devel} BuildRequires: libxml2-devel >= 2.0 BuildRequires: menu-cache-devel BuildRequires: pkgconfig @@ -90,7 +91,8 @@ Pliki nagłówkowe dla wtyczek lxpanelu. %{__automake} %configure \ %{?with_appindicator:--enable-indicator-support} \ - --disable-silent-rules + --disable-silent-rules \ + %{?with_gtk3:--enable-gtk3} %{__make} ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/lxpanel.git/commitdiff/ae2b683dceefc70b96fecdb39ebecd54d8ec0439 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit