From 2cf71a20ebc4558001a2d030324a015de953831d Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Fri, 30 Sep 2016 23:38:08 +0100 Subject: apps: add ricochet 1.1.4 --- plugins/apps/ricochet.mk | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 plugins/apps/ricochet.mk diff --git a/plugins/apps/ricochet.mk b/plugins/apps/ricochet.mk new file mode 100644 index 0000000..7765a67 --- /dev/null +++ b/plugins/apps/ricochet.mk @@ -0,0 +1,28 @@ +# This file is part of MXE. See LICENSE.md for licensing information. + +PKG := ricochet +$(PKG)_IGNORE := +$(PKG)_VERSION := 1.1.4 +$(PKG)_CHECKSUM := f5f32caa3480def1de5c93010c6bf5f5789ddcba34bf09fc0feab67696d0c374 +$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) +$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION)-src.tar.bz2 +$(PKG)_URL := https://ricochet.im/releases/$($(PKG)_VERSION)/$($(PKG)_FILE) +$(PKG)_WEBSITE := https://ricochet.im/ +$(PKG)_OWNER := https://github.com/starius +$(PKG)_DEPS := gcc openssl protobuf qt5 + +define $(PKG)_UPDATE + $(call MXE_GET_GITHUB_TAGS, ricochet-im/ricochet, v) +endef + +define $(PKG)_BUILD + # TODO: add libasan and libubsan and let ricochet use them. + # See https://github.com/ricochet-im/ricochet/blob/master/BUILDING.md#hardening + cd '$(BUILD_DIR)' && \ + '$(TARGET)-qmake-qt5' \ + OPENSSLDIR='$(PREFIX)/$(TARGET)' \ + PROTOBUFDIR='$(PREFIX)/$(TARGET)' \ + '$(SOURCE_DIR)' + $(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' + cp '$(BUILD_DIR)'/release/ricochet.exe '$(PREFIX)/$(TARGET)/bin/' +endef -- cgit v0.12