Merge updates from master

This commit is contained in:
Repository mirror & CI
2020-11-08 11:35:15 +00:00
31 changed files with 657 additions and 438 deletions

View File

@@ -0,0 +1 @@
DIST guidata-1.7.9.tar.gz 325254 BLAKE2B 875ffe654fa3fb7fbb7d778d16c35053f8b2da6a69b2e5fd4a44599baa0f4eb3075e10856d906a3c345a25ec7c9f354d36817e1f1e4bc29c16371939acfb1f45 SHA512 65ae8a6fea96261fea534fd0dc42fdfe8f78c73008ffe34bb2d521b88860357196f4dd5f76d1a07290d7d3240e0f230c3d09c8ec14656071c59c90124da892db

View File

@@ -0,0 +1,24 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7,8} )
inherit distutils-r1
DESCRIPTION="Library for user interfaces for easy dataset editing and display"
HOMEPAGE="https://pypi.python.org/pypi/guidata"
LICENSE="CeCILL-2"
SLOT="0"
IUSE=""
RDEPEND="
dev-python/PyQt5[${PYTHON_USEDEP}]
dev-python/QtPy[${PYTHON_USEDEP}]
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"

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">
<email>davidroman96@gmail.com</email>
<name>David Roman</name>
</maintainer>
</pkgmetadata>

View File

@@ -1 +1,2 @@
DIST python-telegram-bot-12.4.2.tar.gz 1896003 BLAKE2B 2fbf77046da9c25b82682db040967e326bb92be0709f76ce9ebf98d611822d07c60d68d02e241cfbb4cc233be0e198a866f85557790227e7439d2688c5d01651 SHA512 b5c652433c99205e71dee67d1c9e5d3a9b2df40b2d60c1810135ef8b1b72f2b4b27a506682d0522a1bae58d39ba7cd559e262c222fde7dd324df779a00a76e10
DIST python-telegram-bot-13.0.tar.gz 1971799 BLAKE2B b63b71a4c872d2734ff2477f948b253fa29ed662c1de7291a654fec94e027178f0d6d4a90cbab6e144a0848893583b2fcd82b3f0f9a7df6908bec33cee8c523f SHA512 e35754871d753e6a2a46901a8292446ea729d17ee9122a932c26c8f51aff2c02cf47193036e37a22f17bb3d35814ac9c214449efa86541b0937e83849349b8eb

View File

@@ -0,0 +1,66 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7,8} )
inherit distutils-r1
DESCRIPTION="Python wrapper of telegram bots API"
HOMEPAGE="https://python-telegram-bot.org https://github.com/python-telegram-bot/python-telegram-bot"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/python-telegram-bot/python-telegram-bot"
else
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-3"
SLOT="0"
RDEPEND="
dev-python/certifi[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/decorator[${PYTHON_USEDEP}]
dev-python/future[${PYTHON_USEDEP}]
dev-python/PySocks[${PYTHON_USEDEP}]
dev-python/ujson[${PYTHON_USEDEP}]
dev-python/urllib3[${PYTHON_USEDEP}]
www-servers/tornado[${PYTHON_USEDEP}]
"
DEPEND="test? (
dev-python/APScheduler[${PYTHON_USEDEP}]
dev-python/attrs[${PYTHON_USEDEP}]
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
dev-python/flake8[${PYTHON_USEDEP}]
dev-python/flaky[${PYTHON_USEDEP}]
dev-python/pylint[${PYTHON_USEDEP}]
dev-python/pytest-timeout[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
dev-python/yapf[${PYTHON_USEDEP}]
)"
distutils_enable_tests pytest
distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme
python_prepare_all() {
# do not make a test flaky report
sed -i -e '/addopts/d' setup.cfg || die
sed -i 's/from telegram.vendor.ptb_urllib3 //g' tests/test_*.py
sed -i 's/telegram.vendor.ptb_urllib3.urllib3/urllib3/g' tests/test_*.py
# Remove tests files that require network access
rm tests/test_{animation,audio,bot,commandhandler,constants,conversationhandler}.py || die
rm tests/test_{dispatcher,document,forcereply,inlinekeyboardmarkup,inputmedia}.py || die
rm tests/test_{invoice,jobqueue,official,parsemode,persistence,photo,sticker,updater}.py || die
rm tests/test_replykeyboard{markup,remove}.py || die
rm tests/test_{video,videonote,voice}.py || die
distutils-r1_python_prepare_all
}

View File

@@ -3,7 +3,7 @@
EAPI=7
PYTHON_COMPAT=( python3_7 )
PYTHON_COMPAT=( python3_{7,8} )
inherit distutils-r1
@@ -34,12 +34,14 @@ RDEPEND="
"
DEPEND="test? (
dev-python/APScheduler[${PYTHON_USEDEP}]
dev-python/attrs[${PYTHON_USEDEP}]
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
dev-python/flake8[${PYTHON_USEDEP}]
dev-python/flaky[${PYTHON_USEDEP}]
dev-python/pylint[${PYTHON_USEDEP}]
dev-python/pytest-timeout[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
dev-python/yapf[${PYTHON_USEDEP}]
)"

View File

@@ -1,4 +1,4 @@
DIST lazygit-0.20.9.tar.gz 9196030 BLAKE2B 7fd64d06b3036926b00cc64f684d48a3791561e9b48f4bfbc2134e019caf4c96f8a37e2a1d33c79cab9a840b20f212f999f81d1e5a9763e2902332c298ede613 SHA512 d38fd390076a24b914309b6ecb506fc7b21e48c0bfab14aee5ff3bb7bcb591f47bf82051e5442ca4d4d2a0d864eb1554a64c594aefb130ec4f07861128d124dd
DIST lazygit-0.22.9.tar.gz 9232631 BLAKE2B 50febf0727dc3fff0e61b158bc37df4128cdc9934a42b113612896a3712fb7cd0ce0a0860eec88cbbde289fd08fb492e851937be549a2036ad993bdeb3a101ae SHA512 9d4dc92762099c141e56bbb386217ea2028ba6a78d6bb5d54ef9c022e447a1b9fa2ce37d6e2813411fe6fa4f5192753beec8b136838aefe067019fd0820225e1
DIST lazygit-0.23.1.tar.gz 2143832 BLAKE2B 631768a0b6e9b3a18742a5fc0d6c71442e6c81aea2ee2eea72320ef0b624b82220be999d878865d798fe00bd86c22f0a8ea9c3c8b8958edc59713ada308645f6 SHA512 f2a4a949888f63c74931ec10cee8551226ce8886d9f6847403490cfa48127c561dfa9b9f7efef879549ab4dccbf06bdf95fdb5a697736f57fb696c658b0e3a39
DIST lazygit-0.23.6.tar.gz 2144643 BLAKE2B d8f8be826212517abfc0dd0feace532600a8455c49874e385257a73ec8e3ea794a13d960fbd122461c454313d5a210cd56be99d98cffb5b47c41d70bd67921d3 SHA512 a71bb951eb452252a97789113664b00212cce4bea223c898b20ce3b3dcdc761d3cafe036b5d2dce20c4da06af361ee21f2e701464ba99dcddc49f383219d2713
DIST lazygit-0.23.7.tar.gz 2144614 BLAKE2B d18aaa19212ec9e6ed7d3b406d3e1f6413f6c15bf6a8c7c99cb8a2b01b9388db3f1ad04c485782e0823415cec3c6b461cf942583ef0ac744cb18270c8fc943b1 SHA512 ffc827a08a3ba99afa339cee48b9e10267bc4aa27592d43ec1e4be80a7b4f9e628f286b50a1940a59a5cfa96121de6ce4247ec91642a8798dba8ca42232596b9

View File

@@ -1,122 +0,0 @@
diff -Naur a/src/github.com/jesseduffield/lazygit/pkg/commands/oscommands/os.go b/src/github.com/jesseduffield/lazygit/pkg/commands/oscommands/os.go
--- a/src/github.com/jesseduffield/lazygit/pkg/commands/oscommands/os.go 2020-10-10 02:34:14.000000000 +0300
+++ b/src/github.com/jesseduffield/lazygit/pkg/commands/oscommands/os.go 2020-10-10 14:00:26.000000000 +0300
@@ -143,18 +143,19 @@
return RunCommandWithOutputLiveWrapper(c, command, output)
}
-// DetectUnamePass detect a username / password question in a command
-// promptUserForCredential is a function that gets executed when this function detect you need to fillin a password
-// The promptUserForCredential argument will be "username" or "password" and expects the user's password or username back
+// DetectUnamePass detect a username / password / passphrase question in a command
+// promptUserForCredential is a function that gets executed when this function detect you need to fillin a password or passphrase
+// The promptUserForCredential argument will be "username", "password" or "passphrase" and expects the user's password/passphrase or username back
func (c *OSCommand) DetectUnamePass(command string, promptUserForCredential func(string) string) error {
ttyText := ""
errMessage := c.RunCommandWithOutputLive(command, func(word string) string {
ttyText = ttyText + " " + word
prompts := map[string]string{
- `.+'s password:`: "password",
- `Password\s*for\s*'.+':`: "password",
- `Username\s*for\s*'.+':`: "username",
+ `.+'s password:`: "password",
+ `Password\s*for\s*'.+':`: "password",
+ `Username\s*for\s*'.+':`: "username",
+ `Enter\s*passphrase\s*for\s*key\s*'.+':`: "passphrase",
}
for pattern, askFor := range prompts {
diff -Naur a/src/github.com/jesseduffield/lazygit/pkg/gui/credentials_panel.go b/src/github.com/jesseduffield/lazygit/pkg/gui/credentials_panel.go
--- a/src/github.com/jesseduffield/lazygit/pkg/gui/credentials_panel.go 2020-10-10 02:34:14.000000000 +0300
+++ b/src/github.com/jesseduffield/lazygit/pkg/gui/credentials_panel.go 2020-10-10 03:17:57.000000000 +0300
@@ -9,7 +9,7 @@
type credentials chan string
-// promptUserForCredential wait for a username or password input from the credentials popup
+// promptUserForCredential wait for a username, password or passphrase input from the credentials popup
func (gui *Gui) promptUserForCredential(passOrUname string) string {
gui.credentials = make(chan string)
gui.g.Update(func(g *gocui.Gui) error {
@@ -17,9 +17,12 @@
if passOrUname == "username" {
credentialsView.Title = gui.Tr.CredentialsUsername
credentialsView.Mask = 0
- } else {
+ } else if passOrUname == "password" {
credentialsView.Title = gui.Tr.CredentialsPassword
credentialsView.Mask = '*'
+ } else {
+ credentialsView.Title = gui.Tr.CredentialsPassphrase
+ credentialsView.Mask = '*'
}
if err := gui.switchContext(gui.Contexts.Credentials.Context); err != nil {
@@ -30,7 +33,7 @@
return nil
})
- // wait for username/passwords input
+ // wait for username/passwords/passphrase input
userInput := <-gui.credentials
return userInput + "\n"
}
@@ -70,10 +73,10 @@
func (gui *Gui) handleCredentialsPopup(cmdErr error) {
if cmdErr != nil {
errMessage := cmdErr.Error()
- if strings.Contains(errMessage, "Invalid username or password") {
+ if strings.Contains(errMessage, "Invalid username, password or passphrase") {
errMessage = gui.Tr.PassUnameWrong
}
- // we are not logging this error because it may contain a password
+ // we are not logging this error because it may contain a password or a passphrase
gui.createErrorPanel(errMessage)
} else {
_ = gui.closeConfirmationPrompt(false)
diff -Naur a/src/github.com/jesseduffield/lazygit/pkg/i18n/dutch.go b/src/github.com/jesseduffield/lazygit/pkg/i18n/dutch.go
--- a/src/github.com/jesseduffield/lazygit/pkg/i18n/dutch.go 2020-10-10 02:34:14.000000000 +0300
+++ b/src/github.com/jesseduffield/lazygit/pkg/i18n/dutch.go 2020-10-10 02:57:03.000000000 +0300
@@ -19,6 +19,7 @@
CommitMessage: "Commit bericht",
CredentialsUsername: "Gebruikersnaam",
CredentialsPassword: "Wachtwoord",
+ CredentialsPassphrase: "Voer een wachtwoordzin in voor de SSH-sleutel",
PassUnameWrong: "Wachtwoord en/of gebruikersnaam verkeert",
CommitChanges: "Commit veranderingen",
AmendLastCommit: "wijzig laatste commit",
diff -Naur a/src/github.com/jesseduffield/lazygit/pkg/i18n/english.go b/src/github.com/jesseduffield/lazygit/pkg/i18n/english.go
--- a/src/github.com/jesseduffield/lazygit/pkg/i18n/english.go 2020-10-10 02:34:14.000000000 +0300
+++ b/src/github.com/jesseduffield/lazygit/pkg/i18n/english.go 2020-10-10 02:56:08.000000000 +0300
@@ -30,6 +30,7 @@
CommitMessage string
CredentialsUsername string
CredentialsPassword string
+ CredentialsPassphrase string
PassUnameWrong string
CommitChanges string
AmendLastCommit string
@@ -519,7 +520,8 @@
CommitMessage: "Commit message",
CredentialsUsername: "Username",
CredentialsPassword: "Password",
- PassUnameWrong: "Password and/or username wrong",
+ CredentialsPassphrase: "Enter passphrase for SSH key",
+ PassUnameWrong: "Password, passphrase and/or username wrong",
CommitChanges: "commit changes",
AmendLastCommit: "amend last commit",
SureToAmend: "Are you sure you want to amend last commit? Afterwards, you can change commit message from the commits panel.",
diff -Naur a/src/github.com/jesseduffield/lazygit/pkg/i18n/polish.go b/src/github.com/jesseduffield/lazygit/pkg/i18n/polish.go
--- a/src/github.com/jesseduffield/lazygit/pkg/i18n/polish.go 2020-10-10 02:34:14.000000000 +0300
+++ b/src/github.com/jesseduffield/lazygit/pkg/i18n/polish.go 2020-10-10 02:49:23.000000000 +0300
@@ -15,7 +15,8 @@
CommitMessage: "Wiadomość commita",
CredentialsUsername: "Username",
CredentialsPassword: "Password",
- PassUnameWrong: "Password and/or username wrong",
+ CredentialsPassphrase: "Passphrase",
+ PassUnameWrong: "Password, passphrase and/or username wrong",
CommitChanges: "commituj zmiany",
AmendLastCommit: "zmień ostatnie zatwierdzenie",
SureToAmend: "Czy na pewno chcesz zmienić ostatnie zatwierdzenie? Możesz zmienić komunikat zatwierdzenia z panelu zatwierdzeń.",

View File

@@ -1,38 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EGO_PN="github.com/jesseduffield/lazygit"
inherit golang-build golang-vcs-snapshot
DESCRIPTION="Lazygit, a simple terminal UI for git commands"
HOMEPAGE="https://github.com/jesseduffield/lazygit"
SRC_URI="https://github.com/jesseduffield/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc"
DEPEND=( sys-libs/glibc )
RDEPEND=(
${DEPEND}
dev-vcs/git
)
DOCS=( src/${EGO_PN}/{CONTRIBUTING,README}.md )
PATCHES=( "${FILESDIR}/${P}_ssh_passphrase.patch" )
src_compile() {
GOPATH="${S}" go build -v -o bin/lazygit src/${EGO_PN}/main.go || die
}
src_install() {
dobin bin/lazygit
use doc && dodoc -r "src/${EGO_PN}/docs/."
einstalldocs
}

View File

@@ -39,6 +39,9 @@ src_prepare() {
default
mv -T "${WORKDIR}/Engine-${Engine_sha}" "${S}/Engine" || die
#switch vsync ON by default
sed -i -e "s/v_sync = OnOffEnum.OFF/v_sync = OnOffEnum.ON/" "${S}/source/Game/Options.vala" || die
vala_src_prepare
}

View File

@@ -1,2 +1,2 @@
DIST nwg-launchers-0.3.4.tar.gz 47142 BLAKE2B f556e3b17b14fb1c8863927120d694bf83b8fa660ce2552708127dbea6c0fda9099a7a81bdfcaa760f712f7dbe2fc1ea0d707fcd098d317a955adc76f10cef9a SHA512 2157a84716862e4692c860df196dc8cd4673b36902cd787660be1d27f12026826e68858299fe4460168a4c7833e8b2a47564df5436f96f72aa989c5c3cb0b16c
DIST nwg-launchers-0.4.0.tar.gz 47649 BLAKE2B fecd6a2e5d733746533be44d73a7406cb6a58c6b00b09d7ade5e12086fab8fd76ebb5161746c7f0ab86b7b6da8e2e517c3cea763f168a4d07e233e28eadbafde SHA512 0b6613d925bb470eda81ccd317a88d5c588e38857a254edea89e90430337e2b016560f535b1882368ffb888452f63930d3b1726b6e9559690c1ac08323615ec9
DIST nwg-launchers-0.4.1.tar.gz 49118 BLAKE2B db8344c2138a71e617218c7c9bc277e759e3f055867804cef6253a865ee0b738a5926271f0c00e33661a8a4cf61dcc15d8df948280703ef8c4ac504aa5c7982f SHA512 51b97535f7db691a0fed39a993a66835aa1190a1623800cc6c9454d416dfd5277510c310f4210753c5ceabb864cd8445b83d13dff59792459b5defaf0598cdad
DIST nwg-launchers-0.4.2.tar.gz 49127 BLAKE2B f09f957c4c8f4c41d11d953abbc59d096a64a8ab51d6a57bcfacbe127580fa0476f0d72ab37d87a2d49c2b76596f8fd35369b66ea6fa9b32f7050dc3f29cb6c4 SHA512 6489c34e8f72ed6bd5a684b1a87e3d2611e4ee7bd48840105af91dfc0f95a29b0ff801aa90f793b82b49a31f5001f61329a029f0c63e028933223d195efdd52a

View File

@@ -27,7 +27,7 @@ DEPEND="${RDEPEND}"
IUSE="+bar +dmenu +grid"
RESTRICT="mirror"
RESTRICT="mirror test"
src_configure() {
meson_src_configure $(meson_use bar) $(meson_use dmenu) $(meson_use grid)

View File

@@ -27,7 +27,7 @@ DEPEND="${RDEPEND}"
IUSE="+bar +dmenu +grid"
RESTRICT="mirror"
RESTRICT="mirror test"
src_configure() {
meson_src_configure $(meson_use bar) $(meson_use dmenu) $(meson_use grid)

107
licenses/MEGA Normal file
View File

@@ -0,0 +1,107 @@
MEGA LIMITED CODE REVIEW LICENCE
================================
This licence grants you the rights, and only the rights, set out
below, to access and review Mega's code. If you take advantage of
these rights, you accept this licence. If you do not accept the
licence, do not access the code.
Words used in the Mega Limited Terms of Service
[https://mega.nz/terms] have the same meaning in this licence. Where
there is any inconsistency between this licence and those Terms of
Service, these terms prevail.
Section 1 -- Definitions
------------------------
- "code" means the Mega code made available from time, in our sole
discretion, for access under this licence at [https://github.com/].
Reference to code in this licence means the code and any part of it
and any derivative of it.
- "defect" means a defect, bug, backdoor, security issue or other
deficiency in the code.
- "review " means to access, analyse, test and otherwise review the
code as a reference, for the sole purpose of analysing it for
defects.
- "you" means the licensee of rights set out in this licence.
Section 2 -- Grant of Rights
----------------------------
1. Subject to the terms of this licence, we grant you a
non-transferable, non-exclusive, worldwide, royalty-free licence to
access and use the code solely for review purposes.
2. You may provide the code to anyone else and publish excerpts of it
for the purposes of review and commentary, provided that when you
do so you make any recipient of the code aware of the terms of this
licence and that you attribute the code to Mega.
3. Other than in respect of those parts of the code that were
developed by other parties and as specified strictly in accordance
with the open source and other licences under which those parts of
the code have been made available, as set out on our website or in
those items of code, you are not entitled to use or do anything
with the code for any commercial or other purpose, other than
review and commentary on it.
4. Subject to the terms of this licence, you must at all times comply
with and shall be bound by our Terms of Use
[https://mega.nz/terms], Privacy Policy [https://mega.nz/privacy]
and Takedown Guidance Policy [https://mega.nz/takedown].
Section 3 -- Limitations
------------------------
1. This licence does not grant you any rights to use Mega's name,
logo, or trademarks and you must not in any way indicate you are
authorised to speak on behalf of Mega.
2. If you issue proceedings in any jurisdiction against Mega because
you consider Mega has infringed copyright or any patent right in
respect of the code (including any joinder or counterclaim), your
licence to the code is automatically terminated.
3. THE CODE IS MADE AVAILABLE "AS-IS" AND WITHOUT ANY EXPRESS OF
IMPLIED GUARANTEES AS TO FITNESS, MERCHANTABILITY, NON-INFRINGEMENT
OR OTHERWISE. IT IS NOT BEING PROVIDED IN TRADE BUT ON A VOLUNTARY
BASIS ON OUR PART AND YOURS AND IS NOT MADE AVAILABE FOR CONSUMER
USE OR ANY OTHER USE OUTSIDE THE TERMS OF THIS LICENCE. ANYONE
ACCESSING THE CODE SHOULD HAVE THE REQUISITE EXPERTISE TO SECURE
THEIR OWN SYSTEM AND DEVICES AND TO ACCESS AND USE THE CODE FOR
REVIEW PURPOSES. YOU BEAR THE RISK OF ACCESSING AND USING IT. IN
PARTICULAR, MEGA BEARS NO LIABILITY FOR ANY INTERFERENCE WITH OR
ADVERSE EFFECT ON YOUR SYSTEM OR DEVICES AS A RESULT OF YOUR
ACCESSING AND USING THE CODE.
Section 4 -- Termination, suspension and variation
--------------------------------------------------
1. We may suspend, terminate or vary the terms of this licence and any
access to the code at any time, without notice, for any reason or
no reason, in respect of any licensee, group of licensees or all
licensees.
Section 5 -- General
--------------------
1. This licence and its interpretation and operation are governed
solely by New Zealand law. We and each you submit to the exclusive
jurisdiction of the New Zealand arbitral tribunals as further
described in our Terms of Service and you agree not to raise any
jurisdictional issue if we need to enforce an arbitral award or
judgment in New Zealand or another country.
2. Questions and comments regarding this licence are welcomed and
should be addressed to [support@mega.nz].
Last updated 20 January 2016.

View File

@@ -1,20 +1,8 @@
DIST AMDVLK-v-2020.Q3.5.tar.gz 32258 BLAKE2B f0779cb5659881d72d8d316a2ccf3907674b7182b969d21c392131d6122db66bf0fcbe8f693d9e332ea03240285b602ffe9e70c1e96e06694a0ba1810d3bf752 SHA512 7cc9c1f306bca846a25335231f9354f22bf7d65fc5c639123322f05ab7d8cf3c6c01f323eb5c1c3b64cba818295784bd583df6b2fee9334600cbd28350afc4a1
DIST AMDVLK-v-2020.Q3.6.tar.gz 32264 BLAKE2B 6e6f57e4c238b7a54c8b4731e31f66b1975043f0ee36735ead3a3eb8a9ee7db11ef420a7e75e3bbbc66869b41d3fe381856dc25de50ed560aa73f1a4fbb5ea18 SHA512 5fc25249ee624d931b6bd7ee4542350f7ba64e0e1e3e9b5dd1face62659f315460b35d75c71aac24b7cb8cac432e3627bfddd131c0572db1ae06d755b68d542a
DIST AMDVLK-v-2020.Q4.1.tar.gz 32259 BLAKE2B 628e4df092541c0ce2391991f1a4a8417226c043a1bc3e22ef64272b89fde17cce8480c3bffdf711ae72abbe028cf62d8cda32d5764d39586f60eb36070e6f45 SHA512 76af2e7844e4cd25b3e8dccd7e8d2a7c63dc48ae434354628cd74492dfff543c5b2acbf9b3eb300d1d0d01cc3858ebced92987832c75510571e1352190c87505
DIST AMDVLK-v-2020.Q4.3.tar.gz 32265 BLAKE2B f676d8e104f02a99a280457040384c1e2b2333e487c0fe2b69e3c1f669d73c36692783209502e5745c90819e7160b60df07a941a8a0be8ebd5ebd87952b5bebd SHA512 eee54d071860eb9b1e29b90eb3a94229e525493ca9c06a14bce706c40c056eb1115a488d0e12850cb551e6ac5406dcd30aa9560cac07baa141952aa023542347
DIST CWPack-7387247eb9889ddcabbc1053b9c2052e253b088e.tar.gz 24538 BLAKE2B 76c4da32ea06df355f7e8f77a14c185b2ccab2ce2762988f04a04d65b674e089d4fc27206e744f89b4bd84c9d7226d324414a31941303290e7f574e9d64756cf SHA512 38378ef325e42a7356511c2fc06b6c896581968079e85c4b924a1768d895feecaf1eb8fd65afb59bed0f66e0547104d67c2deb9f82a86f4b9fa65b36e57cd47d
DIST MetroHash-3c566dd9cda44ca7fd97659e0b53ac953f9037d2.tar.gz 11804 BLAKE2B 683ca8a9e4b93a945dc455c5cb78a2c6dd9dbdf22432ea9f447a6d2d1b05399cc57b621d1e304dc5695ab936a212a2df110e47ec9141764f4eaa2b184a01f4ba SHA512 ae4fcf09a097ceddfcc9f0b721cae0018fff8a0360d8fbbb195d2a8c2809cf8f3c01090ba8129593d89fe1c041224e42a49e7a1c66f20e60958a5373f6d9027f
DIST MetroHash-712f76fee75d69b23a1ea8f6465752c3ccaaf9a2.tar.gz 11754 BLAKE2B c08cc66b169e818d31b563ce25d903e81d029e8f869d6fd6bf44f21e36374721c991000d11d30f917fa829f51561ff51f09be88571803ff2395f371fd256bc77 SHA512 7a8dd0a91b95bcbc738d9d15d19fd25e4f7eeb5aee8bfb93ff185ed29ba0bdd29ffbe6629ebd4c3d0e48ecacdbe6dd26adee630f4cbf3c02d6829c64d7f461c9
DIST llpc-1d2d77c7533f41707ccf89b66db2e0feac3dea83.tar.gz 2048145 BLAKE2B fc1cca5dc1589d563264fc72ff396d8fcb4107eb30df04fb6eee29f049b01151b8710ad469117d8a3524fa2a667305d0a381d9b3b92e8385dfa399d414717897 SHA512 fe609c4c78f5596b7c019414e89848d86ce2a5af6a0a38caaeaf829c41bac4885c998269775d395b8a76a8c50cd7758214f7ca261c7deffdd8b644d7c6b1ded6
DIST llpc-6ff17fa6136e4bba8b6ae496e90e40c6e7750820.tar.gz 2006145 BLAKE2B 1e8c8c33a5d5792d786c76198dfa8e2e6425fba156af3810a9756c6663ed2fe58086ad973a912e218ec1a91bab8640900e914f8d91453371ca33bd19bcbcf371 SHA512 a4abc112c299fbd4443baabcce26a2582c0b81c457eb17538e6fbdb169cf78999d203e666ca17b41074ae524b0da5102eafb7ce7275faf75570caef03b34eef1
DIST llpc-a3ac9d29e78d11a6cdc1bc1dd0be082e35dbfc0d.tar.gz 1996525 BLAKE2B dd220c1b191da80c09f9139e41b3e8a1960376587dde9a7823667d2c92c2bda4ab8026e12de1d000fe20a6227b9b826bacd687e290d29c1f406a5a32c17c2e03 SHA512 63ae344d7542c0ef6b86f18ec3ffc017399977bbc0414bac588b4e269319efc3761f506fab9de5cd6712fd721233ea19d317d7dd7fdcddda80c592a2e3b9f5f6
DIST llvm-project-1a8b53e02a92dbc7d40087c483d03c45c6c63f2e.tar.gz 125181540 BLAKE2B 2bd22252921892ba00a5388349baec28b9c0ffc72965c56c1ca262265c371efc1ad8feb573baa6d186a792e17d5a81f75e2df43d755d76fa5bfae9a289eaa77d SHA512 8f5ad47fdf5923232611b129567ca67a7de5f37080ceffa47fcb65a872bb2d605ed3c13515dd597f508b0257178e0d018633698cb3112f8eb3301c1dcc0e1d39
DIST llvm-project-61625276e878ae29f79a052e2d4b495616d8180c.tar.gz 127411128 BLAKE2B 578e4e622dd3bffd9a012a45e222f8d3bbdbaee0416bc189b4fbc6ff45528081063aece3454c605896c7e71afc3cf8d02798bbae0d66388174c2a32fe82b311e SHA512 746ff1d59958188cd84653e92ddc025b004cfa4e92ebdf7c3f07b4e8a5c5d0f85b8d2588bf6d6456337c46a7b0803116d8a08aad158f339ff657c599c95e1297
DIST llvm-project-baf9929eed02f75d0a429fc72ba76b9286ba1996.tar.gz 124197545 BLAKE2B 3857ab9ce3cc98463559110f4ec28ba6392b8a1f2808a9766ef9f5ab052f9dc8a5d5bd476c442af528aa187404da8c0a1eed82a60a56afb6ff00499e90f26705 SHA512 e59e72b2102b633b972455f74ccaeda9416041f66869e7c1cabf9e2a4459c65245e086ca1e7e0cfe23710d3d43346646c548f509a7339c56a28bf1a4635ebaf9
DIST pal-3c0809b87958d3751bf2892e04579b6b1d03c7ad.tar.gz 7629346 BLAKE2B a49833e393c5c4ecca0a0687f7cd979624f1cf21cc4c6ee37f50e20f482d2f6ec490a161a8f850261934b57ddc25fc1f9f7825d28f0661c000aa0dfa22c32699 SHA512 66dde5b8a603349b7962b4dbb0c1bdde81719b269393a5c43d3c53a661733177acc148101c9b51da7e189a3fc26c82d4d2d8f2aacda052be7ef3020de4a6728a
DIST pal-6fa4f8ac88b95688241d266ff9d8f02da6ec3c22.tar.gz 7670536 BLAKE2B aad1ccbf3f40b0dbe04409f86efed83074f5c82e23e7fd806d85e0aa3a79ef51111a72e4ed6ea9db68c74133e4767e60016505e9e02a088f89ccd98efd356802 SHA512 014ba1b8628093fddbfb26d121f07d8ab4694a94c3f67e3cc82bcc3b6d94e59d53a926d647d97e8c5bb4147d40889810d529ae79b8019c6ecdbdf684cdb02cab
DIST pal-a52f7c12f9ce5aca5c0c7f799f72b1b3362121bc.tar.gz 7668665 BLAKE2B 4d6c84c2d3a7ac18f54919bbfdc632601ab6faed5ff2c5877911362aa93b5079056eb8de09d900448c5e9a60a37b79a64134a42c7215997ce3d3952920a365c9 SHA512 8227b1c81da72afd5c91faedb1fbb62d16b75d20366334f29ac2bb57e615daba02c48915893338c1322e9f3d4e45cfdc974c05706fbe68fc3337efb38b36a139
DIST spvgen-2557aaa0e96695c51de0d66903e24194a1af054e.tar.gz 19477 BLAKE2B a25db4fa8ba234a9a33f4b20981f1118ed54239b2b37083d5530ffe4fc1544c58d400a3a7fd87b83da29fa21a6d925b135b6bf16c436ebeee941072e01b12613 SHA512 852379ff654e3c41131e483b944bb38aebcfe466e84155acf62bb3cc847c16c53789dcd51f5da1ee36130ff9b58ae00c8504191129c5293346b7021c6dd91431
DIST llpc-3b3506161572475b0c163a5d44444fd98922b7d8.tar.gz 2056085 BLAKE2B a831de4834279ce0d53cf7d0c3c0ca44e9628ba1c8c8197b7f7daf3514be43c73fef3d83f1c2ad44ff24ab5abbe123502eedea5610b64d2e52863ff235c4e627 SHA512 3a7fdd3f2fee85f3a7856097f0cde647c3deb980144cc42d372cb1349900b9d100b83bd31dacb1b47b0b5a617bba4f6a8e55d1b8cafd56671e10a8d49c5aa060
DIST llvm-project-11778b213e0e979cbe185901b365f0b2e9a66522.tar.gz 127824632 BLAKE2B df269eee12bc5428d7f0cc614a11684ba95818bcdadeea5046c33e577c29e0b5202f475b5145d9c6a6fe6a922e3edda1f0f99c2aca83dba73310c5a1b7c9ba0f SHA512 de0b92422b3d5f4a3bfe43b10c4f989a8890a9f2c901275f078cea64e7a4b8456cf6697621648d877bd2dbc7af4b9bb03a7a16a92a1d1e6ed1608eb5d9625000
DIST pal-4ae736bdbc5d5dee59851ac564c5e21d807b44b0.tar.gz 7675348 BLAKE2B 912c5efdb03631506de599e9992b8b20037b115d925962304ee94a153623e170f7618fd033f84fb25d78354137b54d9857f4967d242cb56e69f03da8675926a1 SHA512 355887de38afcf96764ff09be9167d7dc7c6c32980014f2e30cbf0ffe4074721c3d6ba0f4624ce03a94efc197d57c047a40cd2e6b04339951e60b32a11619405
DIST spvgen-fb798cb760a436e9496dbaab8827e4d183b74744.tar.gz 19475 BLAKE2B ace1afe0f9b129fdf3079341a09f0e761b1604a415412a3ea33325e770cecb62e67945a5d83b3248a29222b2dca86ad63c4c7d89e250851edc37d22543e75f20 SHA512 2c4f72518e6f1fbefebfe51d6e7d14187bad99b036b26f131ed726d0525244b33017549f5a56a4f7770239eaa411ff93561be53072458c6f491452ae496ee156
DIST xgl-07bb2eb097cd90983902118388cabd49f3530e8b.tar.gz 802016 BLAKE2B d17fb5b16267e799d2f2779be7adeac49c2916f50701436f8c84d462b5bbe3525eb53e4acf9d9eb0dbfbf6d2e2e8ba209752222627e21268c4b2e2fce4ddc135 SHA512 f7143a734a0864533005926a17130fe4203f6f9aa2b2bc85a6d543cb747e0e863fd8f26a642390f4d34e86f5b3a8847542ffcd3ad31ed8531f58611fbc61e106
DIST xgl-6e4aaa87a128f91cc62d337642949ee8cfcaeec8.tar.gz 800766 BLAKE2B 985f832b73ac9b12f09b8e7d58fe322b84b0d02f7f79255051f5ec9abc1258a162e19d757f5e47b4a0a4ff601700f81548bef810e0ab6d615d979313bba52d66 SHA512 f9d8a33e9d3ff5b48efbdc03f476253e485ac87b10af846af55fc754f3be2a186374efe1f598ec2b4abc441fd2c7de146f95630e9dc6d81b74034d3ea9682a18
DIST xgl-99aaaa0cd14293edf100b986bc004c886e6b2ef6.tar.gz 805754 BLAKE2B dda9c8b10349927cc2535d78ca9cc65eb877ebf5246447024516172027c04c87af9a86dbe9c54f0e6e7f754d2c49bd0f33466f4e2cfefd62d34cb9ec48352f1e SHA512 401221495d5687203893a4a925982d44e7d55e3cd8aaafe376b5da8604cdff7c96b296810efd52c1af29819787369b44a77e88aec250d21cc4cdd86662397936
DIST xgl-87430a6fa88da11473eed49603def2fa47b51fa0.tar.gz 807418 BLAKE2B 890e79400a422321c2ef5760c0ecc3c62d8b0a83bea976ddaf9b04c423319baa19988b7ea9a0c304eec349cb3e338b722c0eb955440b44fd94e1c6e187104573 SHA512 e124d0b9734210d4a047e1a0c50e2a698615eea33f1235a381e26a07f4784590e9ec610b30c223de30d69a7152f5ad6e4c6c07e05acc50aecd5d1593c6e7ce40

View File

@@ -1,125 +0,0 @@
# 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.143"
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.141[${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="6e4aaa87a128f91cc62d337642949ee8cfcaeec8"
PAL_COMMIT="a52f7c12f9ce5aca5c0c7f799f72b1b3362121bc"
LLPC_COMMIT="a3ac9d29e78d11a6cdc1bc1dd0be082e35dbfc0d"
SPVGEN_COMMIT="2557aaa0e96695c51de0d66903e24194a1af054e"
LLVM_PROJECT_COMMIT="baf9929eed02f75d0a429fc72ba76b9286ba1996"
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

@@ -1,125 +0,0 @@
# 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.143"
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.141[${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="99aaaa0cd14293edf100b986bc004c886e6b2ef6"
PAL_COMMIT="3c0809b87958d3751bf2892e04579b6b1d03c7ad"
LLPC_COMMIT="1d2d77c7533f41707ccf89b66db2e0feac3dea83"
SPVGEN_COMMIT="fb798cb760a436e9496dbaab8827e4d183b74744"
LLVM_PROJECT_COMMIT="61625276e878ae29f79a052e2d4b495616d8180c"
METROHASH_COMMIT="3c566dd9cda44ca7fd97659e0b53ac953f9037d2"
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

@@ -41,11 +41,11 @@ CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: trans
##and place commits in the desired variables
## EXAMPLE: XGL_COMMIT="80e5a4b11ad2058097e77746772ddc9ab2118e07"
## SRC_URI="... ${FETCH_URI}/$PART/archive/$COMMIT.zip -> $PART-$COMMIT.zip ..."
XGL_COMMIT="07bb2eb097cd90983902118388cabd49f3530e8b"
PAL_COMMIT="6fa4f8ac88b95688241d266ff9d8f02da6ec3c22"
LLPC_COMMIT="6ff17fa6136e4bba8b6ae496e90e40c6e7750820"
XGL_COMMIT="87430a6fa88da11473eed49603def2fa47b51fa0"
PAL_COMMIT="4ae736bdbc5d5dee59851ac564c5e21d807b44b0"
LLPC_COMMIT="3b3506161572475b0c163a5d44444fd98922b7d8"
SPVGEN_COMMIT="fb798cb760a436e9496dbaab8827e4d183b74744"
LLVM_PROJECT_COMMIT="1a8b53e02a92dbc7d40087c483d03c45c6c63f2e"
LLVM_PROJECT_COMMIT="11778b213e0e979cbe185901b365f0b2e9a66522"
METROHASH_COMMIT="3c566dd9cda44ca7fd97659e0b53ac953f9037d2"
CWPACK_COMMIT="7387247eb9889ddcabbc1053b9c2052e253b088e"
## SRC_URI

View File

@@ -5,7 +5,7 @@ EAPI="7"
inherit meson git-r3
DESCRIPTION="Plug-in for development GIMP 2.99.1 for loading/saving AVIF images."
DESCRIPTION="Plug-in for development GIMP 2.99.3 for loading/saving AVIF images."
HOMEPAGE="https://github.com/novomesk/gimp-avif-plugin"
EGIT_REPO_URI="https://github.com/novomesk/gimp-avif-plugin.git"

View File

@@ -0,0 +1,137 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
DESCRIPTION="The official Qt-based program for syncing your MEGA account in your PC"
HOMEPAGE="http://mega.co.nz"
RTAG="_Linux"
if [[ ${PV} == *9999* ]];then
EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
KEYWORDS=""
EGIT_SUBMODULES=( '*' )
else
EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
EGIT_COMMIT="v${PV}.0${RTAG}"
EGIT_SUBMODULES=( '*' )
KEYWORDS="~amd64 ~x86"
fi
LICENSE="MEGA"
SLOT="0"
IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline examples threads java php python gnome"
CDEPEND="
media-libs/libmediainfo
media-libs/libraw
dev-qt/qtcore:5
dev-qt/qtwidgets:5
dev-qt/qtgui:5
dev-qt/qtconcurrent:5
dev-qt/qtnetwork:5
dev-qt/qtdbus:5
dev-qt/qtimageformats:5
dev-qt/qtsvg:5
"
BDEPEND="${CDEPEND}
dev-lang/swig
app-doc/doxygen
dev-qt/linguist-tools
"
RDEPEND="${CDEPEND}
x11-themes/hicolor-icon-theme
dev-libs/openssl
dev-libs/libgcrypt
media-libs/libpng
net-dns/c-ares
cryptopp? ( dev-libs/crypto++ )
app-arch/xz-utils
dev-libs/libuv
sqlite? ( dev-db/sqlite:3 )
dev-libs/libsodium
zlib? ( sys-libs/zlib )
curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
freeimage? ( media-libs/freeimage )
readline? ( sys-libs/readline:0 )
dolphin? ( kde-apps/dolphin )
nautilus? ( >=gnome-base/nautilus-3 )
thunar? ( xfce-base/thunar )
"
DOCS=( CREDITS.md README.md )
PATCHES=( )
if [[ ${PV} != *9999* ]];then
src_prepare(){
if [ -e "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch" ]; then
EPATCH_OPTS="-p0" epatch "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch"
fi
if [ ! -z ${PATCHES} ]; then
epatch ${PATCHES}
fi
if use gnome; then
if [ -e "${FILESDIR}${P}-gnome.patch" ]; then
epatch "${FILESDIR}/${P}-gnome.patch"
fi
fi
eapply_user
cd src/MEGASync/mega
eautoreconf
}
fi
src_configure(){
cd "${S}"/src/MEGASync/mega
econf \
"--disable-silent-rules" \
"--disable-curl-checks" \
"--disable-megaapi" \
$(use_with zlib) \
$(use_with sqlite) \
$(use_with cryptopp) \
"--with-cares" \
$(use_with curl) \
"--without-termcap" \
$(use_enable threads posix-threads) \
"--with-sodium" \
$(use_with freeimage) \
$(use_with readline) \
$(use_enable examples) \
$(use_enable java) \
$(use_enable php) \
$(use_enable python) \
"--enable-chat" \
"--enable-gcc-hardening"
cd ../..
local myeqmakeargs=(
MEGA.pro
CONFIG+="release"
)
eqmake5 ${myeqmakeargs[@]}
use dolphin && cmake-utils_src_configure
$(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
}
src_compile(){
emake -C src INSTALL_ROOT="${D}" || die
use dolphin && cmake-utils_src_compile
}
src_install(){
use dolphin && cmake-utils_src_install
einstalldocs
insinto usr/share/licenses/${PN}
doins LICENCE.md installer/terms.txt
cd src/MEGASync
dobin ${PN}
cd platform/linux/data
domenu ${PN}.desktop
cd icons/hicolor
for size in 16x16 32x32 48x48 128x128 256x256;do
doicon -s $size $size/apps/mega.png
done
}

View File

@@ -0,0 +1,137 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
DESCRIPTION="The official Qt-based program for syncing your MEGA account in your PC"
HOMEPAGE="http://mega.co.nz"
RTAG="_Linux"
if [[ ${PV} == *9999* ]];then
EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
KEYWORDS=""
EGIT_SUBMODULES=( '*' )
else
EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
EGIT_COMMIT="v${PV}.0${RTAG}"
EGIT_SUBMODULES=( '*' )
KEYWORDS="~amd64 ~x86"
fi
LICENSE="MEGA"
SLOT="0"
IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline examples threads java php python gnome"
CDEPEND="
media-libs/libmediainfo
media-libs/libraw
dev-qt/qtcore:5
dev-qt/qtwidgets:5
dev-qt/qtgui:5
dev-qt/qtconcurrent:5
dev-qt/qtnetwork:5
dev-qt/qtdbus:5
dev-qt/qtimageformats:5
dev-qt/qtsvg:5
"
BDEPEND="${CDEPEND}
dev-lang/swig
app-doc/doxygen
dev-qt/linguist-tools
"
RDEPEND="${CDEPEND}
x11-themes/hicolor-icon-theme
dev-libs/openssl
dev-libs/libgcrypt
media-libs/libpng
net-dns/c-ares
cryptopp? ( dev-libs/crypto++ )
app-arch/xz-utils
dev-libs/libuv
sqlite? ( dev-db/sqlite:3 )
dev-libs/libsodium
zlib? ( sys-libs/zlib )
curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
freeimage? ( media-libs/freeimage )
readline? ( sys-libs/readline:0 )
dolphin? ( kde-apps/dolphin )
nautilus? ( >=gnome-base/nautilus-3 )
thunar? ( xfce-base/thunar )
"
DOCS=( CREDITS.md README.md )
PATCHES=( )
if [[ ${PV} != *9999* ]];then
src_prepare(){
if [ -e "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch" ]; then
EPATCH_OPTS="-p0" epatch "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch"
fi
if [ ! -z ${PATCHES} ]; then
epatch ${PATCHES}
fi
if use gnome; then
if [ -e "${FILESDIR}${P}-gnome.patch" ]; then
epatch "${FILESDIR}/${P}-gnome.patch"
fi
fi
eapply_user
cd src/MEGASync/mega
eautoreconf
}
fi
src_configure(){
cd "${S}"/src/MEGASync/mega
econf \
"--disable-silent-rules" \
"--disable-curl-checks" \
"--disable-megaapi" \
$(use_with zlib) \
$(use_with sqlite) \
$(use_with cryptopp) \
"--with-cares" \
$(use_with curl) \
"--without-termcap" \
$(use_enable threads posix-threads) \
"--with-sodium" \
$(use_with freeimage) \
$(use_with readline) \
$(use_enable examples) \
$(use_enable java) \
$(use_enable php) \
$(use_enable python) \
"--enable-chat" \
"--enable-gcc-hardening"
cd ../..
local myeqmakeargs=(
MEGA.pro
CONFIG+="release"
)
eqmake5 ${myeqmakeargs[@]}
use dolphin && cmake-utils_src_configure
$(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
}
src_compile(){
emake -C src INSTALL_ROOT="${D}" || die
use dolphin && cmake-utils_src_compile
}
src_install(){
use dolphin && cmake-utils_src_install
einstalldocs
insinto usr/share/licenses/${PN}
doins LICENCE.md installer/terms.txt
cd src/MEGASync
dobin ${PN}
cd platform/linux/data
domenu ${PN}.desktop
cd icons/hicolor
for size in 16x16 32x32 48x48 128x128 256x256;do
doicon -s $size $size/apps/mega.png
done
}

View File

@@ -0,0 +1 @@
megasync-4.3.3.ebuild

View File

@@ -0,0 +1,16 @@
<?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>
<description>megasync client from mega.nz</description>
</maintainer>
<use>
<flag name='dolphin'>Upload your files to your Mega account from Dolphin file manager.</flag>
<flag name='nautilus'>Upload your files to your Mega account from nautilus.</flag>
<flag name='thunar'>Upload your files to your Mega account from Thunar.</flag>
<flag name='cryptopp'>Compile with Crypto++ Library.</flag>
<flag name='freeimage'>Use freeimage to manage graphic images format.</flag>
</use>
</pkgmetadata>

View File

@@ -0,0 +1 @@
DIST kissfft-131.tar.gz 44748 BLAKE2B 71418543995ce5bd26d12077bd7de24978ca30c827ea4fa210c63bb42fc64ee2449825605cc498d090670b08aaec08ea22901ae790a8276f156b899a687d5bc7 SHA512 6cc7efbe898287cdc623970f84b57c6a71148ded78732c36c4bd376a122efcf6c27d3a61679fccfbe47d0e79c7d1f3065b21a7091110154e402c0b2a49a378f9

View File

@@ -0,0 +1,33 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
DESCRIPTION="A Fast Fourier Transform (FFT) library that tries to Keep it Simple, Stupid"
HOMEPAGE="https://github.com/mborgerding/kissfft"
LICENSE="BSD"
IUSE="test"
SLOT="0"
if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="${HOMEPAGE}"
inherit git-r3
else
SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
DEPEND=""
RDEPEND=""
src_install() {
dolib.so libkissfft.so
doheader kiss_fft.h
}
src_test() {
make testall || die
}

View File

@@ -0,0 +1,33 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
DESCRIPTION="A Fast Fourier Transform (FFT) library that tries to Keep it Simple, Stupid"
HOMEPAGE="https://github.com/mborgerding/kissfft"
LICENSE="BSD"
IUSE="test"
SLOT="0"
if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="${HOMEPAGE}"
inherit git-r3
else
SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
DEPEND=""
RDEPEND=""
src_install() {
dolib.so libkissfft.so
doheader kiss_fft.h
}
src_test() {
make testall || die
}

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">
<email>davidroman96@gmail.com</email>
<name>David Roman</name>
</maintainer>
</pkgmetadata>

View File

@@ -1,15 +1,22 @@
DIST ansi_term-0.11.0.crate 17087 BLAKE2B 9bd35c045a01ce4c6c4a5db1b4f15e9412bb97426eec19d4421dffbec633de8d13452c13c1dc1b30998690b78d7ed38311aca700087f13a81f66bd1d5d7300c4 SHA512 a637466a380748f939b3af090b8c0333f35581925bc03f4dda9b3f95d338836403cf5487ae3af9ff68f8245a837f8ab061aabe57a126a6a2c20f2e972c77d1fa
DIST assert_cmd-1.0.1.crate 24575 BLAKE2B e204b79da44a27b9c70be8dbf53356714ac994b4e5daced1b4f570c9e6c4a422572e825a54387df25292bd27e9ae11fa57d803bcfe4643382a2f739859dd42fd SHA512 969e1f6ba28edc0d4d25a10390f8e94578562602d303e9a9e402f29655cb9d67edc1040b283e1bc9fb4a88a5817814d88e85b77944204288aabcfb6da69bbdbf
DIST atty-0.2.11.crate 5916 BLAKE2B e502c23faaa9dd27cc5865b68a721b0403071edb483fca0c745707f4c0ca1b1787b5677b2d8ad7f327b8f5588ba784126ce78496c1db54f7ca4ce0ccea669499 SHA512 9d6417dc1e8abdb4969418525b36c451274fd76769adb57bef9875ef62ef521c50d58626ebc4f96d2bea32cbadb6999fd67653b570293d7253b403b6d0736c79
DIST atty-0.2.14.crate 5470 BLAKE2B 2db856a9e898a430258f059aeaf7c844a153293e8856d90ac81f7d91a888c89198768ad5cb09303c23241fe85c560a55148fa56a303651a82b0edb895616bfab SHA512 d7b6c4b9a0f898d91ddbc41a5ee45bbf45d1d269508c8cc87ee3e3990500e41e0ec387afb1f3bc7db55bedac396dd86c6509f4bf9e5148d809c3802edcc5e1d9
DIST bitflags-1.0.4.crate 15282 BLAKE2B 63f5feb47460c344983cef8822804b1c4ac2f3adfffcf206df2b05fafb9c7bfd73986721cde46705a3e4a0dc72a40683e4d369f2339adfc1b55208bad1766875 SHA512 81850d2be62eabb8486024ab263da67e6eb8ebfa732cac3a5d46a9186c564b2065cba15fa3da468bbd26eaf2b67038680e5de19d5dd99d78f60dae8a1776c8de
DIST bitflags-1.2.1.crate 16745 BLAKE2B 0fa6d3ce44aad7616d5cd02aad8c1d0b0fed4022650eb43067c4a72e6fc88da05442674fa51826e4858a47c9de233e1ba2229820af094197cd11bb416ceffb2b SHA512 ad89b3798845e23737a620bba581c2ff1ff3e15bac12555c765e201d2c0b90ecea0cdbc5b5b1a3fa9858c385e8e041f8226f5acfae5bbbe9925643fff2bf3f0b
DIST clap-2.32.0.crate 196073 BLAKE2B c262241a3ad1d0f944467f4ea9884ca3dc05b5e05656fd7b73700e0daeec035c07a5d06316cc1273e37f74f2c00429b0ee99da298804dc4deff9a252ca56ce07 SHA512 ee2a66cec0d867d73fce35c055bcac77cc3ea9537b355be04be3ee17ddabefebfe3649cbdfc30ea356c54cf9f066369540eac4f5dc67e60cdadc9c66be014ef0
DIST clap-2.33.0.crate 196458 BLAKE2B 3bb62d817afc77b421a6282746b9b61367d224de6b614c7ed66bde452ce1046728077dab3368a46635b5c74d82ba3196586d87c0201478ce5b89638910dadb1a SHA512 f1075031414d48e4340bfe308904a95a31b72460724773c52a0bc8c004e625a04c904a39fc5420cb8c26a633321f9b5f4f69019c7aae5ed89900b63ed8c21a91
DIST difference-2.0.0.crate 147616 BLAKE2B d720202ba8d73fb9b3cc6a982208e4fbe22eda4b3e296f4238a7b2d8ed0339827ca5a3d93a983396901614a9eabe36a0baf55ecc5f55075ebf7fa1e4c0699eb2 SHA512 cc9956757770ecf237d8f46abef25ce219193c877be6cf83163e87c494956cca3202951ac01bba0728e7202fcde2261009c1b4599f389cf979858f25936a5482
DIST doc-comment-0.3.3.crate 4123 BLAKE2B a82d1c1a7a90af6e111b5e684a1298d7eac5fd8e4bf7d5baf6c7403d26b609958716d57e51122fe7ad7626fe00a2d824dcfef3cc2fd7679fdb7b5099603de1cd SHA512 e98ff9646a3612bd41bb6f278e7b6e9a0c58747f8b82524da814cf51b7f06c76ad4d65b502ac5740e818744abb295f78f15f8262d0b50ced1523f6d1a26939ba
DIST hermit-abi-0.1.8.crate 7581 BLAKE2B 90fef564dd39973c5ff8ee3d4a9b129f1ca00800ca459c644ee08df1542c5adbc06881a7a59d37fe6e03a72a2df21917e38544759a2833dd8f8c065261cc1512 SHA512 25f7806834ea007174001284200201895f4536d5a447dea6c165b43c30b30871f78da5f3ef0d79579e3195951e6fd7ee5e21ec80811c515fd096f2e7b3bf7b9b
DIST hex-0.1.3.tar.gz 155482 BLAKE2B c3e2a8ee7a3b22f5d61caf687cc8d743446de2726efff7641d86ddb63a907cbe6e213562975cf010b2f258731fd30083c28c9a2803a06d848700c9aee23dd045 SHA512 6dbf370ff854f857f061022130c17798bd48126d54bde3dedadd81085adade2614cdddf653cbec9440ccd54675527083b4834f26a1198684d1cb0094ac250773
DIST hex-0.3.0.tar.gz 160738 BLAKE2B e1cc0313fd960be3f2d63dbc2e0834ed6ea01dd70b95bf89d4f3866b38b8fcc1d660faa050de6088fcae84dfccf44138b09f90dfdb4a62abe3251b95a999c597 SHA512 e57d221f3853b4cabcc604cc3c7e2ab00f75670ae38fbd68c3b5beb2302c732a36b79bc102dd2cd48b75bdf6de86f537dee4d916a04b919fe4d7208c3f2fa645
DIST hex-0.3.1.tar.gz 162723 BLAKE2B c4c5e293e9e4e27ed22308aaf2bb72a7480f00bc8ec49a75980652088a799df56195ab537a07935508825f32e8703040210891888d4946ab7329bc8268a24246 SHA512 12d301a78378e78ee7817cf33b2f97de6bde050ceb9c9622384c325a6c171b6be89e7b5454f29311e2f122cace40f5e9e61dabd11a24afec47765a22ea511356
DIST libc-0.2.47.crate 351491 BLAKE2B 10ff90405b911c40478793cadc9a1962e14eb4d7b4ff758554a225bb87340989bbd6089441eaa2638db93782de7d0faba20f77a7e3569a52cec40ba55eb56c06 SHA512 f0eddcbe456b1ee2da22963585ff689ad44f0f8d70af33d9bec41a1ec5a1b3dee26fbeaa29786792cd44d020fc56461b44bbb2da962662377552fa562b2694f6
DIST libc-0.2.67.crate 458605 BLAKE2B a4c57d6f9917b10e6e7747f40d769f16b9ed599f4643b7e55f7f61ee9a8a447f6a0d50932bbf8d87e29af328da4ad467f88b81eca281d30719ad3133edc94478 SHA512 da1c5a8d996f7f82ff45fdf0872cc2fe731a64f8ed4996291b7a7acc866b61433515240ae0069dd4d6c19db33a94541238195d82dd9fd711c4010a0cb0c0b41e
DIST predicates-1.0.5.crate 26097 BLAKE2B 4adc79981c706796bef11e75e4a87cdfc5ff7f5066869f8d26f5ba0f3699c292edd6e5dd1be8854ff9e8b2604bf24904f1242056719e1d863951ca6f5ad042ae SHA512 696890cb9ed83b6ebd1b46e42bde95b148fe067174b0057e4ae83d9b3a4d2043dcedf0cc58b78e88b36a460402cd6359580356018986b4a136cba9e1afde55b6
DIST predicates-core-1.0.0.crate 8066 BLAKE2B 71e70aec3adfae302287a1cd3d7d19eff8a697659d61ced33b89caa8a2a3359ab7251db012d973dd574abecec82acc010c5169d0670096af06e325761363c34d SHA512 024f997976ae618e3b82d59613f8b6c41b3c0b3b595b6cf38d10d2d27a11388e9511ca38c06d46b52a12fc19d3cec36a69ca14e1e21f316a719539e41c86d6f4
DIST predicates-tree-1.0.0.crate 6251 BLAKE2B 00da28f7de9a7abb386c6a4425d8a2285d1ef22032476b0ac1bab4b8d34d2af69948f80d8f0498e2356caea3fe92ce352b58539413a8f0f052e9dbc26c96cc12 SHA512 29e1818b7cbcb7195dedc78e6a1436e8e8c88b61d43469952c4bba5bef7dbfd5b7f0dfbd9fd31f71e71cefe7c7b8c44ef361bff1a86f40c945caf48cbd87cf05
DIST redox_syscall-0.1.50.crate 15609 BLAKE2B 22c1542a025992694c37d426330a217e3936b95be5847b962151fe626975490434d463277056be53a128e815bc01a17e9f7b49718832fbee25648d5db6671743 SHA512 eb98bec77830bf2eeb0943bee2818f85881ace42e49122005195c65366596be3e886f592c3561288f253951b2768ac5b9e02f9f815961500a08176ba777b27a6
DIST redox_termios-0.1.1.crate 3227 BLAKE2B 0b109d34e942735e804dd3da2a9639506e8bf6eb5b1f69ae021b115b0b75ae5159e8457abdf647dabfc19d5119cd3a44b8966635d7862cc66a8a997e4468e1ab SHA512 201d051900e919e2c6c6769ef252e51979d90133df16b6605e2a2f424cfb2e6e505e21add75ef5854fe5e0cab1ed1f1c1451010f072ae4bc8703c585a4323981
DIST strsim-0.7.0.crate 8435 BLAKE2B 6869075bc3949fbdec1b74548b816560d1bf3759ba4c3e972a84f885e6732edd25596d75a4b6f6b85d93821f559757d096cb5f0b0eb04dabd8bb974d214f3188 SHA512 3f92df0f444129b16fbb15c533b7bc1d6f18970b487b57345f74747fb7f41e3dc0cb61255712e94d419a5777b8f6a9cdf1a716718698c479eb98dfb6464d1983
@@ -17,9 +24,11 @@ DIST strsim-0.8.0.crate 9309 BLAKE2B 40a8be506c43ee1ffe006ddc7dee98c3d418bdd205d
DIST termion-1.5.1.crate 20659 BLAKE2B 5b4291c2c26a074c16eac2e7bcb40467380181bac69c941e5c958059dc239cbbfd74872d9bd3da65245d010f9fc39804c43dc96f4caab2499b021cf35977a6b0 SHA512 1d1536f08600c7c1f414b4579a1a6e7eff91f4c105504125118d3cadf71c7886a352d1c5f7e07f3d7c28aa8b4752f07b51eddb4d9adc6a9286f7b6bade2bec76
DIST textwrap-0.10.0.crate 15986 BLAKE2B bcbd40fe4c8322e459c505e0f175b5b088322c33ba56d8c4b294788950681c2407ba08fae2c15711f8f0d5e1f0afed38f82deaffe1c2b16a4f4ab14723b71bb4 SHA512 cb50cc73f3f5ab704ef9e6d526b751f7e66de213fa534206e5b4e9da829f19aedda9f23f262f865fdb3247c703aeaa87f38099f6c575d1961ec923d62a9b2293
DIST textwrap-0.11.0.crate 17322 BLAKE2B 257428908342774593bbd3528fcdae710712ff54e8a711393a24356d8ba0e16e466a4b20c05f942c48ca76b3b5b5aaa90ec202f782cad892caa8b71ccf124da6 SHA512 f5c0fe4f28ff1a3a0931e8e235b5157a45f67967985bcc752418c5ec3481fca44a8ae4800088889b37e8cd0533f53d3c456d5ffd19b767b3f83a87b49a2e209a
DIST treeline-0.1.0.crate 3855 BLAKE2B 3347bee24c686a6b6890f85b60429d36b14f2738e6a5e5adcd493d099b097a8087f7c61f4c155fd8b3af3982a97da31740353b4d036ae451ed8944a9b0feaf75 SHA512 37a7c7e95855fdf0fafe5b529eed6c6cfc641da799bc6738a5649a9a0c3db2ef3e63d692862a987bc19263f33b6df2e8ae71b49fe30160d6d470cbb804511824
DIST unicode-width-0.1.5.crate 15761 BLAKE2B 575e6bfe8b8b70cb0e5a167bf546df2964361a223b03a65bdc588c32d4cf9f01194daa8d6d1c90319f1f9981aa5b092dce67c9c97450be4ea630784d834cdbe2 SHA512 bd5ac5f0433953d79408074239edc7c43ce23d56659d467805d81ab01c576a3cf77ccedb3bba41d48bc4ad46a8905ac8a1927b99312053ef6295fd940a6766d2
DIST unicode-width-0.1.7.crate 16644 BLAKE2B 8cc5ee2dfeeda8ffe3405a0d4f1576d2b3b8ede1a42cbefb0ba3bd0d71b53a92ceade86c4a06e9d5b31382955dc6e1152ae5cd279dc26dbc51f478dad1d0f64d SHA512 39b8a539c9009d0421f54ae68b139f21456c9cb03d743b58535a977f98bc9655cf42eaacfadbcff796c187a6f315ae16259ee22be9c2da5aa042172c6b464d84
DIST vec_map-0.8.1.crate 14959 BLAKE2B f5c179ccb4349d543747d5e3bb3edfca4bc9f3f64ba3c2d40fb1d9cba98433b7a0641387aafda6347c9b3603592c64bd820b217b46fbfcd37f802f298e5793ab SHA512 026cf10dc7ba98ae51dd312fc847cbaea41c25f0da5db6e0e22c2ecf75584bbf876d7bd96035fbbcf6696d702d5a3f25977e02a2d77cf519aa21e3ed05710e40
DIST wait-timeout-0.2.0.crate 12441 BLAKE2B a99d3f57bc6e784ac06167f98b2dc2841f730dfab4fb9772b15e67707f756d6ba7daeb3e992d32291bed3daa85eaa8a8ddde64db5e1acf1cc4031fc9bdc82212 SHA512 db3b7aa2acfd44e64451042b8ba98eecab77a82aa5c58ed08dadb119ab36dee4e26d62baad7978ed56d5ad03019c96be5021455362290f56043981137bac8066
DIST winapi-0.3.6.crate 1029391 BLAKE2B 9a52085c3cb74d84bc66cee575da0105eeca69f6abd3c8c601a4de013bafea795f044748be10ec9ab419a9ec82a304a0b65ba4d74f6cb39baff91228f83009f1 SHA512 991eb3d6ba08d59e7f7ec81ebf469cecc56b3723b636392972d2fdc1d6f13d88f8a244ad5cbb20f6058d12b44e060ed663c12aa3fbcd1235ab511fafa105cd3c
DIST winapi-0.3.8.crate 1128308 BLAKE2B e0e8ef6121f222b0500525192ebb69b26b71cc16f9ba92186f8ad6acc9de4cb8cc7c738f9c31f5bd223d2e34c93c496e8448c973d69797776004670c70abf69c SHA512 5a899ee5f09f30d742b8b8eba78da05cd9f4c664408fdeb9370373f8756a962a23e3f1c07619e745b3270138606c9a369076c02c3f5353f657df09d203d9a736
DIST winapi-i686-pc-windows-gnu-0.4.0.crate 2918815 BLAKE2B 4d357e4d30f9552972170d65b9a5358b69c46a3e772fe05efc22f3d4ffc1caeeaad7aacdc7abd503a7ad0545f8bd7d22bf351dcb6df76f812fa4d45c34d65df0 SHA512 a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2

View File

@@ -0,0 +1,54 @@
# Copyright 2017-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Auto-Generated by cargo-ebuild 0.3.1
EAPI=7
CRATES="
ansi_term-0.11.0
assert_cmd-1.0.1
atty-0.2.11
bitflags-1.0.4
clap-2.32.0
difference-2.0.0
doc-comment-0.3.3
libc-0.2.47
predicates-1.0.5
predicates-core-1.0.0
predicates-tree-1.0.0
redox_syscall-0.1.50
redox_termios-0.1.1
strsim-0.7.0
termion-1.5.1
textwrap-0.10.0
treeline-0.1.0
unicode-width-0.1.5
vec_map-0.8.1
wait-timeout-0.2.0
winapi-0.3.6
winapi-i686-pc-windows-gnu-0.4.0
winapi-x86_64-pc-windows-gnu-0.4.0
"
inherit cargo
DESCRIPTION="Futuristic take on hexdump"
HOMEPAGE="https://github.com/sitkevij/hex"
SRC_URI="https://github.com/sitkevij/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
$(cargo_crate_uris ${CRATES})"
# Prevent portage from trying to fetch bunch of *.crate from mirror despite they are not mirrored.
RESTRICT="mirror"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND=""
src_install() {
cargo_src_install
dodoc README.md
}