forked from pool/wpa_supplicant
Accepting request 360636 from home:elvigia:branches:hardware
- spec: Compile the GUI against QT5 in 13.2 and later. OBS-URL: https://build.opensuse.org/request/show/360636 OBS-URL: https://build.opensuse.org/package/show/hardware/wpa_supplicant?expand=0&rev=61
This commit is contained in:
parent
d8f638566d
commit
d15605b209
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 20 16:56:01 UTC 2016 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
- spec: Compile the GUI against QT5 in 13.2 and later.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 18 15:36:23 UTC 2016 - crrodriguez@opensuse.org
|
Thu Feb 18 15:36:23 UTC 2016 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
@ -43,8 +43,14 @@ Patch3: wpa_supplicant-alloc_size.patch
|
|||||||
Patch4: wpa_supplicant-getrandom.patch
|
Patch4: wpa_supplicant-getrandom.patch
|
||||||
BuildRequires: dbus-1-devel
|
BuildRequires: dbus-1-devel
|
||||||
BuildRequires: libnl3-devel
|
BuildRequires: libnl3-devel
|
||||||
|
%if 0%{?suse_version} < 1320
|
||||||
BuildRequires: libqt4
|
BuildRequires: libqt4
|
||||||
BuildRequires: libqt4-devel
|
BuildRequires: libqt4-devel
|
||||||
|
%else
|
||||||
|
BuildRequires: pkgconfig(Qt5Core)
|
||||||
|
BuildRequires: pkgconfig(Qt5Gui)
|
||||||
|
BuildRequires: pkgconfig(Qt5Widgets)
|
||||||
|
%endif
|
||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
@ -82,7 +88,11 @@ cp %{SOURCE1} wpa_supplicant/.config
|
|||||||
cd wpa_supplicant
|
cd wpa_supplicant
|
||||||
CFLAGS="%{optflags}" make V=1 %{?_smp_mflags}
|
CFLAGS="%{optflags}" make V=1 %{?_smp_mflags}
|
||||||
cd wpa_gui-qt4
|
cd wpa_gui-qt4
|
||||||
|
%if 0%{?suse_version} < 1320
|
||||||
qmake QMAKE_CXXFLAGS="%{optflags}" QMAKE_CFLAGS="%{optflags}"
|
qmake QMAKE_CXXFLAGS="%{optflags}" QMAKE_CFLAGS="%{optflags}"
|
||||||
|
%else
|
||||||
|
qmake-qt5 QMAKE_CXXFLAGS="%{optflags}" QMAKE_CFLAGS="%{optflags}"
|
||||||
|
%endif
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user