Skip to content

Commit

Permalink
[v0.1.7] Switch to system websocket
Browse files Browse the repository at this point in the history
  • Loading branch information
CODeRUS committed Mar 9, 2020
1 parent 6034950 commit 47ae1a4
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 23 deletions.
14 changes: 2 additions & 12 deletions harbour-lgremote-webos.pro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
TARGET = harbour-lgremote-webos

QT += network xml xmlpatterns
QT += network xml xmlpatterns websockets
CONFIG += sailfishapp

SOURCES += \
Expand All @@ -14,20 +14,10 @@ HEADERS += \

DEFINES += APP_VERSION=\\\"$$VERSION\\\"

wslibs9.files = \
websockets9/libQt5WebSockets.so \
websockets9/libQt5WebSockets.so.5 \
websockets9/libQt5WebSockets.so.5.3 \
websockets9/libQt5WebSockets.so.5.3.3
wslibs9.path = /usr/share/harbour-lgremote-webos/lib

wsqml9.files = websockets9/harbour
wsqml9.path = /usr/share/harbour-lgremote-webos/import

images.files = images
images.path = /usr/share/harbour-lgremote-webos

INSTALLS += wslibs9 wsqml9 images
INSTALLS += images

OTHER_FILES += \
qml/cover/CoverPage.qml \
Expand Down
2 changes: 1 addition & 1 deletion qml/main.qml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import QtQuick 2.1
import Sailfish.Silica 1.0
import harbour.lgremote.webos.websockets 1.0
import "pages"
;import QtWebSockets 1.1
;import Sailfish.Media 1.0
;import org.nemomobile.policy 1.0
;import org.nemomobile.configuration 1.0
Expand Down
2 changes: 1 addition & 1 deletion qml/pages/MainSocket.qml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import QtQuick 2.1
import harbour.lgremote.webos.websockets 1.0
;import QtWebSockets 1.1

WebSocket {
id: mainSocket
Expand Down
2 changes: 1 addition & 1 deletion qml/pages/PointerSocket.qml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import QtQuick 2.1
import harbour.lgremote.webos.websockets 1.0
;import QtWebSockets 1.1

WebSocket {
id: pointerSocket
Expand Down
12 changes: 4 additions & 8 deletions rpm/harbour-lgremote-webos.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,24 @@

Name: harbour-lgremote-webos

# >> macros
%define __provides_exclude_from ^%{_datadir}/.*$
%define __requires_exclude ^libQt5WebSockets.*$
# << macros

%{!?qtc_qmake:%define qtc_qmake %qmake}
%{!?qtc_qmake5:%define qtc_qmake5 %qmake5}
%{!?qtc_make:%define qtc_make make}
%{?qtc_builddir:%define _builddir %qtc_builddir}

Summary: LG Remote for webOS Smart TV
Version: 0.1.6
Version: 0.1.7
Release: 1
Group: Qt/Qt
License: WTFPL
URL: https://github.com/CODeRUS/harbour-lgremote-webos
Source0: %{name}-%{version}.tar.bz2
Requires: sailfishsilica-qt5 >= 0.10.9
Requires: qt5-qtdeclarative-import-websockets
BuildRequires: pkgconfig(sailfishapp) >= 1.0.2
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Qml)
BuildRequires: pkgconfig(Qt5Quick)
BuildRequires: desktop-file-utils
BuildRequires: qt5-qtdeclarative-import-websockets

%description
LG Remote for webOS Smart TV
Expand Down

0 comments on commit 47ae1a4

Please sign in to comment.