summaryrefslogtreecommitdiffstats
path: root/plugins/apps
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2015-10-15 10:12:17 (GMT)
committerTony Theodore <tonyt@logyst.com>2015-11-26 05:48:53 (GMT)
commita6ba06c5260d26e805d9fdf54c587636bb861d4a (patch)
treefd2ab9aaba1aa8b0337f543a505af28d40925b24 /plugins/apps
parentd6c4884455cec15d24fbdb5a07dd2ea68978bc14 (diff)
downloadmxe-a6ba06c5260d26e805d9fdf54c587636bb861d4a.zip
mxe-a6ba06c5260d26e805d9fdf54c587636bb861d4a.tar.gz
mxe-a6ba06c5260d26e805d9fdf54c587636bb861d4a.tar.bz2
add native and apps plugin packages
Diffstat (limited to 'plugins/apps')
-rw-r--r--plugins/apps/keepassx-1-don-t-discard-config-set-by-qmake.patch27
-rw-r--r--plugins/apps/keepassx.mk27
2 files changed, 54 insertions, 0 deletions
diff --git a/plugins/apps/keepassx-1-don-t-discard-config-set-by-qmake.patch b/plugins/apps/keepassx-1-don-t-discard-config-set-by-qmake.patch
new file mode 100644
index 0000000..2962b63
--- /dev/null
+++ b/plugins/apps/keepassx-1-don-t-discard-config-set-by-qmake.patch
@@ -0,0 +1,27 @@
+This file is part of MXE.
+See index.html for further information.
+
+From e941cfd42870fe214f8c44cd5e4d8ee6893b0904 Mon Sep 17 00:00:00 2001
+From: Boris Nagaev <bnagaev@gmail.com>
+Date: Fri, 25 Sep 2015 10:19:17 +0200
+Subject: [PATCH] don't discard CONFIG set by qmake
+
+See https://github.com/mxe/mxe/commit/6c561c5f3307944d7b6d7ec3de732b25bf69ed00
+---
+ src/src.pro | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/src.pro b/src/src.pro
+index 7644b93..827741d 100644
+--- a/src/src.pro
++++ b/src/src.pro
+@@ -1,5 +1,5 @@
+
+-CONFIG = qt uic resources thread stl warn_on
++CONFIG += qt uic resources thread stl warn_on
+ QT += xml
+
+ *-g++ : QMAKE_CXXFLAGS_WARN_ON += -Wno-sign-compare
+--
+1.7.10.4
+
diff --git a/plugins/apps/keepassx.mk b/plugins/apps/keepassx.mk
new file mode 100644
index 0000000..a05dc89
--- /dev/null
+++ b/plugins/apps/keepassx.mk
@@ -0,0 +1,27 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG := keepassx
+$(PKG)_IGNORE :=
+$(PKG)_VERSION := 0.4.3
+$(PKG)_CHECKSUM := cd901a0611ce57e62cf6df7eeeb1b690b5232302bdad8626994eb54adcfa1e85
+$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
+$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
+$(PKG)_URL := https://www.keepassx.org/releases/$($(PKG)_FILE)
+$(PKG)_WEBSITE := https://www.keepassx.org
+$(PKG)_MAKEFILE := $(realpath $(lastword $(MAKEFILE_LIST)))
+$(PKG)_OWNER := https://github.com/starius
+$(PKG)_DEPS := gcc qt
+
+define $(PKG)_UPDATE
+$(WGET) -q -O- 'https://www.keepassx.org/downloads/' | \
+ $(SED) -n 's,.*keepassx-\([0-9][^"]*\)\.tar.*,\1,p' | \
+ head -1
+endef
+
+define $(PKG)_BUILD
+ cd '$(1)' && '$(TARGET)-qmake-qt4' \
+ "PREFIX=$(PREFIX)/$(TARGET)/bin/"
+ $(MAKE) -C '$(1)' -j '$(JOBS)'
+ $(MAKE) -C '$(1)' -j 1 install
+endef