[packages/lazarus] - fpc supports only gtk2, make lazarus compatible :(
baggins
baggins at pld-linux.org
Sun Aug 20 21:44:53 CEST 2023
commit 92563a3b2f2715ffeae8fcbf705ed8fc880f5485
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Aug 20 21:33:17 2023 +0200
- fpc supports only gtk2, make lazarus compatible :(
lazarus.spec | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/lazarus.spec b/lazarus.spec
index 9ff5311..49bccaf 100644
--- a/lazarus.spec
+++ b/lazarus.spec
@@ -2,7 +2,7 @@ Summary: Lazarus Component Library and IDE
Summary(pl.UTF-8): Lazarus - biblioteka komponentów i IDE
Name: lazarus
Version: 2.2.6
-Release: 1
+Release: 2
License: GPL v2, modified LGPL, MPL (see COPYING.txt)
Group: Development/Tools
Source0: http://downloads.sourceforge.net/lazarus/%{name}-%{version}-0.tar.gz
@@ -14,7 +14,7 @@ Patch2: libdir.patch
URL: http://www.lazarus.freepascal.org/
BuildRequires: fpc >= 3.2.0
BuildRequires: fpc-src >= 3.2.0
-BuildRequires: gtk+3-devel
+BuildRequires: gtk+2-devel
%requires_eq fpc
Requires: fpc-src >= 3.2.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -91,7 +91,7 @@ fpcmake -Tall
cd ../
# Enable GDB debuginfo in DWARF format, plus some optimisations
-%{__make} -j1 LCL_PLATFORM=gtk3 OPT="-k--build-id -g -gl -gw -O3"
+%{__make} -j1 LCL_PLATFORM=gtk2 OPT="-k--build-id -g -gl -gw -O3"
%install
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lazarus.git/commitdiff/92563a3b2f2715ffeae8fcbf705ed8fc880f5485
More information about the pld-cvs-commit
mailing list