From a6ba06c5260d26e805d9fdf54c587636bb861d4a Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Thu, 15 Oct 2015 21:12:17 +1100 Subject: add native and apps plugin packages --- plugins/README.md | 5 ++++ ...passx-1-don-t-discard-config-set-by-qmake.patch | 27 ++++++++++++++++++ plugins/apps/keepassx.mk | 27 ++++++++++++++++++ plugins/native/autoconf.mk | 31 ++++++++++++++++++++ plugins/native/automake.mk | 31 ++++++++++++++++++++ plugins/native/bison.mk | 31 ++++++++++++++++++++ plugins/native/coreutils.mk | 32 +++++++++++++++++++++ plugins/native/flex.mk | 31 ++++++++++++++++++++ plugins/native/gettext.mk | 14 +++++++++ plugins/native/gperf.mk | 31 ++++++++++++++++++++ plugins/native/intltool.mk | 30 ++++++++++++++++++++ plugins/native/libiconv.mk | 14 +++++++++ plugins/native/libtool.mk | 14 +++++++++ plugins/native/m4.mk | 33 ++++++++++++++++++++++ plugins/native/make.mk | 32 +++++++++++++++++++++ plugins/native/sed.mk | 32 +++++++++++++++++++++ 16 files changed, 415 insertions(+) create mode 100644 plugins/README.md create mode 100644 plugins/apps/keepassx-1-don-t-discard-config-set-by-qmake.patch create mode 100644 plugins/apps/keepassx.mk create mode 100644 plugins/native/autoconf.mk create mode 100644 plugins/native/automake.mk create mode 100644 plugins/native/bison.mk create mode 100644 plugins/native/coreutils.mk create mode 100644 plugins/native/flex.mk create mode 100644 plugins/native/gettext.mk create mode 100644 plugins/native/gperf.mk create mode 100644 plugins/native/intltool.mk create mode 100644 plugins/native/libiconv.mk create mode 100644 plugins/native/libtool.mk create mode 100644 plugins/native/m4.mk create mode 100644 plugins/native/make.mk create mode 100644 plugins/native/sed.mk diff --git a/plugins/README.md b/plugins/README.md new file mode 100644 index 0000000..785d1c3 --- /dev/null +++ b/plugins/README.md @@ -0,0 +1,5 @@ +### MXE Plugins + +A collection of unsupported examples, experiments, tools, and utilities. + +Enjoy! 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 +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 diff --git a/plugins/native/autoconf.mk b/plugins/native/autoconf.mk new file mode 100644 index 0000000..7ef4b79 --- /dev/null +++ b/plugins/native/autoconf.mk @@ -0,0 +1,31 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := autoconf +$(PKG)_IGNORE := +$(PKG)_VERSION := 2.69 +$(PKG)_CHECKSUM := 64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684 +$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) +$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz +$(PKG)_URL := http://ftp.gnu.org/pub/gnu/autoconf/$($(PKG)_FILE) +$(PKG)_URL_2 := ftp://ftp.gnu.org/pub/gnu/autoconf/$($(PKG)_FILE) +$(PKG)_WEBSITE := http://www.gnu.org/software/autoconf +$(PKG)_MAKEFILE := $(realpath $(lastword $(MAKEFILE_LIST))) +$(PKG)_OWNER := https://github.com/tonytheodore +$(PKG)_TARGETS := $(BUILD) +$(PKG)_DEPS := m4 + +define $(PKG)_UPDATE + $(WGET) -q -O- 'http://ftp.gnu.org/gnu/autoconf/?C=M;O=D' | \ + $(SED) -n 's,.*