summaryrefslogtreecommitdiff
path: root/package/electron-bin
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-17 09:20:34 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-17 09:26:09 +0200
commitc5038026bdd6cd58bcc8bd5e77e7b2741a9d5a34 (patch)
treef5594aa4c2fcbd960ec7512e2c4c069234debfc0 /package/electron-bin
parente96fb6171d9cf0078051eb9d5d7f08ce8fc1d1f7 (diff)
electron-bin: remove, as the binary traps out for simple apps
Diffstat (limited to 'package/electron-bin')
-rw-r--r--package/electron-bin/Makefile44
-rwxr-xr-xpackage/electron-bin/files/electron-bin.init27
-rw-r--r--package/electron-bin/files/electron-bin.postinst6
-rw-r--r--package/electron-bin/files/xinitrc1
4 files changed, 0 insertions, 78 deletions
diff --git a/package/electron-bin/Makefile b/package/electron-bin/Makefile
deleted file mode 100644
index 386d6cbd3..000000000
--- a/package/electron-bin/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-# This file is part of the OpenADK project. OpenADK is copyrighted
-# material, please see the LICENCE file in the top-level directory.
-
-include $(ADK_TOPDIR)/rules.mk
-
-PKG_NAME:= electron-bin
-PKG_VERSION:= 1.3.5
-PKG_RELEASE:= 1
-PKG_HASH:= a1b17b04de4ab4d7bdc92500abfaca7d1d53c496c2175fd685e2b84b24fbfeff
-PKG_DESCR:= build cross platform desktop apps
-PKG_SECTION:= x11/apps
-PKG_DEPENDS:= alsa-lib nss nspr expat pango cairo cups libxcursor
-PKG_DEPENDS+= libdbus libatk glib libxtst libgtk2 gdk-pixbuf libxcomposite
-PKG_DEPENDS+= libxscrnsaver gconf harfbuzz libpng xinit
-PKG_URL:= http://electron.atom.io
-PKG_SITES:= https://github.com/electron/electron/releases/download/v$(PKG_VERSION)/
-
-PKG_ARCH_DEPENDS:= x86_64
-
-EXTRACT_OVERRIDE= 1
-DISTFILES:= electron-v$(PKG_VERSION)-linux-x64.zip
-WRKDIST= ${WRKDIR}/electron
-
-include $(ADK_TOPDIR)/mk/package.mk
-
-$(eval $(call PKG_template,ELECTRON_BIN,electron-bin,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
-
-CONFIG_STYLE:= manual
-BUILD_STYLE:= manual
-INSTALL_STYLE:= manual
-
-do-extract:
- mkdir -p ${WRKDIST}
- (cd ${WRKDIST}; cat $(ADK_TOPDIR)/dl/electron-v$(PKG_VERSION)-linux-x64.zip \
- | PATH="$(HOST_PATH)" cpio -id -H zip)
-
-electron-bin-install:
- $(INSTALL_DIR) $(IDIR_ELECTRON_BIN)/opt/electron
- $(CP) $(WRKDIST)/* $(IDIR_ELECTRON_BIN)/opt/electron
- chmod 755 $(IDIR_ELECTRON_BIN)/opt/electron/electron
- $(INSTALL_DIR) $(IDIR_ELECTRON_BIN)/etc
- $(CP) ./files/xinitrc $(IDIR_ELECTRON_BIN)/etc
-
-include $(ADK_TOPDIR)/mk/pkg-bottom.mk
diff --git a/package/electron-bin/files/electron-bin.init b/package/electron-bin/files/electron-bin.init
deleted file mode 100755
index 0191a2f3e..000000000
--- a/package/electron-bin/files/electron-bin.init
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-#PKG electron-bin
-#INIT 98
-. /etc/rc.conf
-
-case $1 in
-autostop) ;;
-autostart)
- test x"${electron_bin:-NO}" = x"NO" && exit 0
- test x"$electron_bin" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start
- exec sh $0 start
- ;;
-start)
- startx -- -nocursor
- ;;
-stop)
- ;;
-restart)
- sh $0 stop
- sh $0 start
- ;;
-*)
- echo "Usage: $0 {start | stop | restart}"
- exit 1
- ;;
-esac
-exit $?
diff --git a/package/electron-bin/files/electron-bin.postinst b/package/electron-bin/files/electron-bin.postinst
deleted file mode 100644
index 37857f7b2..000000000
--- a/package/electron-bin/files/electron-bin.postinst
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-. $IPKG_INSTROOT/etc/functions.sh
-add_rcconf electron_bin NO
-gid=$(get_next_gid)
-add_group electron $gid
-add_user electron $(get_next_uid) $gid /opt/electron /bin/sh
diff --git a/package/electron-bin/files/xinitrc b/package/electron-bin/files/xinitrc
deleted file mode 100644
index c890e982e..000000000
--- a/package/electron-bin/files/xinitrc
+++ /dev/null
@@ -1 +0,0 @@
-exec /opt/electron/electron /opt/electron/electron-wbt