Merge updates from master

This commit is contained in:
Repository mirror & CI
2020-06-29 18:35:10 +00:00
26 changed files with 747 additions and 4 deletions

View File

@@ -2,3 +2,7 @@ DIST doublecmd-0.9.8.gtk2.i386.tar.xz 7355960 BLAKE2B 21f2e9c615f7a16ae27bdfbe34
DIST doublecmd-0.9.8.gtk2.x86_64.tar.xz 8608936 BLAKE2B 8a00fa619312e11c382c7ea0beea6ab3366672d5848ac1de3f6f29cac038a756ad8670e9369d4f8bb572f1c1fba3785ec73f48dd5226cfaf53e57ebab015c0e6 SHA512 bd82826b2658fb12f2fe1a28f7c3f1d9c429bc1c60d3e6773b159c4dc1ba1bb2fdd2e89b52e686ab90b2accf7aa6c8379cfcf4f9b6f21f6956f402d721211b03
DIST doublecmd-0.9.8.qt5.i386.tar.xz 7764336 BLAKE2B 298882bb2659625438e2975a92ae6de30f47afd6d9f3b5c7761b0ba1d26067e46c02204186ed111c56a1e8e954682310fe1be8c174ab60244ab7424d3b70ee8c SHA512 fd84028a3f3ef9cda94b70e9f396f42037915d56a9696ca0048beab12edf890576f092fca2601b0e3d3b02475c57edf828457c8278b9c9f821184083fed4f025
DIST doublecmd-0.9.8.qt5.x86_64.tar.xz 8611472 BLAKE2B 69de983fb90b15826082882840b74d8a25efeb1477090c5e2697f52439c3bf041f247b4b472b22c7ec662ea75c6f275cd060b90dffbfd9ab6088394ea33b91de SHA512 eb3678ac5037052f9602357a52e4b596f6c5e17fcc1783dc83a76dab0dd7fb6cb1928b21f1c343e4c8810e96e3ad3f243f3ae45b39c07dc708beb3f05c9aa245
DIST doublecmd-0.9.9.gtk2.i386.tar.xz 7494572 BLAKE2B 858723454efaa760f10f3675d383ebe41e77dfd4cdfb0d2d60342f8106051ef71a127f499c4b21127426818c3585156fcfea7a9f6c5974bf241d5bf8396bf396 SHA512 3ca14d2a0a515758f0b629a54f8d50a11ff27572ef6a004fb2a123b05236893e45fc4c60b7be837891455f4a6bf3a52eb4fa3e93a9d5254fa67d528df2d7b48b
DIST doublecmd-0.9.9.gtk2.x86_64.tar.xz 8760316 BLAKE2B 3fcd9bf5aa9918d0c7c96b431821b038c93d5736580621e282884f3121e01a3ca28cd9e085da3564914fb3e25270601dd765ba97f18d2c010421dc6de7c92058 SHA512 9733641ac3412eff3d90c8d063448fc8033f5ac262e051630fd1e6ea38a84b1202f2d6d16ebf05a896ad12ce1beb2cb5797989bbe9868c94e66f73f951d9eb16
DIST doublecmd-0.9.9.qt5.i386.tar.xz 7896720 BLAKE2B 42432a89d70cf19d4acd7ba9a466c25fa8042a77ddfcc7555165efc3aff32960ec88202893393e8448bc05fbf653647a109c2f797b67dab22e075ec09672df46 SHA512 e6e7627d11373b4cd4cad76dc66ee9746ae355c301d8721f9c0e5f368f98f7cae47db7bc7f91baa358493a9991d62e80686323d67f1f98bfd87b614e1069e1fe
DIST doublecmd-0.9.9.qt5.x86_64.tar.xz 8743552 BLAKE2B 7f29b706916293c44fee94b213062584f8151d4c38bf42c5a2c8659b2f5ea92d4d37fb03e56314d131457da759c397e300c5f95bae4e450513b86a408ec38008 SHA512 f33c61d580107df6cfb18db8e98540f79626a416452a670b721cadf3db05e64ab6110e0484fb625383bba5582c4306198e6fe872f5385fc129fbcc5ef23c0286

View File

@@ -0,0 +1,68 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop eutils xdg
MY_PN="doublecmd"
DESCRIPTION="Free cross platform open source file manager with two panels side by side."
HOMEPAGE="https://doublecmd.sourceforge.io/"
SRC_URI="amd64? (
gtk? ( mirror://sourceforge/${MY_PN}/${MY_PN}-${PV}.gtk2.x86_64.tar.xz )
qt5? ( mirror://sourceforge/${MY_PN}/${MY_PN}-${PV}.qt5.x86_64.tar.xz )
)
x86? (
gtk? ( mirror://sourceforge/${MY_PN}/${MY_PN}-${PV}.gtk2.i386.tar.xz )
qt5? ( mirror://sourceforge/${MY_PN}/${MY_PN}-${PV}.qt5.i386.tar.xz )
)"
# Licenses for package and plugins
LICENSE="GPL-2+ LGPL-2-with-linking-exception LGPL-2.1+ LGPL-3 GPL-1 freedist"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="gtk qt5"
REQUIRED_USE=" ^^ ( gtk qt5 ) "
S="${WORKDIR}/${MY_PN}"
QA_PREBUILT="
*/doublecmd
*/libQt5Pas.so.1
"
## "ldd doublecmd" output show linking to some libraries provided by sys-libs/glibc:2.2
## (maybe virtual/libc-1) and no libraries of sys-libs/ncurses (that removed here).
## x11-libs/X11 is optional dependency of dev-qt/qtgui:5 by [xcb] or [X]
## therefore it is mentioned here explicitly.
RDEPEND="
dev-libs/glib:2
sys-apps/dbus
x11-libs/libX11
virtual/libc
gtk? ( x11-libs/gtk+:2 )
qt5? (
dev-qt/qtgui:5
dev-qt/qtx11extras:5
)
"
src_prepare(){
default
## Create partial init config that allows to store config within user home directory
cp "${FILESDIR}/doublecmd.xml" "${S}/"
}
src_install(){
insinto "/opt/${PN}"
doins -r "${S}/."
exeinto "/opt/${PN}"
doexe "${S}/${MY_PN}"
make_wrapper ${MY_PN} "/opt/${PN}/${MY_PN}" "" "/opt/${PN}" "/opt/bin/"
doicon -s 48 ${MY_PN}.png
make_desktop_entry "${MY_PN}" "Double Commander" "${MY_PN}" "Utility;" || die "Failed making desktop entry!"
}

View File

@@ -0,0 +1 @@
DIST rstcheck-3.3.1.tar.gz 13825 BLAKE2B 94c1e8226b372b25907fb5e713716f46d972788f5d996a6c351fdf92728d1274e625564ec6417e0e3be7c7ec8d4ef07a193e8b80ca38085d28c1e9ee13e0ca36 SHA512 d390565c59466e1047fb41491eb5a2261fec91848806e04137bcc6053759fc87c8e4c72721d39b35c959b0baddaf90f2c8459213cec76b82be9b78bdd44076c5

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>samuelbernardo.mail@gmail.com</email>
<name>Samuel Bernardo</name>
</maintainer>
<upstream>
<remote-id type="pypi">rstcheck</remote-id>
<remote-id type="github">myint/rstcheck</remote-id>
<bugs-to>https://github.com/myint/rstcheck/issues</bugs-to>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,44 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( pypy3 python3_{6,7,8} )
inherit distutils-r1
DESCRIPTION="Checks syntax of reStructuredText and code blocks nested within it"
HOMEPAGE="https://github.com/myint/rstcheck"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
dev-python/docutils[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
>=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}]
test? (
${RDEPEND}
dev-python/path-py[${PYTHON_USEDEP}]
>=dev-python/pytest-3.4[${PYTHON_USEDEP}]
)
"
S="${WORKDIR}/${P}"
distutils_enable_sphinx docs ">=dev-python/jaraco-packaging-3.2"
python_test() {
# Ignore the module from ${S}, use the one from ${BUILD_DIR}
# Otherwise, ImportMismatchError may occur
# https://github.com/gentoo/gentoo/pull/1622#issuecomment-224482396
# Override pytest options to skip flake8
pytest -vv --ignore=rst --override-ini="addopts=--doctest-modules" \
|| die "tests failed with ${EPYTHON}"
}

View File

@@ -0,0 +1,48 @@
# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop java-pkg-2 xdg
MYPV="${PV/_pre/}"
MYP="${PN}-${MYPV}"
DESCRIPTION="Minecraft launcher which integrates multiple different ModPacks"
HOMEPAGE="https://atlauncher.com
https://github.com/ATLauncher/ATLauncher"
SRC_URI="https://github.com/ATLauncher/ATLauncher/releases/download/v${MYPV}/${MYP}.jar -> ${P}.jar
https://raw.githubusercontent.com/ATLauncher/ATLauncher/master/src/main/resources/assets/image/Icon.ico -> ${PN}.ico"
KEYWORDS="~amd64 ~x86"
LICENSE="GPL-3"
SLOT="0"
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() {
java-pkg_newjar "${DISTDIR}/${P}.jar" ${P}.jar
dobin "${FILESDIR}/${PN}"
newicon -s 256x256 ${PN}-0.png atlauncher.png
newicon -s 128x128 ${PN}-1.png atlauncher.png
newicon -s 64x64 ${PN}-2.png atlauncher.png
newicon -s 48x48 ${PN}-3.png atlauncher.png
newicon -s 32x32 ${PN}-4.png atlauncher.png
newicon -s 16x16 ${PN}-5.png atlauncher.png
make_desktop_entry ${PN} "ATLauncher" atlauncher Game
}

View File

@@ -1,2 +1,3 @@
DIST ATLauncher-3.3.5.2.jar 10796908 BLAKE2B 8060b8fc7a02792fc25cf056f453f8d9af820242ce8ad7b52f12abfff5073f2f894c6c46d2646d766e981c142c5518184d80aedb6ecdb04e5e725e32d6c14a2a SHA512 2a2fda31ae67e5831a9a957069bf65880c6ba297f2306c36da9ffe2fa402e25545cab0bca22e457e8bef189be3803ebc80e555a42cec9d54075363c977281ad6
DIST ATLauncher-3.3.6.0_pre.jar 11153785 BLAKE2B 23634896180133bd72f57178c180007dd9b6896434e3e86ab0548572928aa2e6c1ed8eeee00c374a42c9aa977d680974fcf78f1e3b812217fa03f6773aa29cc3 SHA512 b8bc795f3e137a5c459c0c592379fa0a9f01605d412eecc614104ee8d996510adbe326b154556fdd78a7cf5c4e89049bd311c5eaa2d47b4dbf240c7b7d433226
DIST ATLauncher.ico 370070 BLAKE2B 992e5df968054884c21f136b8f16f2b14e8d321b2196ebc07f7a59621223ca79b896f63b21dba864f61f238ca1864039a410d8089127714163092f65d0ca7f27 SHA512 353f6dd68475778cc8e97a773e800fe532df2f6d28d5babc751cfb5ed7ef24ef6246f76d26e3e25706e458741d604bb8fa8e79cb8904900284f0f7b0f9488bfb

View File

@@ -1,2 +1,2 @@
DIST technic-launcher-4.564.jar 5721624 BLAKE2B 7396bda603da74c2eef268fc0ed9a96bf18538329566fc9820791d7665b6b828e859df5d9b94f8a4e90cc2ae94e578d9259a953ef8f2e4574ca94fdbfbd11641 SHA512 2fbef17032a8f42f44157c37a37e0c3561d060e4f2f809223a551035a9ee436ca4ec1f8b03bec5e9c8a6b24812723c3aea0aed6dfc0de179e4901a2234c0e50c
DIST technic-launcher-4.566.jar 5722608 BLAKE2B 46d5583b12592540c3f3f135f0aad6d44de17bf734085f2e2cc34b50a40ed7fc69fdbd322428db63c5d4c05286a9d2a8fce88ba686ae1ab993df2dadc8e1e3d2 SHA512 4db64b1414e23933664cf0fe661d9d2b66babaf278eb19fb0c0b4c437fa402eb50a85c2f0ad450bf91507714de49dfb0737a6d8c42459e93061fb2f483a5c4bf
DIST technic-launcher.ico 15086 BLAKE2B 4f5be0661bfbdca971cf022767618acef1e912b60c3f0574f383a8bd0281a6d66ca1b8b105412ec9579f3999514a471412fb16da66d937acfb4d3236b8f99663 SHA512 c109113a0e1be10bc013bfb79b742396a768fa683860a83d734e158b709e66b9e21067e1791ae5f7a854ccd21b1bf9adf6eeb27bc33d9da03f902dfe5d8be710

2
gui-apps/wofi/Manifest Normal file
View File

@@ -0,0 +1,2 @@
DIST wofi-1.1.1.tar.gz 64769 BLAKE2B ee9b7959afd0d91164046211bf4122e4cb0a04ec2f448f2feb063a87c9b75c7e1be1a53f583432791293ff66ca4552192eda027ef454998cb739d9823db2f0d7 SHA512 3c0569c86789f2834879782bf11aed893e1a5334e613cd04676651af36009c61e0cdb5ce197b56c44f434088a9da35f6bbbe65a58a95afdf5a7f4ba637e018df
DIST wofi-1.1.2.tar.gz 64808 BLAKE2B a48fb574a185e1fb93504dc9cd7ab7177871b992918a506507934e9c60c049eb76aed3e7884ca42e63b8fbc7246b27d79ab0882502527d9c22f0b7eb168fe3db SHA512 5edef74d6c6fe64b1024e67a5cfba1820ccc3f09815130bf82c7c726b6c64d9bdd94341096f202ffe6427c910ac632cedc00a7a36c356d45adafa560ec2bbcfe

View File

@@ -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">
<name>Matthias Coppens</name>
<email>coppens.matthias.abc@gmail.com</email>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1,22 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EHG_REPO_URI="https://hg.sr.ht/~scoopta/${PN}"
case "${PV}" in
"9999")
inherit mercurial
;;
*)
SRC_URI="${EHG_REPO_URI}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-v${PV}"
esac
inherit meson
DESCRIPTION="Wofi is a launcher/menu program for wlroots based wayland compositors like sway"
HOMEPAGE="${EHG_REPO_URI}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"

View File

@@ -0,0 +1,22 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EHG_REPO_URI="https://hg.sr.ht/~scoopta/${PN}"
case "${PV}" in
"9999")
inherit mercurial
;;
*)
SRC_URI="${EHG_REPO_URI}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-v${PV}"
esac
inherit meson
DESCRIPTION="Wofi is a launcher/menu program for wlroots based wayland compositors like sway"
HOMEPAGE="${EHG_REPO_URI}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"

View File

@@ -0,0 +1,22 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EHG_REPO_URI="https://hg.sr.ht/~scoopta/${PN}"
case "${PV}" in
"9999")
inherit mercurial
;;
*)
SRC_URI="${EHG_REPO_URI}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-v${PV}"
esac
inherit meson
DESCRIPTION="Wofi is a launcher/menu program for wlroots based wayland compositors like sway"
HOMEPAGE="${EHG_REPO_URI}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""

258
licenses/excavator-EULA Normal file
View File

@@ -0,0 +1,258 @@
End-User License Agreement ("Agreement")
========================================
Last updated: May 10, 2017
Please read this End-User License Agreement ("Agreement") carefully before
clicking the "I Agree" button, downloading or using NiceHash Excavator
("Application").
By clicking the "I Agree" button, downloading or using the Application, you
are agreeing to be bound by the terms and conditions of this Agreement.
This Agreement is a legal agreement between you (either an individual or a
single entity) and NiceHash and it governs your use of the Application made
available to you by NiceHash.
If you do not agree to the terms of this Agreement, do not click on the "I
Agree" button and do not download or use the Application.
The Application is licensed, not sold, to you by NiceHash for use strictly in
accordance with the terms of this Agreement.
License
-------
NiceHash grants you a revocable, non-exclusive, non-transferable, limited
license to download, install and use the Application solely for your personal,
non-commercial purposes strictly in accordance with the terms of this
Agreement.
Restrictions
------------
You agree not to, and you will not permit others to:
* license, sell, rent, lease, assign, distribute, transmit, host, outsource,
disclose or otherwise commercially exploit the Application or make the
Application available to any third party.
* copy or use the Application for any purpose other than as permitted under
the above section 'License'.
* modify, make derivative works of, disassemble, decrypt, reverse compile or
reverse engineer any part of the Application.
* remove, alter or obscure any proprietary notice (including any notice of
copyright or trademark) of NiceHash or its affiliates, partners, suppliers
or the licensors of the Application.
Intellectual Property
---------------------
The Application, including without limitation all copyrights, patents,
trademarks, trade secrets and other intellectual property rights are, and
shall remain, the sole and exclusive property of NiceHash.
Your Suggestions
----------------
Any feedback, comments, ideas, improvements or suggestions (collectively,
"Suggestions") provided by you to NiceHash with respect to the Application
shall remain the sole and exclusive property of NiceHash.
NiceHash shall be free to use, copy, modify, publish, or redistribute the
Suggestions for any purpose and in any way without any credit or any
compensation to you.
Modifications to Application
----------------------------
NiceHash reserves the right to modify, suspend or discontinue, temporarily or
permanently, the Application or any service to which it connects, with or
without notice and without liability to you.
Updates to Application
----------------------
NiceHash may from time to time provide enhancements or improvements to the
features/functionality of the Application, which may include patches, bug
fixes, updates, upgrades and other modifications ("Updates").
Updates may modify or delete certain features and/or functionalities of the
Application. You agree that NiceHash has no obligation to (i) provide any
Updates, or (ii) continue to provide or enable any particular features and/or
functionalities of the Application to you.
You further agree that all Updates will be (i) deemed to constitute an
integral part of the Application, and (ii) subject to the terms and conditions
of this Agreement.
Third-Party Services
--------------------
The Application may display, include or make available third-party content
(including data, information, applications and other products services) or
provide links to third-party websites or services ("Third-Party Services").
You acknowledge and agree that NiceHash shall not be responsible for any
Third-Party Services, including their accuracy, completeness, timeliness,
validity, copyright compliance, legality, decency, quality or any other aspect
thereof. NiceHash does not assume and shall not have any liability or
responsibility to you or any other person or entity for any Third-Party
Services.
Third-Party Services and links thereto are provided solely as a convenience to
you and you access and use them entirely at your own risk and subject to such
third parties' terms and conditions.
Privacy Policy
--------------
NiceHash collects, stores, maintains, and shares information about you in
accordance with its Privacy Policy, which is available at
https://www.nicehash.com/?p=privacy. By accepting this Agreement, you
acknowledge that you hereby agree and consent to the terms and conditions of
our Privacy Policy.
Term and Termination
--------------------
This Agreement shall remain in effect until terminated by you or NiceHash.
NiceHash may, in its sole discretion, at any time and for any or no reason,
suspend or terminate this Agreement with or without prior notice.
This Agreement will terminate immediately, without prior notice from NiceHash,
in the event that you fail to comply with any provision of this Agreement. You
may also terminate this Agreement by deleting the Application and all copies
thereof from your mobile device or from your computer.
Upon termination of this Agreement, you shall cease all use of the Application
and delete all copies of the Application from your mobile device or from your
computer.
Termination of this Agreement will not limit any of NiceHash's rights or
remedies at law or in equity in case of breach by you (during the term of this
Agreement) of any of your obligations under the present Agreement.
Indemnification
---------------
You agree to indemnify and hold NiceHash and its parents, subsidiaries,
affiliates, officers, employees, agents, partners and licensors (if any)
harmless from any claim or demand, including reasonable attorneys' fees, due
to or arising out of your: (a) use of the Application; (b) violation of this
Agreement or any law or regulation; or (c) violation of any right of a third
party.
No Warranties
-------------
The Application is provided to you "AS IS" and "AS AVAILABLE" and with all
faults and defects without warranty of any kind. To the maximum extent
permitted under applicable law, NiceHash, on its own behalf and on behalf of
its affiliates and its and their respective licensors and service providers,
expressly disclaims all warranties, whether express, implied, statutory or
otherwise, with respect to the Application, including all implied warranties
of merchantability, fitness for a particular purpose, title and non-
infringement, and warranties that may arise out of course of dealing, course
of performance, usage or trade practice. Without limitation to the foregoing,
NiceHash provides no warranty or undertaking, and makes no representation of
any kind that the Application will meet your requirements, achieve any
intended results, be compatible or work with any other software, applications,
systems or services, operate without interruption, meet any performance or
reliability standards or be error free or that any errors or defects can or
will be corrected.
Without limiting the foregoing, neither NiceHash nor any NiceHash's provider
makes any representation or warranty of any kind, express or implied: (i) as
to the operation or availability of the Application, or the information,
content, and materials or products included thereon; (ii) that the Application
will be uninterrupted or error-free; (iii) as to the accuracy, reliability, or
currency of any information or content provided through the Application; or
(iv) that the Application, its servers, the content, or e-mails sent from or
on behalf of NiceHash are free of viruses, scripts, trojan horses, worms,
malware, timebombs or other harmful components.
Some jurisdictions do not allow the exclusion of or limitations on implied
warranties or the limitations on the applicable statutory rights of a
consumer, so some or all of the above exclusions and limitations may not apply
to you.
Limitation of Liability
-----------------------
Notwithstanding any damages that you might incur, the entire liability of
NiceHash and any of its suppliers under any provision of this Agreement and
your exclusive remedy for all of the foregoing shall be limited to the amount
actually paid by you for the Application.
To the maximum extent permitted by applicable law, in no event shall NiceHash
or its suppliers be liable for any special, incidental, indirect, or
consequential damages whatsoever (including, but not limited to, damages for
loss of profits, for loss of data or other information, for business
interruption, for personal injury, for loss of privacy arising out of or in
any way related to the use of or inability to use the Application, third-party
software and/or third-party hardware used with the Application, or otherwise
in connection with any provision of this Agreement), even if NiceHash or any
supplier has been advised of the possibility of such damages and even if the
remedy fails of its essential purpose.
Some states/jurisdictions do not allow the exclusion or limitation of
incidental or consequential damages, so the above limitation or exclusion may
not apply to you.
Severability
------------
If any provision of this Agreement is held to be unenforceable or invalid,
such provision will be changed and interpreted to accomplish the objectives of
such provision to the greatest extent possible under applicable law and the
remaining provisions will continue in full force and effect.
Waiver
------
Except as provided herein, the failure to exercise a right or to require
performance of an obligation under this Agreement shall not effect a party's
ability to exercise such right or require such performance at any time
thereafter nor shall be the waiver of a breach constitute waiver of any
subsequent breach.
Amendments to this Agreement
----------------------------
NiceHash reserves the right, at its sole discretion, to modify or replace this
Agreement at any time. If a revision is material we will provide at least 15
days' notice prior to any new terms taking effect. What constitutes a material
change will be determined at our sole discretion.
By continuing to access or use our Application after any revisions become
effective, you agree to be bound by the revised terms. If you do not agree to
the new terms, you are no longer authorized to use the Application.
Governing Law
-------------
The laws of Slovenia, excluding its conflicts of law rules, shall govern this
Agreement and your use of the Application. Your use of the Application may
also be subject to other local, state, national, or international laws.
Contact Information
-------------------
If you have any questions about this Agreement, please contact us as
info@nicehash.com
Entire Agreement
----------------
The Agreement constitutes the entire agreement between you and NiceHash
regarding your use of the Application and supersedes all prior and
contemporaneous written or oral agreements between you and NiceHash.
You may be subject to additional terms and conditions that apply when you use
or purchase other NiceHash's services, which NiceHash will provide to you at
the time of such use or purchase.

View File

@@ -2,11 +2,13 @@ DIST AMDVLK-v-2020.Q2.1.tar.gz 30353 BLAKE2B f324ee4d5e4b57d8ca71f8dded5902ebad4
DIST AMDVLK-v-2020.Q2.2.tar.gz 30279 BLAKE2B ee6f8613d85258af31c15fc6cbe7564d04fe5a8645827312bb84b803adab29a50c8074e609c11cda74786af623dd13a17c74202c47812781e2fd7149d12eb9e6 SHA512 1fdbd3b83493e0303acac4987c3770e0fec2912c13eb404895471456e3d74e7a600d63a1c191d979299d869051bdb11a643b70d2a8acaa9af24cb766093c295f
DIST AMDVLK-v-2020.Q2.3.tar.gz 30324 BLAKE2B 1060a9d7d62fb066ed79d9cbf47c83999d79b3e386ebe0a5ebf55ffa2e028d8c238f61438313d60de3f1cc69138d3236ae025362c0080b6c906a2765ad0807a4 SHA512 be6e3a12ad6f2cea531ad16f918d4688c96ea10b6b118faddfe3e3be7b58daa39226a42c88be266ff24949e724c5ffd1b7cec3b40d4566bfa7b0165b575cfb47
DIST AMDVLK-v-2020.Q2.4.tar.gz 30423 BLAKE2B ac22e46cc94e818f9072d940174f2d51acc08db004df445adfa0be609bdfd21781517d3bb5628e7c76ae75e2abecb1610c6973c3798c7c454da97a880f6c0b4f SHA512 dd57bfbeb23744b730342720054a96f486a10e17cf41472cdd9c0d4ee9a0d2bdcb8b7e16e5a5f725b55d174827d2568826db31527793304aa22760d060e4e92e
DIST AMDVLK-v-2020.Q2.5.tar.gz 30424 BLAKE2B 73072b20fffd25120a3680424cbd6b368bd3464c51cc5b66a889b5b8896447e26f8d725e9692772cc8ac10d8a6df1032e7511a8a153a5db823ff1a843aecfc15 SHA512 0923875749c373fc4914bf214acf8fc7eb04894b1ef442fdc7b21b7dcfa2374f2b669b0287df40f7e05ba4c49c2ebefc3617118953805ab6c1d68acb0b627c4d
DIST CWPack-7387247eb9889ddcabbc1053b9c2052e253b088e.tar.gz 24538 BLAKE2B 76c4da32ea06df355f7e8f77a14c185b2ccab2ce2762988f04a04d65b674e089d4fc27206e744f89b4bd84c9d7226d324414a31941303290e7f574e9d64756cf SHA512 38378ef325e42a7356511c2fc06b6c896581968079e85c4b924a1768d895feecaf1eb8fd65afb59bed0f66e0547104d67c2deb9f82a86f4b9fa65b36e57cd47d
DIST CWPack-b601c88aeca7a7b08becb3d32709de383c8ee428.tar.gz 24538 BLAKE2B b30ddc4cf6e307864c77308faeb5a41a8ed9e708b668dac25989cfbe528422d70ffc17b54109c52abdf5da5c426a3d143cd19b4a3577459d5cce72a85e71284d SHA512 cc544f361ced841525041d6d31678698946362338cbd49ccfda6836f2dcfa4ce495d09b7ce191699364fd5101c671a6734aa4fb3ce447b9e8f1e75f7ea13c766
DIST MetroHash-2b6fee002db6cc92345b02aeee963ebaaf4c0e2f.tar.gz 11762 BLAKE2B 4210468564233b0d49572bef5046479123e7597fa69d5a62d8e2b39b3898e89ae044ea2e58cce21f5034fd06c6178b9dbbee25d8f5ad5f3da18ac762b54400cb SHA512 565f98cb44af81c43096eabeaba269ea9cdc3ecfb06868fedf663a0d6f88f3c49251192de43cb30a5172b2ac60580f58fc2bacbd4cbefbc42283efccdfa8a87f
DIST MetroHash-712f76fee75d69b23a1ea8f6465752c3ccaaf9a2.tar.gz 11754 BLAKE2B c08cc66b169e818d31b563ce25d903e81d029e8f869d6fd6bf44f21e36374721c991000d11d30f917fa829f51561ff51f09be88571803ff2395f371fd256bc77 SHA512 7a8dd0a91b95bcbc738d9d15d19fd25e4f7eeb5aee8bfb93ff185ed29ba0bdd29ffbe6629ebd4c3d0e48ecacdbe6dd26adee630f4cbf3c02d6829c64d7f461c9
DIST llpc-3864fc733e437a6e6ae729c6858b92b39194eada.tar.gz 1889074 BLAKE2B 5a92b85e1f5cb8c6d38a5494fe0b0ed9506e08595b4bd60ce660c654f8efe4411f9239c8413ba32138fb9b81093674c0afb97b88c3a8051d4a3ea49d2daa6f84 SHA512 6def126e9c73cf19a62810b0bb8b095bd1b6e8a89d606e24f8d70bd9dca92834c72fc6795612194b46aea73ffb0ab851e6cdcbf9e0343a4dff1adebecd6d4f12
DIST llpc-48fff0a75bb413b55a5e89647cdb37e109aa9eb8.tar.gz 1943993 BLAKE2B 8fffccf7bd109d397788a48e9636f3a5c69da39cd35d98bcf651bc43051535252a1ea34192c4fa458ab9b86223146289676b8d28b122b8674746c721145c1786 SHA512 744f54b3cb7b9be1f7bb6dbb256433d3a289000c19d9e2c2ec276cfcd54183180bbd53212dd977e3e22c95c9a2269eb50008d49a9b47c9f2e20546dd7924b938
DIST llpc-61b5d58e8891dc37e473064d429f0496d5254e52.tar.gz 1897849 BLAKE2B 86cea7f1503468a1598d05d2514c47e98f6841c5b189e73b3483a185af18fc32a0ec2b3f907764e62c0f196198f19349ac6e15154a540d97908ce9be6feeff48 SHA512 06b3afe61cab46687a6344331a60d76676679b47f24d6719bdf516b06253c0336ce0effbddb2f67292ca14adefb3aa5a831b70a418a7e0f538691552f5f7b82b
DIST llpc-9889f54c9a31743b48f3dafcb8ca0c106ed15da4.tar.gz 1882348 BLAKE2B 1e05d12dd3890604adc5d7dab6ed0645c977985157f86984e8dfa23fd65bdd42dc0df4b8154a6e153849ed14eed279bd08258e058449c1ee178c173d97bf7608 SHA512 c1cbe0a005a2e4b5b35baed51f1531e12456ac18c110d4c7f8fbe4e3dbc51920cdf1ec262b81d42c4c7af28523fc051ca5fb12ffd084bf483bb7bd9b4d06ce83
DIST llpc-9b4d0a4c3e146ea898d4bb3e86fb4170f75c3daa.tar.gz 1905709 BLAKE2B 4333d25ef6e6ad24cadc38024c5639edc21b3d5e59953b8754dcf4766782eefe2fbf93d3c05294294b68c87458d073e2076931b482376f93867ffa756a39730e SHA512 e7200dac8ce8e87ee022ca94e57bded00ef8e9860d937e1b9eee4b46c123bd72c45a232aca563b3bbb556a6f0ddbb03b98d71789f88fec32766b8af01493600a
@@ -14,14 +16,18 @@ DIST llvm-project-50077fcc15e5844dacd820dcdb02edb23fc00330.tar.gz 116114571 BLAK
DIST llvm-project-53692d985a53a336e07907c2d4b86bf2deb66908.tar.gz 118308755 BLAKE2B 23ce6c4d5fc521272d943377c421c18dcec5593588c95548514764d6ca4fc75a661811560fe92e7c7f6ca50903052179a89879aca4705c2dd25644f44c462eb3 SHA512 d014b9f380251c6df94f17d3d8313035c7d4541e86b41c384dcbc44afeb6fed45cf452e1798602510732687a033bb06d1b34fa0507e8c086aaccce54c26bf865
DIST llvm-project-a1299ba9c8e2337f00bdec73e2031144d9811ed7.tar.gz 118371040 BLAKE2B 04166ff744ff4b61b9420abe9161f417856b8ae680f1021a94f42f6ef97c4d43a91655c2fec1201d2e323e35da2faa7125a9e9710e2705919477f09206c89e62 SHA512 a4f6df3522805ce56fb852ce067e3b6b36e0a3816629981b076710e7db8a6194a3ee023c0f79ecb2070236874f3c2d67cdafc96d888e1e66684333b51a541d52
DIST llvm-project-c57487b76215ee74b1038039f47b210a28cad65e.tar.gz 118301225 BLAKE2B 8f3b53d8eda602ad3c4b444166cddc6d90fdf95b781cb9c52e57a01b41d03c82bf3d6a944488a87a948e097bb12bd18c2f6fd46fa21402713e7a2b76744a5620 SHA512 3b4706041919bae446f0b5362f7133e04f2d9a16518dc6c3e2dd0e33b7d1f640f85cf825d4c1ec0e9c5618a384be521ac8da876978fe1ea1ad9b09d81c1a7a32
DIST llvm-project-da64bde85194f895002dbca05ec66e016f1a5a5d.tar.gz 119674337 BLAKE2B 5aa9c62868b80ed24f5b1b3f9061b46e52df5ee66a2f484319aac9f01bb6d613b1471286eac67b31170b42848e17a89401237ec67b09c9f562e5a4a36b103070 SHA512 678c7eb39a95ea01343092c4fa0bd39a3f0868af857dee3a8fae168e4545ddf2bfbd80107b13664eed819bf94702293c6158127c4b3a2c1835282b68b50e74ee
DIST pal-13b6271de2f72f62adf098e681c5000f47db2a6c.tar.gz 7440115 BLAKE2B 326d24b2b5739697cbd84f6eb9076aff10d668f8ce4985ef03428b3b6e0cb07ff52480287928b7d43acb5a757f0ec1a75a88ab6d21b108e5223eadf32c00adec SHA512 4b170696379da94101fa5c6813c705d2f5dea3f613cda54e70e84762296090201b419570e0e6e3b8cc62d81f519e21f76c2daafcf9c523aeaed7651c2476cc27
DIST pal-8b2381a1d05cd2c9c4e7cc2eeda053e76d8c9a4a.tar.gz 7405161 BLAKE2B 530ac292eb7eff44a039ea4f0ea6a8a18318f31acede526884ea8ebd2bdcf3beac096904ce395079493b94e010e01843b3cd476b894aae0021e9dc9973fc01c4 SHA512 81fb7a59e692f50c3b3ebb26102064659625d2ee93f3c1e50e42036b3f85ab9cb6085ea64c82cb6df98dbba5f30e2c63d7932878e7371de2389987358ec1a5bd
DIST pal-a83f67db9f0d2f16bbc698aeefa9c5e9476c993a.tar.gz 7415912 BLAKE2B 586513239be7d50b3c8a6111cb761dde3f67271e02a69aff0973fa7df3767438977b94ce74f015e1c607389692243a78c9c879b1a04f9016a7d23ce58fb61ea6 SHA512 00a3828a47d3dad542265b535ca3bd915339ab23d167a6ace330e6faaba716f8be7393ae680b1094c629858143937128561641d1c3ef1febac7932e3bff8a138
DIST pal-b687ca1828258076ac79f08738f6fce3fa688d4a.tar.gz 7507511 BLAKE2B 47be922a527152a393e1bf6097faa83b13fe2dbd113f82e8d80bdd843d0379e1b549da5e488fb00c3f98ba86bb34e9bdf11e9dbc78ee389f93b839b71b40571c SHA512 8042af4aae9bb64c486bb74cee95c015b1d17b81aa304545b7fd4ba1c26878890f64ec88ea344fbf915932a07b8be32b4a85a36cf6ab9dacad5ade9c9d67b691
DIST pal-e1b2dde021a2efd34da6593994f87317a803b065.tar.gz 7408718 BLAKE2B 87bc402f34ef671c9736dcc22e4989eee9934caa98b6c5a619eea19219bc9f62decf2c39cf5272306a169a9d1182a7346c3f637f3bbc291321079f79769984de SHA512 c3aea11091ce22ee4e9b0dce0eea43ce9e9b3c2462293ebe820b83c728db229275ceaeef0d6f0cec53eeb66f50256d966c90b600f4b2fadb62c8fd2d1e6677dd
DIST spvgen-0179fdb99e3d4b51e50d1a4c6ef65f065b0df967.tar.gz 17770 BLAKE2B 97b0425af86dfb5be5c7863cd059dd0530a05ecb99d3a21a378ce383f3969a14ac0a86e18d2b56b37b8b9efc76b7469b581509c6085826ef24ba54eeb1deaf6d SHA512 b85c00c8f2672b9ed23113ecf0b13539ec7b98163801627fa333e4662e1d0d35fc839e53f319d597286682447788444a1f520063a18b8d3d197f172fe1bdd6be
DIST spvgen-2f679769a8491f423f5cf2f06adfa2870a82935d.tar.gz 17809 BLAKE2B c32014f2464a92863f4eba15bcf378edc6b813bacb991713fe62e04fece6c9569bd3695d36e2a338fb6202fa49b7e15fc0fdec42d78cb990c5263828f938f60f SHA512 7cfb10420ca4b23a874aaa02637dc64a65061ed98faa35492be0abb0de755628662c1afedb814aaf53e9aa6f60cf26092839e9b4446cb39c098dd20adaf11933
DIST spvgen-a223c8636f8306697f6fdc86f742b99fbd8c5dbd.tar.gz 17695 BLAKE2B d1d81400cd8fd411a4828d206b54444f24486e0079c176a2ce2a6b1d359cd4f8b9e08a65b666d6d448e883ae15285a1ba4f4c8fb18e9c513a69afd6438e52d62 SHA512 25608f761f9d6ea1e1980698ade737a85a5ea552649ffb0b2928d1f1c0e4252696078ea1f37ee08c12e538148cf1a7a4c6d5edbdd636d0c2b3a03992cf180dd2
DIST spvgen-d4817ab957f79762da83b7fc1d3f2816dbdc13fd.tar.gz 17687 BLAKE2B 2e451252f037994373c48e960016cc844ecbd43a539a74cbc02ea91d063f67079f48be29c56fe70531dd07d20f72cde6903cd01c4150631bab7c04573a956e0d SHA512 7099dce061a64760f023b23eaf5100093dcdbb890100b3a4815e8a67ae85efa2f2534508aa247a1aebba10d26e4e582cf0d0ffde7d9c3193927dead5b0023690
DIST xgl-116d28a446eba3a9f8e6f577bab34fc07e090993.tar.gz 781417 BLAKE2B c5fe7359c091f4d910bea1b9478a6666a2f461870e70d5ed6b0d640079fbc23ad0de9206a8d35a5a9de55313fb45f1f78592098b74ed13391e62a4687c03ae29 SHA512 60bdc263f68f031f66e50746b64c8774596dcd83dbdab1a0660ee618df34bee24d4b24f89821e7b3952f7bbe040741fe2ebb3665b12156ee56585b64938effc6
DIST xgl-1f6143fb951622e06fe7b9396957976fc9feddc7.tar.gz 755327 BLAKE2B 1b57a66988dd4c33f21babca9d5cb18b39204fd6c37b66c32b2078c506221f33fea47b7787a55af4042a7c8fea9fca3e64a4f60ac4e560c24e38732af5fb42a0 SHA512 aada4d716d837356fed7ff6dbadf49d148245e33616441c6648b6cd687412017f6aa8bd0db2829436709d6bf8454470d8adced20053f07b93ffe6d7ea054d35f
DIST xgl-6e79dcb897452121463e79d8c4e21c6fc668a6fe.tar.gz 784732 BLAKE2B b695bbd49d0a77673bc0940d50b00b6852808968b0175b7ff618ed0d72f9ff339b2c037aba47654a48dcca9a2c0d0feec3d867a6c8fdc36d9e0244c9f49fb89d SHA512 6bd361cd51e325890c7da5065bd0056c417cb4df92f9fd55eeec7a42afa374a76f4f325966bc3cab4f0f12b549146c76492c694d592da59412061408a626fb3d
DIST xgl-877b773000248dffa025c42d9c4074d1a07b9e47.tar.gz 777782 BLAKE2B 7d7f8bf471a3a45180a83ba80a21280f0254fe7d80b2b1325aa7fef1dcf3a8de5552a6b930e884e0c7ed5936c9268a05d74398589089e3565b4375ac3dc59aa5 SHA512 8189ccb08c6e6ae33d36a6ee691afb60f0c1ea010c15e2883d2bc8a2e68c794bd7a70e48ecf3038d128e1c5894d4fed26a777bc9c4bea3ddeddc0b4c239993fd
DIST xgl-d8c926b86b1245badc67e5d55b0eaa45d4a910a0.tar.gz 775410 BLAKE2B fcce5189b11cb104e43a4b8e100f751e8d3d326327670b446f531d6a8e08340e4f26eda744cdeb2a463cb975c75ff0c06334d5224beaf580c9e05c59508d7ed5 SHA512 77aa54a2a74e81d94461c6b6fd4d6c502ca397bb0a4c6cc33714a6e2b80b2f4d6de60676fcc24836f378d1d20306681ff20d3c4a20cc9af340becc414c78ab6a

View File

@@ -0,0 +1,125 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MULTILIB_COMPAT=( abi_x86_{32,64} )
inherit multilib-minimal check-reqs
#inherit cmake-multilib and cmake-utils build doesn't support https://github.com/GPUOpen-Drivers/AMDVLK/issues/151
DESCRIPTION="AMD Open Source Driver for Vulkan"
HOMEPAGE="https://github.com/GPUOpen-Drivers/AMDVLK"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug wayland"
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
###DEPENDS
BUNDLED_LLVM_DEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]"
DEPEND="wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
${BUNDLED_LLVM_DEPEND}
>=dev-util/vulkan-headers-1.2.137"
BDEPEND="${BUNDLED_LLVM_DEPEND}
dev-util/cmake"
RDEPEND=" ${DEPEND}
x11-libs/libdrm[${MULTILIB_USEDEP}]
x11-libs/libXrandr[${MULTILIB_USEDEP}]
x11-libs/libxcb[${MULTILIB_USEDEP}]
x11-libs/libxshmfence[${MULTILIB_USEDEP}]
>=media-libs/vulkan-loader-1.2.137[${MULTILIB_USEDEP}]"
CHECKREQS_MEMORY="4G"
CHECKREQS_DISK_BUILD="2G"
S="${WORKDIR}"
CMAKE_USE_DIR="${S}/xgl"
###SOURCE CODE VARIABLES
FETCH_URI="https://github.com/GPUOpen-Drivers"
CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: transforming version 2019.2.2 to v-2019.Q2.2. Any other commits should be updated manually
##For those who wants update ebuild: check https://github.com/GPUOpen-Drivers/AMDVLK/blob/master/default.xml
##and place commits in the desired variables
## EXAMPLE: XGL_COMMIT="80e5a4b11ad2058097e77746772ddc9ab2118e07"
## SRC_URI="... ${FETCH_URI}/$PART/archive/$COMMIT.zip -> $PART-$COMMIT.zip ..."
XGL_COMMIT="6e79dcb897452121463e79d8c4e21c6fc668a6fe"
PAL_COMMIT="b687ca1828258076ac79f08738f6fce3fa688d4a"
LLPC_COMMIT="48fff0a75bb413b55a5e89647cdb37e109aa9eb8"
SPVGEN_COMMIT="0179fdb99e3d4b51e50d1a4c6ef65f065b0df967"
LLVM_PROJECT_COMMIT="da64bde85194f895002dbca05ec66e016f1a5a5d"
METROHASH_COMMIT="712f76fee75d69b23a1ea8f6465752c3ccaaf9a2"
CWPACK_COMMIT="7387247eb9889ddcabbc1053b9c2052e253b088e"
## SRC_URI
SRC_URI=" ${FETCH_URI}/AMDVLK/archive/${CORRECT_AMDVLK_PV}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}.tar.gz
${FETCH_URI}/xgl/archive/${XGL_COMMIT}.tar.gz -> xgl-${XGL_COMMIT}.tar.gz
${FETCH_URI}/pal/archive/${PAL_COMMIT}.tar.gz -> pal-${PAL_COMMIT}.tar.gz
${FETCH_URI}/llpc/archive/${LLPC_COMMIT}.tar.gz -> llpc-${LLPC_COMMIT}.tar.gz
${FETCH_URI}/spvgen/archive/${SPVGEN_COMMIT}.tar.gz -> spvgen-${SPVGEN_COMMIT}.tar.gz
${FETCH_URI}/llvm-project/archive/${LLVM_PROJECT_COMMIT}.tar.gz -> llvm-project-${LLVM_PROJECT_COMMIT}.tar.gz
${FETCH_URI}/MetroHash/archive/${METROHASH_COMMIT}.tar.gz -> MetroHash-${METROHASH_COMMIT}.tar.gz
${FETCH_URI}/CWPack/archive/${CWPACK_COMMIT}.tar.gz -> CWPack-${CWPACK_COMMIT}.tar.gz"
###EBUILD FUNCTIONS
src_prepare() {
##moving src to proper directories
mkdir -p "${S}"
mkdir -p "${S}/third_party"
mv AMDVLK-${CORRECT_AMDVLK_PV}/ "${S}/AMDVLK"
mv xgl-${XGL_COMMIT}/ "${S}/xgl"
mv pal-${PAL_COMMIT}/ "${S}/pal"
mv llpc-${LLPC_COMMIT}/ "${S}/llpc"
mv spvgen-${SPVGEN_COMMIT}/ "${S}/spvgen"
mv llvm-project-${LLVM_PROJECT_COMMIT}/ "${S}/llvm-project"
mv MetroHash-${METROHASH_COMMIT}/ "${S}/third_party/metrohash"
mv CWPack-${CWPACK_COMMIT}/ "${S}/third_party/cwpack"
##Installing rule
cat << EOF > "${T}/10-amdvlk-dri3.conf" || die
Section "Device"
Identifier "AMDgpu"
Option "DRI" "3"
EndSection
EOF
cd "${S}/xgl"
default
}
multilib_src_configure() {
local mycmakeargs=(
-DBUILD_WAYLAND_SUPPORT=$(usex wayland )
-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")"
-B"${BUILD_DIR}" )
cd "${S}"/xgl
cmake -H. "${mycmakeargs[@]}"
}
multilib_src_install() {
if use abi_x86_64 && multilib_is_native_abi; then
mkdir -p "${D}/usr/lib64/"
mv "${BUILD_DIR}/icd/amdvlk64.so" "${D}/usr/lib64/"
insinto /usr/share/vulkan/icd.d
doins "${S}/AMDVLK/json/Redhat/amd_icd64.json"
else
mkdir -p "${D}/usr/lib/"
mv "${BUILD_DIR}/icd/amdvlk32.so" "${D}/usr/lib/"
insinto /usr/share/vulkan/icd.d
doins "${S}/AMDVLK/json/Redhat/amd_icd32.json"
fi
}
multilib_src_install_all() {
insinto /usr/share/X11/xorg.conf.d/
doins "${T}/10-amdvlk-dri3.conf"
einfo "AMDVLK requires DRI3 mode so config file is istalled in /usr/share/X11/xorg.conf.d/10-amdvlk-dri3.conf"
einfo "It's safe to double xorg configuration files if you have already had ones"
}
pkg_postinst() {
elog "More information about the configuration can be found here:"
elog " https://github.com/GPUOpen-Drivers/AMDVLK"
ewarn "Make sure the following line is NOT included in the any Xorg configuration section:"
ewarn "Driver \"modesetting\""
ewarn "Else AMDVLK breaks things"
ewarn "With some games AMDVLK is still not stable. Use it at you own risk"
elog "You may want to disable default vulkan mesa provider in package.use \"media-libs/mesa -vulkan\""
elog "or perform export in /etc/env.d/ variable VK_ICD_FILENAMES=vulkanprovidername:vulkanprovidername2 "
elog "exampe| VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/amd_icd64.json:/usr/share/vulkan/icd.d/amd_icd64.json\""
}

View File

@@ -13,7 +13,11 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="dev-qt/qtmultimedia[widgets]"
RDEPEND="
dev-qt/qtmultimedia[widgets]
dev-qt/qtsvg:5
dev-qt/qtnetwork:5[ssl]
"
DEPEND="${RDEPEND}"
src_prepare() {

View File

@@ -13,7 +13,11 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="dev-qt/qtmultimedia:5[widgets]"
RDEPEND="
dev-qt/qtmultimedia:5[widgets]
dev-qt/qtsvg:5
dev-qt/qtnetwork:5[ssl]
"
DEPEND="${RDEPEND}"
src_configure() {

1
net-p2p/nuxhash/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST nuxhash-1.0.0_beta2_p20191013.tar.gz 783977 BLAKE2B 5dd50bd1d62193775b7146d078e4eae62247e1e469ed1966ecab31bf7899d38ddbe31babbf450a165e78c86bc4482f0a7a769225bd2f018515b90255184d8781 SHA512 1d2bb4cc73fd3a9c2e6964d2208ffe8362444bc03c7c2382b4df4231a311daa72026e1d80de347d77765f6ec92af5e339e2d10fdbff7d5272b8fdf8421a5656f

View File

@@ -0,0 +1,26 @@
Nicehash URL has changed
https://github.com/YoRyan/nuxhash/issues/54
--- a/nuxhash/nicehash.py 2019-10-13 06:10:40.000000000 +0100
+++ b/nuxhash/nicehash.py 2020-05-10 02:50:26.531802156 +0100
@@ -24,7 +24,7 @@
address = nx_settings['nicehash']['wallet']
response = nh.public_api(HOST).request(
- 'GET', f'/main/api/v2/mining/external/{address}/rigs/', '', None)
+ 'GET', f'/main/api/v2/mining/external/{address}/rigs2/', '', None)
unpaid = response.get('unpaidAmount', None)
if response.get('externalAddress', True):
wallet = response.get('externalBalance', None)
--- a/nuxhash/nhrest/python/nicehash.py 2019-10-13 06:10:40.000000000 +0100
+++ b/nuxhash/nhrest/python/nicehash.py 2020-05-10 02:55:38.189794255 +0100
@@ -162,7 +162,7 @@
return algo_setting
def get_accounts(self):
- return self.request('GET', '/main/api/v2/accounting/accounts/', '', None)
+ return self.request('GET', '/main/api/v2/accounting/accounts2/', '', None)
def get_accounts_for_currency(self, currency):
return self.request('GET', '/main/api/v2/accounting/account/' + currency, '', None)

View File

@@ -0,0 +1,12 @@
Disable GUI if USE=-gui
--- a/setup.py 2020-06-27 00:24:01.872723504 +0100
+++ b/setup.py 2020-06-27 00:30:12.885365693 +0100
@@ -185,7 +185,6 @@
entry_points={ # Optional
'console_scripts': [
'nuxhashd=nuxhash:nuxhashd',
- 'nuxhash-gui=nuxhash:nuxhash_gui'
],
},

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>alexey+gentoo@asokolov.org</email>
<name>Alexey Sokolov</name>
</maintainer>
<upstream>
<remote-id type="github">YoRyan/nuxhash</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,41 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7,8} )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1 vcs-snapshot
DESCRIPTION="NiceHash cryptocurrency mining client for Linux"
HOMEPAGE="https://github.com/YoRyan/nuxhash"
SRC_URI="https://github.com/YoRyan/nuxhash/archive/33e9a095a41a6828959927f867efe4d2df398ede.tar.gz -> ${P}.tar.gz"
# Nuxhash itself is GPL, but it downloads the excavator proprietary blob on startup
LICENSE="GPL-3 excavator-EULA"
SLOT="0"
IUSE="gui"
KEYWORDS="~amd64"
RDEPEND="
dev-libs/libbsd
dev-python/requests[${PYTHON_USEDEP}]
net-misc/curl
virtual/opencl
>=x11-drivers/nvidia-drivers-387
x11-libs/libxcb
x11-libs/libXau
x11-libs/libXdmcp
x11-libs/libXext
x11-libs/libX11
gui? ( dev-python/wxpython:4.0[${PYTHON_USEDEP}] )
"
PATCHES=(
"${FILESDIR}/nuxhash-1.0.0_beta2_p20191013-fixurl.patch"
)
python_prepare_all() {
use gui || eapply "${FILESDIR}/nuxhash-1.0.0_beta2_p20191013-remove-gui.patch"
distutils-r1_python_prepare_all
}

View File

@@ -1 +1 @@
DIST uwebsockets-18.7.0.tar.gz 264566 BLAKE2B 83e5cbf08c9f46f377128f1c2447eb148fb36a4a5acd9658e64c81d820be3a639fd081639859356c2131b4487b60e09ebe21824378282ad8d7347bcdc64e8aee SHA512 6dafd3eb9a86ebcc873ea5fe35bce46e40f415945197171d2dbfa71a28d57a3338bf61c594b00f5f5009f61dc3d0811f3d444b341270bf57613bfd1aa2c0e090
DIST uwebsockets-18.8.0.tar.gz 265075 BLAKE2B cad647271aa56c5a66ae149db1cb1f254f3ad27f52ce549dff406f91a0415780bf5375c47facf09bf953d7d75f690243a1f1dfbb94891822d2637ead7559c81c SHA512 9e1741134ca628fc4ed3b634eec57c825af90f1cdccaaee48aa5ba86ee5aef08274fcc1621703d155a9f4a388fddee57c60d333dba985dfcf8b4e6f1870692d9