mirror of
https://abf.rosa.ru/djam/codelite.git
synced 2025-02-23 22:52:55 +00:00
LOG Add patch to fix 64 bit plugins dir
This commit is contained in:
parent
14c056e551
commit
f5b3519b97
2 changed files with 19 additions and 2 deletions
14
codelite-5.4-libdir.patch
Normal file
14
codelite-5.4-libdir.patch
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
diff -urN codelite-orig/CMakeLists.txt codelite-patched/CMakeLists.txt
|
||||||
|
--- codelite-orig/CMakeLists.txt 2014-02-14 16:08:02.371570174 +1100
|
||||||
|
+++ codelite-patched/CMakeLists.txt 2014-02-14 18:31:35.085719522 +1100
|
||||||
|
@@ -105,7 +105,9 @@
|
||||||
|
## Override defaults with user input
|
||||||
|
########################################
|
||||||
|
|
||||||
|
-set( CL_INSTALL_LIBDIR "lib" )
|
||||||
|
+if ( NOT CL_INSTALL_LIBDIR )
|
||||||
|
+ set( CL_INSTALL_LIBDIR "lib" )
|
||||||
|
+endif()
|
||||||
|
if ( PREFIX )
|
||||||
|
set ( CL_PREFIX ${PREFIX} )
|
||||||
|
else()
|
|
@ -1,13 +1,14 @@
|
||||||
Summary: A powerful open-source, cross platform code editor for C/C++
|
Summary: A powerful open-source, cross platform code editor for C/C++
|
||||||
Name: codelite
|
Name: codelite
|
||||||
Version: 5.4
|
Version: 5.4
|
||||||
Release: 1
|
Release: 2
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Development/Other
|
Group: Development/Other
|
||||||
Url: http://codelite.sourceforge.net
|
Url: http://codelite.sourceforge.net
|
||||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}-gtk.src.tar.gz
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}-gtk.src.tar.gz
|
||||||
Patch0: codelite-5.4-desktop.patch
|
Patch0: codelite-5.4-desktop.patch
|
||||||
Patch1: codelite-5.4-linkage.patch
|
Patch1: codelite-5.4-linkage.patch
|
||||||
|
Patch2: codelite-5.4-libdir.patch
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: wxgtku3.0-devel
|
BuildRequires: wxgtku3.0-devel
|
||||||
BuildRequires: pkgconfig(freetype2)
|
BuildRequires: pkgconfig(freetype2)
|
||||||
|
@ -45,10 +46,12 @@ users to easily create, build and debug complex projects.
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
%patch2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake \
|
%cmake \
|
||||||
-DPREFIX:PATH=%{_prefix}
|
-DPREFIX:PATH=%{_prefix} \
|
||||||
|
-DCL_INSTALL_LIBDIR=%{_lib}
|
||||||
%make
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
|
Loading…
Add table
Reference in a new issue