commit:     7126497a6579fd71beecd27c2f04a0415deebc28
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Wed Mar 25 10:49:18 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Wed Mar 25 13:07:49 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7126497a

games-action/technic-launcher: Minecraft launcher for modpacks on Technic

Mirroring is restricted by license

Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 games-action/technic-launcher/Manifest             |  2 +
 .../technic-launcher/files/technic-launcher        |  4 ++
 games-action/technic-launcher/metadata.xml         |  8 +++
 .../technic-launcher/technic-launcher-4.510.ebuild | 47 ++++++++++++++++
 licenses/technic                                   | 65 ++++++++++++++++++++++
 profiles/license_groups                            |  1 +
 6 files changed, 127 insertions(+)

diff --git a/games-action/technic-launcher/Manifest 
b/games-action/technic-launcher/Manifest
new file mode 100644
index 0000000..f5c1ac6
--- /dev/null
+++ b/games-action/technic-launcher/Manifest
@@ -0,0 +1,2 @@
+DIST technic-launcher-4.510.jar 5541495 BLAKE2B 
249b553abc7cffd0c823fa09801dc16cb0ae94b0a8179dcbc1cdb043d5fc3a459034c9c26de96e8fca171cacdced57b5059b4845db041091c30ebfe8df7a0aca
 SHA512 
5219ebf0faa41cc3d5c4444cd561f69dd6215eb1bc1d2c99c5b693b419c8085544902c7df960cc07ddedff7f14aa58f71a840cae07fae912f4a96761afc32466
+DIST technic-launcher.ico 15086 BLAKE2B 
4f5be0661bfbdca971cf022767618acef1e912b60c3f0574f383a8bd0281a6d66ca1b8b105412ec9579f3999514a471412fb16da66d937acfb4d3236b8f99663
 SHA512 
c109113a0e1be10bc013bfb79b742396a768fa683860a83d734e158b709e66b9e21067e1791ae5f7a854ccd21b1bf9adf6eeb27bc33d9da03f902dfe5d8be710

diff --git a/games-action/technic-launcher/files/technic-launcher 
b/games-action/technic-launcher/files/technic-launcher
new file mode 100644
index 0000000..5d98fac
--- /dev/null
+++ b/games-action/technic-launcher/files/technic-launcher
@@ -0,0 +1,4 @@
+#!/usr/bin/env bash
+
+java -jar /opt/technic-launcher/technic-launcher.jar
+ 

diff --git a/games-action/technic-launcher/metadata.xml 
b/games-action/technic-launcher/metadata.xml
new file mode 100644
index 0000000..1210e7e
--- /dev/null
+++ b/games-action/technic-launcher/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>andrewammerl...@riseup.net</email>
+               <name>Andrew Ammerlaan</name>
+       </maintainer>
+</pkgmetadata>

diff --git a/games-action/technic-launcher/technic-launcher-4.510.ebuild 
b/games-action/technic-launcher/technic-launcher-4.510.ebuild
new file mode 100644
index 0000000..1cf3fc7
--- /dev/null
+++ b/games-action/technic-launcher/technic-launcher-4.510.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop xdg
+
+DESCRIPTION="Minecraft launcher for community-made modpacks on the Technic 
Platform"
+HOMEPAGE="https://www.technicpack.net/";
+SRC_URI="http://launcher.technicpack.net/launcher${PV:0:1}/${PV:2}/TechnicLauncher.jar
 -> ${P}.jar
+       https://www.technicpack.net/favicon.ico -> ${PN}.ico"
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="technic"
+SLOT="0"
+
+RESTRICT="mirror"
+
+BDEPEND="media-gfx/imagemagick"
+
+RDEPEND="virtual/jre:1.8"
+
+S="${WORKDIR}"
+
+src_unpack() {
+       # do not unpack jar file
+       cp "${DISTDIR}/${PN}.ico" "${S}" || die
+}
+
+src_compile() {
+       convert ${PN}.ico ${PN}.png || die
+}
+
+src_install() {
+       dodir /opt/${PN}
+       insinto /opt/${PN}/
+       newins "${DISTDIR}/${P}.jar" ${PN}.jar
+
+       insinto /opt/bin/
+       doins "${FILESDIR}/${PN}"
+       fperms +x /opt/bin/${PN}
+
+       newicon -s 16x16 ${PN}-0.png ${PN}.png
+       newicon -s 32x32 ${PN}-1.png ${PN}.png
+       newicon -s 48x48 ${PN}-2.png ${PN}.png
+       make_desktop_entry ${PN} "Technic Launcher" ${PN} Game
+}

diff --git a/licenses/technic b/licenses/technic
new file mode 100644
index 0000000..022aa46
--- /dev/null
+++ b/licenses/technic
@@ -0,0 +1,65 @@
+Terms of Service
+1. Terms
+
+By accessing this web site, you are agreeing to be bound by these web site 
Terms and Conditions of Use, all applicable laws and regulations, and agree 
that you are responsible for compliance with any applicable local laws. If you 
do not agree with any of these terms, you are prohibited from using or 
accessing this site. The materials contained in this web site are protected by 
applicable copyright and trade mark law.
+2. Use License
+
+    Permission is granted to temporarily download one copy of the materials 
(information or software) on Technic's web site for personal, non-commercial 
transitory viewing only. This is the grant of a license, not a transfer of 
title, and under this license you may not:
+        modify or copy the materials;
+        use the materials for any commercial purpose, or for any public 
display (commercial or non-commercial);
+        remove any copyright or other proprietary notations from the 
materials; or
+        transfer the materials to another person or "mirror" the materials on 
any other server.
+    This license shall automatically terminate if you violate any of these 
restrictions and may be terminated by Technic at any time. Upon terminating 
your viewing of these materials or upon the termination of this license, you 
must destroy any downloaded materials in your possession whether in electronic 
or printed format.
+
+3. Disclaimer
+
+    The materials on Technic's web site are provided "as is". Technic makes no 
warranties, expressed or implied, and hereby disclaims and negates all other 
warranties, including without limitation, implied warranties or conditions of 
merchantability, fitness for a particular purpose, or non-infringement of 
intellectual property or other violation of rights. Further, Technic does not 
warrant or make any representations concerning the accuracy, likely results, or 
reliability of the use of the materials on its Internet web site or otherwise 
relating to such materials or on any sites linked to this site.
+
+4. Limitations
+
+In no event shall Technic or its suppliers be liable for any damages 
(including, without limitation, damages for loss of data or profit, or due to 
business interruption,) arising out of the use or inability to use the 
materials on Technic's Internet site, even if Technic or a Technic authorized 
representative has been notified orally or in writing of the possibility of 
such damage. Because some jurisdictions do not allow limitations on implied 
warranties, or limitations of liability for consequential or incidental 
damages, these limitations may not apply to you.
+5. Revisions and Errata
+
+The materials appearing on Technic's web site could include technical, 
typographical, or photographic errors. Technic does not warrant that any of the 
materials on its web site are accurate, complete, or current. Technic may make 
changes to the materials contained on its web site at any time without notice. 
Technic does not, however, make any commitment to update the materials.
+6. Links
+
+Technic has not reviewed all of the sites linked to its Internet web site and 
is not responsible for the contents of any such linked site. The inclusion of 
any link does not imply endorsement by Technic of the site. Use of any such 
linked web site is at the user's own risk.
+7. Site Terms of Use Modifications
+
+Technic may revise these terms of use for its web site at any time without 
notice. By using this web site you are agreeing to be bound by the then current 
version of these Terms and Conditions of Use.
+8. Governing Law
+
+Any claim relating to Technic's web site shall be governed by the laws of the 
State of Florida without regard to its conflict of law provisions.
+
+General Terms and Conditions applicable to Use of a Web Site.
+Modpack Terms
+General Rules
+
+    Inactive modpacks might be removed without notification.
+        This refers to any modpack that has not been updated and downloaded in 
a period of time. This period of time is up to the Platform staff.
+        Modpacks that have not been updated but are still working and being 
actively downloaded will not be removed.
+    Modpacks with broken URLs or Solder links may be temporarily locked or 
deleted to prevent users from having problems with the Platform or the Technic 
Launcher.
+    Modpacks abusing the system in any way (forcing rankings or ratings) will 
be immediately removed and the user banned from the Platform.
+    Modpacks are forbidden from using any adf.ly (or similar) links in their 
descriptions or anywhere on their modpack pages.
+    Technic reserves the right to remove any modpack without notification or 
without disclosing the reason as to why the modpack is being removed.
+
+Modpack Names & Descriptions
+
+    Modpack names and descriptions may not have any vulgar or offensive 
language. Breaking this term will result in a permanent ban from the Platform.
+    Modpack names that have any official Technic modpack names will be 
immediately removed. (ex. Technic/Tekkit/Hexxit/Attack of the B-Team/any others)
+    Modpacks submitted under the name of another already established modpack 
name will be removed.
+        This includes modpacks on and off the Platform.
+        It's fine to base your modpack on another, but do not use the other 
modpack's title in your own.
+        Modpacks breaking this term will be deleted without notification.
+
+Permissions
+
+    It is the modpack creator's responsbility to gather permissions from the 
modders.
+    Creating a modpack directly in spite of a modder's wishes in a way to 
solely create drama will not be tolerated.
+        This includes insulting modders or permissions in any way in your 
modpack title or descriptions.
+
+Modpack Statuses & Updates
+
+    As with titles and descriptions, using the status system in anyway deemed 
offensive or vulgar will result in your modpack being terminated without 
notification and a permanent ban from the Platform.
+
+Technic reserves the right to change these terms at any point without 
notification. You can always access these terms by visiting our Terms of 
Service page.

diff --git a/profiles/license_groups b/profiles/license_groups
index 040e2cc..76fb3d3 100644
--- a/profiles/license_groups
+++ b/profiles/license_groups
@@ -1,2 +1,3 @@
 DFSG @FREE lablgtk-examples meschach VOSTROM
 MISC-FREE noweb i3lock-color
+Non-free technic

Reply via email to