summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-02-10 21:45:18 +0100
committerkali kaneko (leap communications) <kali@leap.se>2021-02-10 22:04:12 +0100
commitf085beec2a6be9b1045ed4f609156ea54ad37d82 (patch)
tree7ccd7f0c32030629d0537c41c219f342dc8e73a9
parent5a23e0539d2447029785591db60f08affd50e314 (diff)
[pkg] add build deps
-rw-r--r--Makefile7
-rw-r--r--debian/control8
-rwxr-xr-xdebian/rules1
-rw-r--r--docker/Dockerfile6
4 files changed, 14 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index d3ae5f5..2ee11d2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
#########################################################################
# Multiplatform build and packaging recipes for BitmaskVPN
-# (c) LEAP Encryption Access Project, 2019-2020
+# (c) LEAP Encryption Access Project, 2019-2021
#########################################################################
.PHONY: all get build icon locales generate_locales clean check_qtifw HAS-qtifw relink_vendor
@@ -11,7 +11,10 @@ VENDOR_PATH ?= providers
APPNAME ?= $(shell VENDOR_PATH=${VENDOR_PATH} branding/scripts/getparam appname | tail -n 1)
TARGET ?= $(shell VENDOR_PATH=${VENDOR_PATH} branding/scripts/getparam binname | tail -n 1)
PROVIDER ?= $(shell grep ^'provider =' ${VENDOR_PATH}/vendor.conf | cut -d '=' -f 2 | tr -d "[:space:]")
-VERSION ?= $(shell git describe)
+VERSION ?= $(shell git describe 2> /dev/null)
+ifeq ($(VERSION),)
+ VERSION := "unknown"
+endif
WINCERTPASS ?= pass
OSXAPPPASS ?= pass
OSXMORDORUID ?= uid
diff --git a/debian/control b/debian/control
index 1a2266a..595033d 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,9 @@ Source: riseup-vpn
Section: net
Priority: extra
Maintainer: LEAP Encryption Access Project <debian@leap.se>
-Build-Depends: debhelper-compat (= 12), golang-go (>= 2:1.9), make, pkg-config, g++
+Build-Depends: debhelper-compat (= 12), golang-go (>= 2:1.9), make, pkg-config, g++, git,
+ qt5-qmake, qttools5-dev-tools, libqt5qml5, libqt5quick5, qtdeclarative5-dev,
+ qtbase5-dev
Standards-Version: 4.4.1
Homepage: https://0xacab.org/leap/bitmask-vpn
#Vcs-Browser: https://0xacab.org/leap/bitmask-vpn
@@ -11,7 +13,9 @@ Homepage: https://0xacab.org/leap/bitmask-vpn
Package: riseup-vpn
Architecture: any
Enhances: openvpn
-Depends: ${shlibs:Depends}, ${misc:Depends}, openvpn, policykit-1-gnome | polkit-1-auth-agent, python3
+Depends: ${shlibs:Depends}, ${misc:Depends}, openvpn, policykit-1-gnome | polkit-1-auth-agent, python3,
+ qml-module-qtquick2, qml-module-qtquick-controls, qml-module-qtquick-dialogs,
+ qml-module-qtquick-extras, qml-module-qt-labs-platform
Description: Easy, fast, and secure VPN service from riseup.net.
.
The service does not require a user account, keep logs, or track you in any
diff --git a/debian/rules b/debian/rules
index fdc68bd..2ecf308 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,7 @@
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
export DH_VERBOSE = 1
+export VERBOSE = 1
export DH_OPTIONS
export GO111MODULE=on
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 82ea94e..29ade5b 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -1,8 +1,6 @@
-# An image to build and package the Bitmask Lite (RiseupVPN and other branded builds)
-# (c) LEAP Encryption Access Project 2018-2019
+# An image to build and package the BitmaskVPN (RiseupVPN and other branded builds)
+# (c) LEAP Encryption Access Project 2018-2021
-# we start with 18.04 (bionic) to match the core18 used in the snap
-# but we will have to install a couple of extras on top...
FROM ubuntu:20.04 as builder
MAINTAINER LEAP Encryption Access Project <info@leap.se>