]> git.pld-linux.org Git - packages/wpebackend-fdo.git/commitdiff
- added libdir patch (fixes libdir in .pc file)
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 7 Oct 2019 17:23:43 +0000 (19:23 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 7 Oct 2019 17:23:43 +0000 (19:23 +0200)
- pl, completed BRs

wpebackend-fdo-libdir.patch [new file with mode: 0644]
wpebackend-fdo.spec

diff --git a/wpebackend-fdo-libdir.patch b/wpebackend-fdo-libdir.patch
new file mode 100644 (file)
index 0000000..44684e2
--- /dev/null
@@ -0,0 +1,11 @@
+--- wpebackend-fdo-1.4.0/wpebackend-fdo.pc.in.orig     2019-09-18 14:32:18.000000000 +0200
++++ wpebackend-fdo-1.4.0/wpebackend-fdo.pc.in  2019-10-07 18:53:23.889081185 +0200
+@@ -1,7 +1,7 @@
+ prefix=@CMAKE_INSTALL_PREFIX@
+ exec_prefix=${prefix}
+ includedir=${prefix}/include
+-libdir=${exec_prefix}/lib
++libdir=@CMAKE_INSTALL_FULL_LIBDIR@
+ Name: wpebackend-fdo-@WPEBACKEND_FDO_API_VERSION@
+ Description: The WPEBackend-fdo library
index 0aea1f1b1039545d5c9acfe5047f9fda323e0aaa..bf119d815b9da9a217848fd65039ec62271407e3 100644 (file)
@@ -1,4 +1,6 @@
+# TODO: apidocs (BR: hotdoc, like libwpe.spec)
 Summary:       A WPE backend designed for Linux desktop systems
+Summary(pl.UTF-8):     Backend WPE zaprojektowany dla biurkowych systemów linuksowych
 Name:          wpebackend-fdo
 Version:       1.4.0
 Release:       1
@@ -6,40 +8,52 @@ License:      BSD
 Group:         Libraries
 Source0:       https://wpewebkit.org/releases/%{name}-%{version}.tar.xz
 # Source0-md5: 63553c3f43593c2a8c587c32e88fdf3c
+Patch0:                %{name}-libdir.patch
 URL:           https://wpewebkit.org/
-BuildRequires: Mesa-libEGL-devel
-BuildRequires: cmake
-BuildRequires: glib2-devel
+BuildRequires: EGL-devel
+BuildRequires: cmake >= 3.0
+BuildRequires: glib2-devel >= 2.0
+BuildRequires: libstdc++-devel >= 6:4.7
 BuildRequires: libwpe-devel
-BuildRequires: wayland-devel
-BuildRequires: xorg-lib-libxkbcommon-devel
+BuildRequires: rpmbuild(macros) >= 1.605
+BuildRequires: wayland-devel >= 1.10
+BuildRequires: wayland-egl-devel >= 1.10
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 A WPE backend designed for Linux desktop systems.
 
+%description -l pl.UTF-8
+Backend WPE zaprojektowany dla biurkowych systemów linuksowych.
+
 %package devel
-Summary:       Header files for %{name} library
-Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki %{name}
+Summary:       Header files for WPEBackend-fdo library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki WPEBackend-fdo
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
+Requires:      libwpe-devel
 
 %description devel
-Header files for %{name} library.
+Header files for WPEBackend-fdo library.
 
 %description devel -l pl.UTF-8
-Pliki nagłówkowe biblioteki %{name}.
+Pliki nagłówkowe biblioteki WPEBackend-fdo.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-%cmake .
+install -d build
+cd build
+%cmake ..
+
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} install \
+
+%{__make} -C build install \
        DESTDIR=$RPM_BUILD_ROOT
 
 %clean
@@ -59,5 +73,3 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/libWPEBackend-fdo-1.0.so
 %{_includedir}/wpe-fdo-1.0
 %{_pkgconfigdir}/wpebackend-fdo-1.0.pc
-
-%changelog
This page took 0.14303 seconds and 4 git commands to generate.