Skip to content

Instantly share code, notes, and snippets.

View ErnyTech's full-sized avatar
:octocat:
#movingtogithub

Ernesto Castellotti ErnyTech

:octocat:
#movingtogithub
  • Savona, Italy
  • 07:23 (UTC +02:00)
View GitHub Profile
cd /opt/mcpelauncher-git
./mcpelauncher "$@"
1-OPTIONAL) Compile and install Protobuf 3.5.0.1-1 (https://github.com/google/protobuf) or manual install Protobuf 3.5.0.1-1 from ArchLinux Testing Repo (https://www.archlinux.org/packages/testing/x86_64/protobuf/download/)
2) Enable ArchLinux Multilib repo (https://wiki.archlinux.org/index.php/multilib#Enabling)
3) Download PKGBUILD (wget https://gist.github.com/ErnyTech/c578cf21ff5249d52cbe1cad2c9f7c17/raw/3b118333866abc12df7220e6106771bd37b82dd3/PKGBUILD)
4) Install mcpelauncher-git from your aurhelper/makepkg
5) Execute mcpelauncher for start download minecraft from google play and start game
The 1 step needed because the package protobuf in Extra repo is outdated (NO NEEDED NOW!!!)
Fixed GooglePlay error
@ErnyTech
ErnyTech / PKGBUILD
Last active December 31, 2017 11:49
# Maintainer: ErnyTech <erny.castell[at]gmail[dot]com>
pkgname=mcpelauncher-git
pkgver=551e58d
pkgrel=1
pkgdesc="Launch MCPE on Linux!"
url="https://github.com/MCMrARM/mcpelauncher-linux"
arch=('x86_64')
license=('BSD 2-clause + Other')
depends=('lib32-glibc' 'lib32-gcc-libs' 'lib32-libstdc++5' 'lib32-gtk2' 'lib32-gtkglext' 'lib32-alsa-lib' 'lib32-alsa-plugins' 'lib32-nss' 'lib32-libxss' 'lib32-gconf' 'lib32-libxtst' 'lib32-libudev0' 'lib32-libprotobuf')
makedepends=('cmake' 'lib32-zlib' 'lib32-libx11' 'lib32-libzip' 'lib32-libpng' 'lib32-util-linux' 'lib32-curl' 'lib32-openssl' 'lib32-mesa' 'protobuf')
[Desktop Entry]
Version=1.0
Type=Application
Name=MCPE Launcher Linux
Exec=mcpelauncher %f
Icon=/opt/mcpelauncher-git/mcpelauncher-icon.png
Comment=Launch MCPE C++ on Linux!
Categories=Game;Games;
Terminal=false
StartupNotify=true
Sei un coglione
Sei un coglione
Sei un coglione
Sei un coglione
Sei un coglione
Sei un coglione
Sei un coglione
Sei un coglione
Sei un coglione
Sei un coglione
ihexarray=( $(find . -type f -name "*.ihex") )
for i in "${ihexarray[@]}"
do
out=$(echo $i | sed s/.ihex//)
xxd -r -p $i $out
perm=$(stat -c "%a" $i)
own=$(stat -c "%U:%G" $i)
chmod $perm $out
chown $own $out
mkdir ihex
# Maintainer: ErnyTech <erny.castell[at]gmail[dot]com>
pkgname=mcpelauncher-git
pkgver=551e58d
pkgrel=1
pkgdesc="Launch MCPE on Linux!"
url="https://github.com/MCMrARM/mcpelauncher-linux"
arch=('x86_64')
license=('BSD 2-clause + Other')
depends=('lib32-glibc' 'lib32-gcc-libs' 'lib32-libstdc++5' 'lib32-gtk2' 'lib32-gtkglext' 'lib32-alsa-lib' 'lib32-alsa-plugins' 'lib32-nss' 'lib32-libxss' 'lib32-gconf' 'lib32-libxtst' 'lib32-libudev0' 'lib32-libprotobuf')
makedepends=('cmake' 'lib32-zlib' 'lib32-libx11' 'lib32-libzip' 'lib32-libpng' 'lib32-util-linux' 'lib32-curl' 'lib32-openssl' 'lib32-mesa' 'protobuf')
#include <iostream>
#include <cmath>
using std::cout;
using std::cin;
using std::string;
string peso (double a, double b) // a peso; b altezza
{
double f;
--- modules/lua/demux.c 2017-12-21 10:51:16.000000000 +0100
+++ modules/lua/demux.c 2018-02-11 12:46:13.778609000 +0100
@@ -38,6 +38,15 @@
#include "vlc.h"
#include "libs.h"
+/*
+Backport for LUA 5.0.3
+*/
+
[Trigger]
Type = File
Operation = Install
Operation = Upgrade
Operation = Remove
Target = usr/lib/vlc/plugins/*
[Trigger]
Type = Package
Operation = Install