use build tag for x11
This commit is contained in:
parent
5fe430b3f2
commit
e73a18710b
5 changed files with 5 additions and 5 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
Control mouse and keyboard from the webbrowser of a smartphone (or any other device with a touchscreen).
|
Control mouse and keyboard from the webbrowser of a smartphone (or any other device with a touchscreen).
|
||||||
To take control open the displayed URL or scan the QR code.
|
To take control open the displayed URL or scan the QR code.
|
||||||
|
|
||||||
Supports Linux/X11 and Windows.
|
Supports Windows and X11.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
To take control open the displayed URL or scan the QR code.
|
To take control open the displayed URL or scan the QR code.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Supports Linux/X11 and Windows.
|
Supports Windows and X11.
|
||||||
</p>
|
</p>
|
||||||
</description>
|
</description>
|
||||||
<url type="bugtracker">https://github.com/Unrud/remote-touchpad/issues</url>
|
<url type="bugtracker">https://github.com/Unrud/remote-touchpad/issues</url>
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@
|
||||||
],
|
],
|
||||||
"buildsystem" : "simple",
|
"buildsystem" : "simple",
|
||||||
"build-commands" : [
|
"build-commands" : [
|
||||||
". /usr/lib/sdk/golang/enable.sh; env GOPATH=\"$(pwd)\" go build github.com/unrud/remote-touchpad",
|
". /usr/lib/sdk/golang/enable.sh; env GOPATH=\"$(pwd)\" go build -tags x11 github.com/unrud/remote-touchpad",
|
||||||
"install -Dm0755 -t /app/bin remote-touchpad",
|
"install -Dm0755 -t /app/bin remote-touchpad",
|
||||||
"install -Dm0755 -t /app/bin src/github.com/unrud/remote-touchpad/desktop/remote-touchpad-wait-on-error",
|
"install -Dm0755 -t /app/bin src/github.com/unrud/remote-touchpad/desktop/remote-touchpad-wait-on-error",
|
||||||
"install -Dm0644 -t /app/share/appdata src/github.com/unrud/remote-touchpad/desktop/remote-touchpad.appdata.xml",
|
"install -Dm0644 -t /app/share/appdata src/github.com/unrud/remote-touchpad/desktop/remote-touchpad.appdata.xml",
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// +build linux
|
// +build x11
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2018 Unrud<unrud@outlook.com>
|
* Copyright (c) 2018 Unrud<unrud@outlook.com>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// +build !linux
|
// +build !x11
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2018 Unrud<unrud@outlook.com>
|
* Copyright (c) 2018 Unrud<unrud@outlook.com>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue