use build tag for x11

This commit is contained in:
Unrud 2018-07-31 20:19:00 +02:00
parent 5fe430b3f2
commit e73a18710b
5 changed files with 5 additions and 5 deletions

View file

@ -3,7 +3,7 @@
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.
Supports Linux/X11 and Windows.
Supports Windows and X11.
## Installation

View file

@ -11,7 +11,7 @@
To take control open the displayed URL or scan the QR code.
</p>
<p>
Supports Linux/X11 and Windows.
Supports Windows and X11.
</p>
</description>
<url type="bugtracker">https://github.com/Unrud/remote-touchpad/issues</url>

View file

@ -45,7 +45,7 @@
],
"buildsystem" : "simple",
"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 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",

View file

@ -1,4 +1,4 @@
// +build linux
// +build x11
/*
* Copyright (c) 2018 Unrud<unrud@outlook.com>

View file

@ -1,4 +1,4 @@
// +build !linux
// +build !x11
/*
* Copyright (c) 2018 Unrud<unrud@outlook.com>