Compare commits
1 commit
rawhide
...
gtk3-worki
| Author | SHA1 | Date | |
|---|---|---|---|
| 4d303ae8b7 |
1 changed files with 27 additions and 5 deletions
32
lxpanel.spec
32
lxpanel.spec
|
|
@ -30,8 +30,13 @@
|
|||
|
||||
%dnl %global use_gcc_strict_sanitize 1
|
||||
|
||||
%global use_gtk3 0
|
||||
%if 0%{?fedora} >= 45
|
||||
%global use_gtk3 1
|
||||
%endif
|
||||
|
||||
%global main_version 0.11.1
|
||||
%global baserelease 1
|
||||
%global baserelease 2
|
||||
|
||||
Name: lxpanel
|
||||
Version: %{main_version}%{git_ver_rpm}
|
||||
|
|
@ -72,16 +77,25 @@ BuildRequires: make
|
|||
BuildRequires: gettext
|
||||
BuildRequires: intltool
|
||||
|
||||
BuildRequires: pkgconfig(gtk+-2.0)
|
||||
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
||||
BuildRequires: pkgconfig(gdk-pixbuf-xlib-2.0)
|
||||
BuildRequires: pkgconfig(libfm-gtk)
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
BuildRequires: pkgconfig(libwnck-1.0)
|
||||
BuildRequires: pkgconfig(keybinder)
|
||||
BuildRequires: pkgconfig(indicator-0.4)
|
||||
BuildRequires: pkgconfig(libmenu-cache) >= 0.3.0
|
||||
BuildRequires: pkgconfig(alsa)
|
||||
|
||||
%if 0%{?use_gtk3}
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(keybinder-3.0)
|
||||
BuildRequires: pkgconfig(libfm-gtk3)
|
||||
BuildRequires: pkgconfig(libwnck-3.0)
|
||||
%else
|
||||
BuildRequires: pkgconfig(gtk+-2.0)
|
||||
BuildRequires: pkgconfig(keybinder)
|
||||
BuildRequires: pkgconfig(libfm-gtk)
|
||||
BuildRequires: pkgconfig(libwnck-1.0)
|
||||
%endif
|
||||
|
||||
BuildRequires: /usr/bin/curl-config
|
||||
|
||||
%if 0%{?use_gitbare}
|
||||
|
|
@ -190,6 +204,11 @@ export LDFLAGS="${LDFLAGS} -pthread"
|
|||
--enable-indicator-support \
|
||||
--disable-silent-rules \
|
||||
--with-plugins='netstatus,volume,cpu,deskno,batt,kbled,xkb,thermal,cpufreq,monitors,indicator,weather' \
|
||||
%if 0%{?use_gtk3}
|
||||
--enable-gtk3=yes \
|
||||
%else
|
||||
--enable-gtk3=no \
|
||||
%endif
|
||||
%{nil}
|
||||
%make_build
|
||||
|
||||
|
|
@ -225,6 +244,9 @@ cd ..
|
|||
%{_libdir}/pkgconfig/lxpanel.pc
|
||||
|
||||
%changelog
|
||||
* Fri May 01 2026 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.11.1^20260313git4dec3d0d-2
|
||||
- F-45+: use GTK3
|
||||
|
||||
* Fri Mar 13 2026 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.11.1^20260313git4dec3d0d-1
|
||||
- Update to the latest git
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue