From 3999ee4d0abf3a584c92cb76bbf0413975eb983d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Sun, 22 Jan 2023 23:35:33 +0100 Subject: portage --- etc/portage/make.conf | 71 ++++++++++++++++++++++ etc/portage/package.mask/conf | 1 + .../patches/games-action/polymc/crack.patch | 19 ++++++ 3 files changed, 91 insertions(+) create mode 100644 etc/portage/make.conf create mode 100644 etc/portage/package.mask/conf create mode 100644 etc/portage/patches/games-action/polymc/crack.patch (limited to 'etc') diff --git a/etc/portage/make.conf b/etc/portage/make.conf new file mode 100644 index 0000000..a5ed085 --- /dev/null +++ b/etc/portage/make.conf @@ -0,0 +1,71 @@ +PORTAGE_NICENESS=19 + +# -march=native NE SME BITI NA distcc iz očitnih razlogov +# uporabi resolve-march-native +COMMON_FLAGS="-ggdb3 -O2 -pipe `resolve-march-native`" +# -pipe rabi RAM +CFLAGS="${COMMON_FLAGS} -DALLOW_RUN_AS_ROOT" # VLC +CXXFLAGS="${COMMON_FLAGS} -DOLAD_SKIP_ROOT_CHECK" +FCFLAGS="${COMMON_FLAGS}" +FFLAGS="${COMMON_FLAGS}" + +# NOTE: This stage was built with the bindist Use flag enabled +PORTDIR="/var/db/repos/gentoo" +DISTDIR="/var/cache/distfiles" +PKGDIR="/var/cache/binpkgs" + +# This sets the language of build output to English. +# Please keep this setting intact when reporting bugs. +LC_MESSAGES=C +MAKEOPTS="-j`nproc` -l`nproc`" + +GENTOO_MIRRORS="http://ftp.fi.muni.cz/pub/linux/gentoo/ http://packages.hs-regensburg.de/gentoo-distfiles/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp.tu-ilmenau.de/mirror/gentoo/ http://ftp.fau.de/gentoo http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo" +# mirrorselect -i -o >> /etc/portage/make.conf + +USE="vim-syntax ffmpeg pulseaudio native-headset dbus acpi mtp fuse system-bootstrap" +USE="$USE adblock websockets" # qutebrowser +USE="$USE vnc rdp ssh" # remmina +USE="$USE extra graphics science publishers music" # texlive +USE="$USE hid" # mixxx +USE="$USE ipv6" # net-ftp/ftp +USE="$USE calendar math latex -spell" # app-office/abiwold, spell ima conflict +USE="$USE curl exif fpm ftp gd gmp imap inifile intl mysqli pdo sockets sodium sqlite threads tidy webp xmlreader xmlwriter zip" # dev-lang/php +# USE="$USE system-libvpx system-openjpeg -proprietary-codecs -official" # ungoogled-chromium +USE="$USE server" # libssh +USE="$USE gtk2 -official-branding" # palemoon +USE="$USE xface" # claws-mail +USE="$USE gsl" # app-office/calligra +USE="$USE omemo" # gajim +USE="$USE idn" # whois +USE="$USE amr opus" # sox +USE="$USE mtp" # za slike iz telefonov +USE="$USE graphite" # darktable ga rabi. to applya na gcc +USE="$USE dos" # wine +USE="$USE internal" # flashrom +USE="$USE -bundled-qt" # zoom +USE="$USE slattach" # net-tools +USE="$USE ftdi http osc examples python" # ola +USE="$USE xinerama" # za x11vnc -clip +USE="$USE heif" # za imagemagick .heic +USE="$USE webchannel" # za pyside za falkon +USE="$USE tesseract" # za opencv +USE="$USE fontconfig" # za gd za graphviz +USE="$USE system-png" # za torbrowser +USE="$USE bluetooth" + +CALLIGRA_FEATURES="stage words sheets" +PALEMOON_ENABLE_UNSUPPORTED_COMPILERS=1 # uradno gcc 11 ni podprt + +ACCEPT_LICENSE="-* @BINARY-REDISTRIBUTABLE" +# default je @FREE + +# L10N="sl" + +# repozitorij +PORTAGE_GPG_KEY="F4C3E3A4DFB7254397A9F993E76135F49802CD14" +SIGNED_OFF_BY="Anton Luka Šijanec " + +L10N="sl en de hr si" + +# ne poženi strip(1) +FEATURES="nostrip" diff --git a/etc/portage/package.mask/conf b/etc/portage/package.mask/conf new file mode 100644 index 0000000..250eb00 --- /dev/null +++ b/etc/portage/package.mask/conf @@ -0,0 +1 @@ +*/*-bin diff --git a/etc/portage/patches/games-action/polymc/crack.patch b/etc/portage/patches/games-action/polymc/crack.patch new file mode 100644 index 0000000..798099f --- /dev/null +++ b/etc/portage/patches/games-action/polymc/crack.patch @@ -0,0 +1,19 @@ +diff --git a/launcher/minecraft/auth/AccountList.cpp b/launcher/minecraft/auth/AccountList.cpp +index 3422df7..acf5bc2 100644 +--- a/launcher/minecraft/auth/AccountList.cpp ++++ b/launcher/minecraft/auth/AccountList.cpp +@@ -650,13 +650,7 @@ void AccountList::setListFilePath(QString path, bool autosave) + + bool AccountList::anyAccountIsValid() + { +- for(auto account: m_accounts) +- { +- if(account->ownsMinecraft()) { +- return true; +- } +- } +- return false; ++ return true; + } + + void AccountList::fillQueue() { -- cgit v1.2.3