Merge updates from master

This commit is contained in:
Repository mirror & CI
2020-05-01 10:07:56 +00:00
57 changed files with 1412 additions and 25 deletions

159
README.md Normal file
View File

@@ -0,0 +1,159 @@
**This document is a draft, which is why it is in this fork for now**
<p align="center">
<img src="guru.svg" alt="logo">
</p>
# The GURU Project Repository
<table><tr>
<td width="68%">
**The official repository for new Gentoo packages, maintained collaboratively by Gentoo users.**
This README contains some additional useful information for GURU contributors, such as common mistakes, frequently asked questions and other tips and tricks.
The [GURU regulations](https://wiki.gentoo.org/wiki/Project:GURU#The_regulations), and the Gentoo [developer manual](https://devmanual.gentoo.org/) take precedence over any information here.
*See [wiki.gentoo.org/wiki/Project:GURU](https://wiki.gentoo.org/wiki/Project:GURU) for more information on the project.*
</td>
<td width="27%" style="border-style:solid; border-radius:10px;">
### Contents
1. [Frequently Asked Questions](#FAQ)
2. [Common Mistakes](#CommMist)
3. [Other Tips and Tricks](#tips)
4. [Useful Links](#links)
5. [Email Addresses](#email)
</td>
</tr></table>
## Frequently Asked Questions <a name="FAQ"></a>
- #### How do I contribute?
See [wiki.gentoo.org/wiki/Project:GURU/Information_for_Contributors](https://wiki.gentoo.org/wiki/Project:GURU/Information_for_Contributors)
- #### What are the rules and regulations?
See [wiki.gentoo.org/wiki/Project:GURU#The_regulations](https://wiki.gentoo.org/wiki/Project:GURU#The_regulations)
- #### What does GURU stand for?
This is very secret, but you might find a clue [here](https://dev.gentoo.org/~mgorny/articles/guru-a-new-model-of-contributing-to-gentoo.html#the-acronym).
- #### [GLEP 63](https://www.gentoo.org/glep/glep-0063.html) says I should use a @gentoo.org email address for signing off, do I need an @gentoo.org email address to contribute to GURU?
No, you do not need an @gentoo.org email address to contribute to GURU, these email addresses are for Gentoo developers only. Instead use whichever email address you want to receive bug mail and other communications on. If you're also a [proxy-maintainer](https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers) please use the same email address.
- #### Can I use RESTRICT="mirror"?
Sure, since GURU packages are not mirrored on the [Gentoo mirrors](https://devmanual.gentoo.org/general-concepts/mirrors/index.html) anyway, it makes no difference. You can use RESTRICT="mirror" to avoid unnecessary fetch attempts. This is not required by GURU nor is it prohibited, just be sure to remove it if you want to move your package to the main Gentoo repository.
- #### I need help, where do I go?
You can reach other GURU contributors on [IRC #gentoo-guru](https://webchat.freenode.net/?channels=gentoo-guru), or by emailing guru-committers@gentoo.org.
- #### I found a bug, what do I do?
You can either contact the GURU contributors using one of the options in the previous point, or you can open a bug on our bug tracker: [bugs.gentoo.org/enter_bug.cgi?product=GURU](https://bugs.gentoo.org/enter_bug.cgi?product=GURU)
- #### I found a bug in a package that I do not maintain, and I know how to fix it, can I fix it myself?
As per [the regulations](https://wiki.gentoo.org/wiki/Project:GURU#The_regulations), yes, you can! Just be sure to maintain respectful and professional behaviour.
- #### Can I commit a package without listing myself as explicit maintainer?
As per [the regulations](https://wiki.gentoo.org/wiki/Project:GURU#The_regulations), yes, you can.
- #### I want to make changes to this document, can I?
Please discuss any changes and additions to this document on our [bug tracker](https://bugs.gentoo.org/enter_bug.cgi?product=GURU) prior to committing them.
## Common Mistakes <a name="CommMist"></a>
- #### Gentoo projects shouldn't be in the metadata files
Please don't put Gentoo projects (e.g. the proxy-maint project) in the metadata.xml files. Gentoo projects and developers are **not** responsible for the packages in GURU, as such they should not be listed in the metadata files.
When moving a package from a Pull Request in the [main Gentoo Repository](https://github.com/gentoo/gentoo) to GURU it is easy to forget to remove the [proxy-maint](https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers) project from the metadata.xml file. The same is true for moving from GURU to a ::gentoo Pull Request, if you forget to add proxy-maint to the metadata file the `gentoo-repo-qa-bot` will complain.
- #### Use repoman for committing
`repoman ci` is strongly preferred over `git commit -S` for committing, because [repoman](https://wiki.gentoo.org/wiki/Repoman) does additional checks and regenerates the manifest before committing. Sometimes committing with repoman is not possible (e.g. when committing eclasses or removing packages), in these cases there is no other possibility but to revert to `git commit -S`. In all other cases it is good practice to use repoman.
In GURU we use ['thin manifests'](https://wiki.gentoo.org/wiki/Repository_format/package/Manifest#Thin_Manifest). Because this is not the default, manifest files should be regenerated when moving a package from another overlay that does not use thin manifests (including your [local overlay](https://wiki.gentoo.org/wiki/Custom_repository) unless it is also configured to use thin manifests).
- #### Quote your variables
String variables should be quoted (e.g. not `$A` or `${A}` but `"${A}"`). `repoman -dx full` will warn you about any unquoted variables you might have forgotten about.
- #### Undesirable/Deprecated dependencies
Sometimes a upstream lists dependencies which are considered deprecated. If possible, packages should **not** depend on these deprecated dependencies. Reasons a dependency might be deprecated is that it is too old, unmaintained, or the features it adds are not useful to Gentoo. You can find an overview of the currently deprecated dependencies and the reason they are deprecated in `${Gentoo_repo_dir}/profiles/package.deprecated`. `repoman -dx full` will warn you if your package depends on a deprecated dependency.
For Python packages there are some additional (test) dependencies that are considered undesirable or not useful, but are not considered deprecated. You can find an overview of those [here](https://dev.gentoo.org/~mgorny/python-guide/distutils.html#enabling-tests).
- #### Licenses of bundled libraries
Some packages include files that are licensed under a different license then the rest of the package. In this case all the licenses should be specified in the LICENSE variable. This is very often the case for packages written in Rust or Go.
Rust and Go packages automagically collect all dependencies. The licenses of the things that are statically linked in these packages should be checked *manually*.
## Other Tips and Tricks <a name="tips"></a>
- #### Use the cmake eclass instead of the cmake-utils eclass
The [cmake-utils eclass](https://devmanual.gentoo.org/eclass-reference/cmake-utils.eclass/index.html) will be deprecated in favour of the [cmake eclass](https://devmanual.gentoo.org/eclass-reference/cmake.eclass/index.html). To make your ebuilds more future proof, you might want to use the cmake eclass instead. These eclasses are functionally equivalent, so replacing references to `cmake-utils_....` with `cmake_....` should just work.
- #### Use the xdg eclass instead of the xdg-utils eclass
The xdg eclass will automatically export the correct functions to the `src_prepare`, `pkg_preinst`, `pkg_postinst` and `pkg_postrm` phases. This means that *often* (but not always) you can save a few lines by using the [xdg](https://devmanual.gentoo.org/eclass-reference/xdg.eclass/index.html) eclass instead of the [xdg-utils](https://devmanual.gentoo.org/eclass-reference/xdg-utils.eclass/index.html) eclass. Please note that if you are using another eclass that exports to the `src_prepare` phase, the xdg eclass **will** overwrite it if it is inherited after that eclass. To fix this, you can inherit the xdg eclass *before* the other eclass.
- #### Use the latest EAPI whenever possible
Since the packages in GURU are all 'new packages' (not in ::gentoo). It is good practice to use the latest [EAPI](https://devmanual.gentoo.org/ebuild-writing/eapi/index.html) (7 at the moment), this makes your ebuilds more future proof.
- #### `repoman -dx full` and `pkgcheck scan`
Running `repoman -dx full` in the directory your ebuild is in will preform some basic checks on your ebuild. Please try to make `repoman -dx full` as happy as possible before committing.
Pkgcheck does even more checks than repoman. While it is good practice to make repoman as happy as possible, it is not necessary to fix *every* issue that pkgcheck reports. Because pkgcheck is *very* strict. That being said, pkgcheck is a very useful tool to perfect your ebuilds.
- #### Tests and documentation for Python packages.
Many Python packages have tests and documentation. Unlike some other eclasses the [distutils-r1 eclass](https://devmanual.gentoo.org/eclass-reference/distutils-r1.eclass/index.html) does not enable support for these tests automatically. This is because there are multiple test runners available for Python. To enable tests for your Python ebuilds, use the `distutils_enable_tests <test-runner>` function. Similarly, support for documentation building with Sphinx can be added with the `distutils_enable_sphinx <subdir> [--no-autodoc | <plugin-pkgs>...]` function. Please note that these functions already append to IUSE and RESTRICT, so there is no need to specify this manually.
See the [dev manual](https://devmanual.gentoo.org/eclass-reference/distutils-r1.eclass/index.html) and the [Gentoo Python Guide](https://dev.gentoo.org/~mgorny/python-guide/distutils.html) for more information.
- #### Avoid introducing USE flags for small files and optional runtime dependencies.
Installation of small files, like documentation, completions, man pages, etc, does not have to be toggle-able with an USE flag. Instead, just install these files unconditionally. This avoids unnecessary recompilations when an user forgot to enable a flag that installs a small file.
The same holds for optional runtime dependencies. It is not necessary to introduce a USE flag, that does not alter the compiled binary and just pulls in an extra optional runtime dependency. Instead, you can notify the user of these optional runtime dependencies with the `optfeature` function from the [eutils](https://devmanual.gentoo.org/eclass-reference/eutils.eclass/) eclass. If, for whatever reason, it is still desired to introduce an USE flag for optional runtime dependencies, one can still use the `optfeature` function as well to allow the user to choose to avoid recompiling a package.
## Useful Links <a name="links"></a>
- https://wiki.gentoo.org/wiki/Project:GURU
- https://wiki.gentoo.org/wiki/Project:GURU/Information_for_Contributors
- https://wiki.gentoo.org/wiki/Project:GURU/Information_for_Trusted_Contributors
- https://wiki.gentoo.org/wiki/Basic_guide_to_write_Gentoo_Ebuilds
- https://devmanual.gentoo.org/quickstart
- https://devmanual.gentoo.org/ebuild-writing
- https://devmanual.gentoo.org/ebuild-writing/variables
- https://devmanual.gentoo.org/function-reference
- https://devmanual.gentoo.org/function-reference/install-functions
## Email Addresses <a name="email"></a>
- guru@gentoo.org (Reach everyone involved in GURU)
- guru-committers@gentoo.org (Reach all contributors)
- guru-trusted@gentoo.org (Reach the [trusted contributors](https://wiki.gentoo.org/wiki/Project:GURU/Information_for_Trusted_Contributors))
- guru-devs@gentoo.org (Reach the Gentoo developers involved in GURU)

View File

@@ -0,0 +1 @@
DIST usockets-0.3.5.tar.gz 47939 BLAKE2B fc73f44adc19bd31b78832084a64f2ba3e7b463232056bf67370cf116bf43a0e63734a26fcc833b3d5f917c671cc6fb1983d52c4c92e2f7aae81500df5c5d12d SHA512 a76a469d10e10592b651aa6ccc5d25dfa89015d6b74c8d2268df8eee4206d9194de82ac79079f06f5277803ecfa13cf4bd9ff29bf0ccc98b6ee64798aada796e

View File

@@ -0,0 +1,54 @@
diff --git a/Makefile b/Makefile
index fa6e2ff..9fdcf47 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,14 @@
+DESTDIR ?=
+
+prefix ?= "/usr/local"
+exec_prefix ?= "$(prefix)"
+libdir ?= "$(exec_prefix)/lib"
+includedir?= "$(exec_prefix)/include/uSockets"
+
+VERSION = 0.3.5
+LIBTARGET = libusockets.so
+
+
# WITH_OPENSSL=1 enables OpenSSL 1.1+ support
ifeq ($(WITH_OPENSSL),1)
override CFLAGS += -DLIBUS_USE_OPENSSL
@@ -35,8 +46,27 @@ endif
override CFLAGS += -std=c11 -Isrc
override LDFLAGS += uSockets.a
-# By default we build the uSockets.a static library
+# By default we build the libusockets.so shared library
default:
+ rm -f *.o
+ $(CC) $(CFLAGS) $(CPPFLAGS) -fpic -c src/*.c src/eventing/*.c src/crypto/*.c
+ $(CC) -shared -Wl,-soname,libusockets.so -o $(LIBTARGET) *.o
+
+install: default
+ # install the folders needed (making sure that the exist)
+ install -d "$(DESTDIR)$(libdir)" \
+ "$(DESTDIR)$(includedir)/internal/eventing" \
+ "$(DESTDIR)$(includedir)/internal/networking"
+ # install the library first, while making sure that the symlink is updated
+ install -m 755 $(LIBTARGET) "$(DESTDIR)$(libdir)/$(LIBTARGET).$(VERSION)"
+ @ cd "$(DESTDIR)$(libdir)" && ln -snf "$(LIBTARGET).$(VERSION)" "$(LIBTARGET)"
+ # we also install all the header files
+ install -m 644 src/*.h "$(DESTDIR)$(includedir)/"
+ install -m 644 src/internal/*.h "$(DESTDIR)$(includedir)/internal/"
+ install -m 644 src/internal/eventing/*.h "$(DESTDIR)$(includedir)/internal/eventing/"
+ install -m 644 src/internal/networking/*.h "$(DESTDIR)$(includedir)/internal/networking/"
+
+static:
rm -f *.o
$(CC) $(CFLAGS) -flto -O3 -c src/*.c src/eventing/*.c src/crypto/*.c
$(AR) rvs uSockets.a *.o
@@ -52,4 +82,5 @@ swift_examples:
clean:
rm -f *.o
rm -f *.a
+ rm -f *.so
rm -rf .certs

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gentoo@aisha.cc</email>
<name>Aisha Tammy</name>
</maintainer>
<use>
<flag name="libuv">Enable bindings to use the libuv dispatcher</flag>
<flag name="openssl">Enable openssl support</flag>
</use>
</pkgmetadata>

View File

@@ -0,0 +1,57 @@
# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit multilib
DESCRIPTION="tiny eventing, networking & crypto for async applications"
HOMEPAGE="https://github.com/uNetworking/uSockets"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/uNetworking/uSockets.git"
else
SRC_URI="https://github.com/uNetworking/uSockets/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~x86"
S="${WORKDIR}/uSockets-${PV}"
fi
LICENSE="Apache-2.0"
SLOT="0"
IUSE="libuv +openssl libressl debug"
DEPEND="openssl? (
libressl? ( >=dev-libs/libressl-3.0.0 )
!libressl? ( >=dev-libs/openssl-1.1.0 )
)
libuv? ( dev-libs/libuv )
debug? (
|| (
>=sys-devel/gcc-7.4.0:*[sanitize]
(
sys-devel/clang-runtime:*[sanitize]
sys-libs/compiler-rt-sanitizers:*[sanitize]
)
)
)
"
BDEPEND="${DEPEND}"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}/usockets-Makefile.patch"
)
src_compile() {
# the Makefile uses environment variables
emake WITH_OPENSSL=$(usex openssl 1 0) \
WITH_LIBUV=$(usex libuv 1 0) \
WITH_ASAN=$(usex debug 1 0) \
default
}
src_install() {
emake libdir="/usr/$(get_libdir)" prefix="/usr" DESTDIR="${D}" install
einstalldocs
}

View File

@@ -0,0 +1 @@
DIST uwebsockets-0.17.4.tar.gz 206285 BLAKE2B bf1394dc2c1e2bbb557238089443ab99e7de5fd73a2998ec5b1f392d80254ec0858a5ed58d94b98aeb0094ad0a1883772d41548583e3beafd12f263adbf4ccf1 SHA512 5d40003d69b0541e9f73b028ca1630f0840fc40495a88de23656829169088f7c5ce23ec2f6d0da07a9a1cd42b5be3a47fb719f4c98e546eb9a4a80e29010889d

View File

@@ -0,0 +1,24 @@
diff --git a/Makefile b/Makefile
index ae71753..d057e96 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,9 @@
+DESTDIR ?=
+
+prefix ?= "/usr/local"
+exec_prefix ?= "$(prefix)"
+includedir?= "$(exec_prefix)/include/uWebSockets"
+
EXAMPLE_FILES := HelloWorld EchoServer BroadcastingEchoServer
THREADED_EXAMPLE_FILES := HelloWorldThreaded EchoServerThreaded
override CXXFLAGS += -lpthread -Wconversion -std=c++17 -Isrc -IuSockets/src
@@ -38,3 +44,9 @@ all:
clean:
rm -rf $(EXAMPLE_FILES) $(THREADED_EXAMPLE_FILES)
rm -rf fuzzing/*.o benchmarks/*.o
+install:
+ # create the folder for the header files
+ install -d "$(DESTDIR)$(includedir)/f2"
+ # now install the header files
+ install -m 644 src/*.h "$(DESTDIR)$(includedir)/"
+ install -m 644 src/f2/function2.hpp "$(DESTDIR)$(includedir)/f2/"

View File

@@ -0,0 +1,13 @@
diff --git a/src/Loop.h b/src/Loop.h
index 3681dad..03d8a75 100644
--- a/src/Loop.h
+++ b/src/Loop.h
@@ -21,7 +21,7 @@
/* The loop is lazily created per-thread and run with uWS::run() */
#include "LoopData.h"
-#include <libusockets.h>
+#include <uSockets/libusockets.h>
namespace uWS {
struct Loop {

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>gentoo@aisha.cc</email>
<name>Aisha Tammy</name>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1,34 @@
# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="ultra fast, simple, secure & standards compliant web I/O"
HOMEPAGE="https://github.com/uNetworking/uWebSockets"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/uNetworking/uWebSockets.git"
else
SRC_URI="https://github.com/uNetworking/uWebSockets/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~x86"
S="${WORKDIR}/uWebSockets-${PV}"
fi
LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
RDEPEND="~dev-cpp/usockets-0.3.5"
PATCHES=(
"${FILESDIR}/${PN}-Makefile.patch"
"${FILESDIR}/${PN}-src_Loop.h.patch"
)
src_compile() {
return 0
}
src_install() {
emake prefix="/usr" DESTDIR="${D}" install
}

View File

@@ -0,0 +1 @@
DIST rauc-1.3.tar.xz 1336420 BLAKE2B 79d8cc081b7871a7c4cf7eee47c042cb57723c60dad0cfefcb194048fe1c9a52261e1ef037f397ec80e7c1f1690fd34e4ce44a2d7cb427a5a48632760215e48b SHA512 044f679f81c0af58d5620a16c3a0fd7bc8ae50dccc403dd26f201735e0d7488e485b84ac38329b5f091648ae1173088a4e14976f6d28ef185a07daed82cc5b65

View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>kurt@kmk-computers.de</email>
<name>Kurt Kanzenbach</name>
</maintainer>
<longdescription lang="en">
RAUC is a lightweight update client that runs on your Embedded Linux device
and reliably controls the procedure of updating your device with a new
firmware revision. RAUC is also the tool on your host system that lets you
create, inspect and modify update artifacts for your device.
</longdescription>
<use>
<flag name="json">
Add JSON support
</flag>
<flag name="network">
Add network update support
</flag>
<flag name="service">
Add dbus service
</flag>
</use>
<upstream>
<remote-id type="github">rauc/rauc</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,47 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Lightweight update client that runs on your Embedded Linux device"
HOMEPAGE="https://rauc.io/"
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz"
SLOT="0"
LICENSE="LGPL-2.1"
KEYWORDS="~amd64 ~x86"
IUSE="doc json network service"
BDEPEND="
virtual/pkgconfig
doc? ( dev-python/sphinx )
"
RDEPEND="
dev-libs/glib:2
dev-libs/openssl:0=
json? ( dev-libs/json-glib )
network? ( net-misc/curl )
service? ( sys-apps/dbus )
"
DEPEND="
${RDEPEND}
"
src_configure() {
local myconf=(
$(use_enable json)
$(use_enable network)
$(use_enable service)
)
econf "${myconf[@]}"
}
src_compile() {
default
use doc && emake doc
}
src_install() {
use doc && local HTML_DOCS=( docs/build/html/. )
default
}

View File

@@ -0,0 +1,3 @@
DIST 1.2.2-br.tar.gz 121036 BLAKE2B 7dabc3013432ce5b7fd612a0b1634ebe5943a53de9031ccb7d7fd8fff95dd79f2d35553ec4b6b50e790bb115c762022c6f5d64d2525997e7af80bc7272d902ff SHA512 c7aef25a9547a202908a69679df42b8f7a988c3cbf8f87d1941aa6fb623d3979412900e97a41e3024d708dbd9cd968cecf57aa6f2ff20669c1e3e29947bd5571
DIST 2.0.0-alpha.2.tar.gz 122978 BLAKE2B 9ed7fcb95b9c2f85072bf73ac92710eaa9eb4c82e053f5f9b95220df47721ed115a2eeb32de9a19217cc97ad7b09797c03319df06bde3697a10ab81766d0bfa1 SHA512 fd35a35ddf18b869e393add16b237e7a489674b51b49ce6816367d95a0a8573dda90ac4e8c64ec35267e1192d63890b1a479ee7e5bb7162aa3c1858708fd95dd
DIST 2.2.0-beta.3.tar.gz 123176 BLAKE2B f87131deccefce76a7fefb0e829564c166f01f316c54bd56e1283999434db809cb54be2278e1653dcb3a01a371b09b08fd95decf1b361c1515e5decf3609453d SHA512 10f70c02b7c0012f1dab31e96aa3337dccc662c51a31c2ad186b6e76815afa8645f3f2370d6eaa788cdbbded416bc36b53e1971005cca49ee10c0d8e6baac239

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>azael.devel@gmail.com</email>
<name>Azael Reyes</name>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1,40 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
DESCRIPTION="C/C++ library to mainly provide Semantic Versioned implementation"
HOMEPAGE="https://github.com/azaeldevel/octetos-core"
SRC_URI="https://github.com/azaeldevel/octetos-core/archive/1.2.2-br.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND="
dev-util/cunit
>=sys-devel/gcc-8.1
>=sys-devel/bison-3.1
dev-libs/libconfig
"
src_unpack() {
default
ln -s octetos-core-1.2.2-br "${P}"
}
src_configure() {
eautoreconf -fi
}
src_compile() {
if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then
emake || die "emake failed"
fi
}

View File

@@ -0,0 +1,46 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
DESCRIPTION="C/C++ library to mainly provide Semantic Versioned implementation"
HOMEPAGE="https://github.com/azaeldevel/octetos-core"
SRC_URI="https://github.com/azaeldevel/octetos-core/archive/2.0.0-alpha.2.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND="
dev-util/cunit
>=sys-devel/gcc-8.1
>=sys-devel/bison-3.1
dev-libs/libconfig
"
src_unpack() {
default
ln -s octetos-core-2.0.0-alpha.2 "${P}"
}
src_prepare() {
eautoreconf -fi
eapply_user
}
src_configure() {
if [[ -x ${ECONF_SOURCE:-.}/configure ]] ; then
econf
fi
}
src_compile() {
if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then
emake || die "emake failed"
fi
}

View File

@@ -0,0 +1,46 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
DESCRIPTION="C/C++ library to mainly provide Semantic Versioned implementation"
HOMEPAGE="https://github.com/azaeldevel/octetos-core"
SRC_URI="https://github.com/azaeldevel/octetos-core/archive/2.2.0-beta.3.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND="
>=sys-devel/gcc-8.1
>=sys-devel/bison-3.1
dev-libs/libconfig
"
src_unpack() {
default
ln -s octetos-core-2.2.0-beta.3 "${P}"
}
src_prepare() {
eautoreconf -fi
eapply_user
}
src_configure() {
if [[ -x ${ECONF_SOURCE:-.}/configure ]] ; then
econf
fi
}
src_compile() {
if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then
emake || die "emake failed"
fi
}

View File

@@ -27,4 +27,7 @@
Build additional shell tools
</flag>
</use>
<upstream>
<remote-id type="github">open62541/open62541</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -9,7 +9,7 @@ inherit cmake python-single-r1
DESCRIPTION="Open source C implementation of OPC UA"
HOMEPAGE="https://open62541.org/"
SRC_URI="https://github.com/open62541/open62541/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MPL-2.0"
SLOT="0"

View File

@@ -0,0 +1 @@
DIST almost-0.1.5.tar.gz 4529 BLAKE2B 098b6fdaf03799fe6269249cfbd1609e514fa2672c3f71bef6feb16e7679a16d1ea45845cfe2d355c4cb1e39936fa356e50af94f1c7d6a67c7491b6bf1fdedcd SHA512 707bad3a4ef0a910271af93c739a9139b10e5afbadfd329a522ab3992a6a7baf47b0f272154482eabecf3029814542eaef535baea5f7995b7fd39c0a51671b4c

View File

@@ -0,0 +1,37 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
inherit distutils-r1
COMMIT="cc3eeb0abde7ff95a222d571443989c74a112ff7"
DESCRIPTION="A helper for approximate comparison"
HOMEPAGE="
https://github.com/sublee/almost
https://pypi.org/project/almost
"
SRC_URI="https://github.com/sublee/almost/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
S="${WORKDIR}/${PN}-${COMMIT}"
#no tests in pypi tarball
distutils_enable_tests setup.py
src_prepare() {
sed -i "s|distribute|setuptools|" setup.py || die
default
}

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<bugs-to>https://github.com/sublee/almost/issues</bugs-to>
<maintainer>
<email>sub@subl.ee</email>
<name>Heungsub Lee</name>
</maintainer>
<remote-id type="pypi">almost</remote-id>
<remote-id type="github">sublee/almost</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1 @@
DIST doxypypy-0.8.8.6.tar.gz 39019 BLAKE2B 6f1860ec3f9a33762297cb9b0ccdb3523dfb0855f7eb56ef4d5fe0346e25a0980dd3d007af9d4bc6d3a8502589d8a9701c4d428aa342f6156a6c7aa47a5f1ca1 SHA512 17b69d625187983dcd48ec00c317916493228d999f254dd00d85f826ab45e0a5b73557ab5975d7d64a312161c821c78ef1cbca117e2455d3440b247d45ef8399

View File

@@ -0,0 +1,29 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_{6,7,8} )
inherit distutils-r1
DESCRIPTION="A more Pythonic version of doxypy, a Doxygen filter for Python"
HOMEPAGE="https://github.com/Feneric/doxypypy"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
RESTRICT="!test? ( test )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
test? (
dev-python/zope-interface[${PYTHON_USEDEP}]
)
"
RDEPEND="
dev-python/chardet[${PYTHON_USEDEP}]
"
distutils_enable_tests unittest

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>xgqt@protonmail.com</email>
<name>Maciej Barć</name>
</maintainer>
<upstream>
<remote-id type="github">Feneric/doxypypy</remote-id>
<remote-id type="pypi">doxypypy</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1 @@
DIST skills-0.3.0.zip 37199 BLAKE2B c27ac509c56ebf1152924c577a0e540a92f658977f5694be3647a658185990611ce30ebf27d755f032eee135a151a2e7228927a9054a502cf528573053789129 SHA512 0f825d0abe1fe9f1733f0be27e62bff97972a43ea09fb6ac4bf64098dfa6bf71c5408a9d0b5cb47fccfd7d539691f31c45787ab82ca408954c9a531553e20989

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<bugs-to>https://github.com/McLeopold/PythonSkills/issues</bugs-to>
<changelog>https://raw.githubusercontent.com/McLeopold/PythonSkills/master/CHANGES.rst</changelog>
<maintainer>
<email>mcleopold@gmail.com</email>
<name>Scott Hamilton</name>
</maintainer>
<remote-id type="pypi">skills</remote-id>
<remote-id type="github">McLeopold/PythonSkills</remote-id>
</upstream>
<longdescription lang="en">
This is a Python port of the Moserware.Skills project that's available at
http://github.com/moserware/Skills
For more details on how the algorithm works, see
http://www.moserware.com/2010/03/computing-your-skill.html
</longdescription>
</pkgmetadata>

View File

@@ -0,0 +1,26 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{6,7} pypy3 )
DISTUTILS_USE_SETUPTOOLS=bdepend
inherit distutils-r1
DESCRIPTION="Python Implementation of the TrueSkill, Glicko and Elo Ranking Algorithms"
HOMEPAGE="
https://github.com/McLeopold/PythonSkills
https://pypi.org/project/skills
"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.zip"
SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64"
RDEPEND=""
DEPEND=""
BDEPEND="app-arch/unzip"
distutils_enable_tests setup.py

View File

@@ -0,0 +1 @@
DIST trueskill-0.4.5.tar.gz 30714 BLAKE2B 86301c80cca29c11dd58bd01fb2f2d15ebacab6e768038ac7cce4728b642de0d3f6125189079df36919360909967d31a37300970e0db18acfaba573450fa501a SHA512 c94f7ba2d4aed615e5591a3f1f263d0368962b5a1eeb5e7379a59ed6faeb7af2587438617f2917a0f94dc9fd5ea290932947dcc8925f685a055f131859d2eca6

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<bugs-to>https://github.com/sublee/trueskill/issues</bugs-to>
<changelog>https://raw.githubusercontent.com/sublee/trueskill/master/changelog.rst</changelog>
<doc lang="en">https://trueskill.org</doc>
<maintainer>
<email>sub@subl.ee</email>
<name>Heungsub Lee</name>
</maintainer>
<remote-id type="pypi">trueskill</remote-id>
<remote-id type="github">sublee/trueskill</remote-id>
</upstream>
<longdescription lang="en">
TrueSkill is a rating system among game players. It was developed by Microsoft Research and has been used on Xbox LIVE for ranking and matchmaking service. This system quantifies players TRUE skill points by the Bayesian inference algorithm. It also works well with any type of match rule including N:N team game or free-for-all.
This project is a Python package which implements the TrueSkill rating system:
</longdescription>
</pkgmetadata>

View File

@@ -0,0 +1,34 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
DESCRIPTION="Python Implementation of the TrueSkill, Glicko and Elo Ranking Algorithms"
HOMEPAGE="
https://trueskill.org
https://github.com/sublee/trueskill
https://pypi.org/project/trueskill
"
SRC_URI="https://github.com/sublee/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="
dev-python/six[${PYTHON_USEDEP}]
test? (
>=dev-python/almost-0.1.5[${PYTHON_USEDEP}]
>=dev-python/mpmath-0.17[${PYTHON_USEDEP}]
<dev-python/pytest-4.0[${PYTHON_USEDEP}]
)
"
distutils_enable_tests setup.py
#docs require a py2 only sphinx theme

View File

@@ -0,0 +1 @@
DIST ufoNormalizer-0.4.1.tar.gz 30350 BLAKE2B b5709deea451f28a4372cefca497dcde5875a6fd64afc5b21e8a115d02ed4ade714e6b5b3d2f445d4de70ba47a3a8dd9ed4e1e0c3e27f9ed6e7eb9f1994db134 SHA512 bf8cb37b171363e1eca85ba01f78f8c2ed4d7741aba3ca8b77c1590fc81cca194d521224f370cdadcda033772d2e5c540d04098558a148d44c747af20f4b636b

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<bugs-to>https://github.com/unified-font-object/ufoNormalizer/issues</bugs-to>
<maintainer>
<email>tal@typesupply.com</email>
<name>Tal Leming</name>
</maintainer>
<remote-id type="pypi">ufonormalizer</remote-id>
<remote-id type="github">unified-font-object/ufoNormalizer</remote-id>
</upstream>
<longdescription lang="en">
Provides a standard formatting so that there are meaningful diffs in version control rather than formatting noise.
Examples of formatting applied by ufoNormalizer include:
Changing floating-point numbers to integers where it doesn't alter the value (e.g. x="95.0" becomes x="95" )
Rounding floating-point numbers to 10 digits
Formatting XML with tabs rather than spaces
</longdescription>
</pkgmetadata>

View File

@@ -0,0 +1,23 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{6,7} pypy3 )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
DESCRIPTION="A tool that will normalize the XML and other data inside of a UFO."
HOMEPAGE="https://github.com/unified-font-object/ufoNormalizer"
SRC_URI="https://github.com/unified-font-object/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64"
DEPEND=""
RDEPEND=""
BDEPEND="app-arch/unzip"
distutils_enable_tests setup.py

View File

@@ -9,4 +9,7 @@
This package contains a collection of utilities and example code to be used
with the eXpress Data Path facility of the Linux kernel.
</longdescription>
<upstream>
<remote-id type="github">xdp-project/xdp-tools</remote-id>
</upstream>
</pkgmetadata>

72
guru.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 66 KiB

View File

@@ -1 +1 @@
DIST mutt-wizard-0_pre20200412.tar.gz 31845 BLAKE2B db798819fb403e0e8cc473dd31fecc4c4ad62ef0748b714fb9c11555bad4865ba8e43795f9cfc553ec103fa80dee51acd09c59991836b974bbfccca4d465212d SHA512 a37c85e23b473834a2f4c95666ae019323cac40115aeb8d7265de26ed0c4456199870909ba9aa4fb10cac5606892382f3b3efa55afcf6494ef900a2881cd0dd1
DIST mutt-wizard-0_pre20200430.tar.gz 32120 BLAKE2B 0afe766ae7f8640cb58afbc70901fb358d17b9ad844b0d4a05e91d7be4d93847f2e4cc34eef690d2e905cebcb17ebe21cfee4beefc971e09dca2129ab5d349d6 SHA512 b8008e8c804da6d30be55790fe7b1a511671f93629527a9f7062d8c1865c4267a282c5ac9719367671d99a76aa29b8bd3ed05fad6d3ec2939a659ca38c558c51

View File

@@ -6,7 +6,7 @@ EAPI=7
DESCRIPTION="A system for automatically configuring mutt and isync"
HOMEPAGE="https://github.com/LukeSmithxyz/mutt-wizard"
COMMIT=7c980ec6fbc4e51f3fa663a541de4ff5a4f6587f
COMMIT=069910c13ec1c89421372b8e54b40cd2ae783303
SRC_URI="https://github.com/LukeSmithxyz/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"

View File

@@ -1,14 +1,20 @@
DIST AMDVLK-v-2020.Q1.4.tar.gz 30348 BLAKE2B fc3e4f03d52c064f8b028b1afd2aad6aab3196811d2d6e9535399f39619dc88317e3fb94e1faa9048fc6a3cbe64b1ee6ddc66a759fd38f5408e9cf8b9f535caa SHA512 53fd24eee13c38360b9f962a5d28a1598cdb180357a1ba8ba7c4460d6cd43f909fac25b8cb3231ec29ee172d85ff23faaa135970683072aa468bd15a5505353f
DIST AMDVLK-v-2020.Q2.1.tar.gz 30353 BLAKE2B f324ee4d5e4b57d8ca71f8dded5902ebad45442fd1915de165afac127a6339cdc2c7a855a9ff150a58f7ff3bf280a5dd5b6fd8d36a88e39eab98ce1e62670739 SHA512 daa3ce7402651a5f4ea6f932485650286d5658f95cb119a3c572b9a4cad642f6b35dd3cd07fbfc6927b9bbb0a7bd9d52c2f04b60c7d08f976b64cf10ec4d91a2
DIST AMDVLK-v-2020.Q2.2.tar.gz 30279 BLAKE2B ee6f8613d85258af31c15fc6cbe7564d04fe5a8645827312bb84b803adab29a50c8074e609c11cda74786af623dd13a17c74202c47812781e2fd7149d12eb9e6 SHA512 1fdbd3b83493e0303acac4987c3770e0fec2912c13eb404895471456e3d74e7a600d63a1c191d979299d869051bdb11a643b70d2a8acaa9af24cb766093c295f
DIST CWPack-b601c88aeca7a7b08becb3d32709de383c8ee428.tar.gz 24538 BLAKE2B b30ddc4cf6e307864c77308faeb5a41a8ed9e708b668dac25989cfbe528422d70ffc17b54109c52abdf5da5c426a3d143cd19b4a3577459d5cce72a85e71284d SHA512 cc544f361ced841525041d6d31678698946362338cbd49ccfda6836f2dcfa4ce495d09b7ce191699364fd5101c671a6734aa4fb3ce447b9e8f1e75f7ea13c766
DIST MetroHash-2b6fee002db6cc92345b02aeee963ebaaf4c0e2f.tar.gz 11762 BLAKE2B 4210468564233b0d49572bef5046479123e7597fa69d5a62d8e2b39b3898e89ae044ea2e58cce21f5034fd06c6178b9dbbee25d8f5ad5f3da18ac762b54400cb SHA512 565f98cb44af81c43096eabeaba269ea9cdc3ecfb06868fedf663a0d6f88f3c49251192de43cb30a5172b2ac60580f58fc2bacbd4cbefbc42283efccdfa8a87f
DIST llpc-3864fc733e437a6e6ae729c6858b92b39194eada.tar.gz 1889074 BLAKE2B 5a92b85e1f5cb8c6d38a5494fe0b0ed9506e08595b4bd60ce660c654f8efe4411f9239c8413ba32138fb9b81093674c0afb97b88c3a8051d4a3ea49d2daa6f84 SHA512 6def126e9c73cf19a62810b0bb8b095bd1b6e8a89d606e24f8d70bd9dca92834c72fc6795612194b46aea73ffb0ab851e6cdcbf9e0343a4dff1adebecd6d4f12
DIST llpc-7686a2ddba683f7a361460f3806b0d45e615ca76.tar.gz 1955263 BLAKE2B f9c6ad489f4998ede751d0b35b129a27d91d0e9d0e86a6d05652adb016eaae9ae40f3756c12ad2139040ab7543aeb1399988f28bda70417f480f42b0a8980ae9 SHA512 dc737957da89f6af4fdb85df2113857d8b9418df4396e7e362d029c696a11cf691b5aaff1ce14ab8ad0c1301d10af5f689394a76351eb965cba6be0e0194cb5d
DIST llpc-9889f54c9a31743b48f3dafcb8ca0c106ed15da4.tar.gz 1882348 BLAKE2B 1e05d12dd3890604adc5d7dab6ed0645c977985157f86984e8dfa23fd65bdd42dc0df4b8154a6e153849ed14eed279bd08258e058449c1ee178c173d97bf7608 SHA512 c1cbe0a005a2e4b5b35baed51f1531e12456ac18c110d4c7f8fbe4e3dbc51920cdf1ec262b81d42c4c7af28523fc051ca5fb12ffd084bf483bb7bd9b4d06ce83
DIST llvm-project-50077fcc15e5844dacd820dcdb02edb23fc00330.tar.gz 116114571 BLAKE2B 3eac7f4646100a5e3d1f57e5524c2bfaf62aa119d24d34d9145d060dcb1cef6243eacc7ffa154760741f0597b6ebe2c56ca1f636f1f2e26f79fdd476c46ab20b SHA512 efb9898687315a2105383f47c2175335097815a66377b048b82fc910fa0be937da101de5f97c22f132c95ffaa08db68aa6f7d5b4516d1e94623138e27263e4b1
DIST llvm-project-5c958c70bc6366298296dc778e903f65528c3b0f.tar.gz 116288565 BLAKE2B 438a04e6f3394e94bcfdcf97ecb240216050e723e1685ba05b10333061e7c8a6a79023071f35547509c88ed55541ed4e51988e06a89013201154dd89240b6f94 SHA512 57da73edda674e10ed799a06fa16f3dc5d241307bc28b463ab1cf4f359daa07c186fd64e242053fc4a3869efa604176c92a7850fc6005b1333e5aa92f6bf0bdd
DIST llvm-project-a1299ba9c8e2337f00bdec73e2031144d9811ed7.tar.gz 118371040 BLAKE2B 04166ff744ff4b61b9420abe9161f417856b8ae680f1021a94f42f6ef97c4d43a91655c2fec1201d2e323e35da2faa7125a9e9710e2705919477f09206c89e62 SHA512 a4f6df3522805ce56fb852ce067e3b6b36e0a3816629981b076710e7db8a6194a3ee023c0f79ecb2070236874f3c2d67cdafc96d888e1e66684333b51a541d52
DIST pal-8b2381a1d05cd2c9c4e7cc2eeda053e76d8c9a4a.tar.gz 7405161 BLAKE2B 530ac292eb7eff44a039ea4f0ea6a8a18318f31acede526884ea8ebd2bdcf3beac096904ce395079493b94e010e01843b3cd476b894aae0021e9dc9973fc01c4 SHA512 81fb7a59e692f50c3b3ebb26102064659625d2ee93f3c1e50e42036b3f85ab9cb6085ea64c82cb6df98dbba5f30e2c63d7932878e7371de2389987358ec1a5bd
DIST pal-bb7398b1c7509a30ba4f7d947b5ad5549a4d58db.tar.gz 7340860 BLAKE2B 66c0055ecff085b4ad762cba70f5c8448c448bcdebc2ebffd368a8a953cf40eb6e114e3c97cdd772b0c8c98982288f04915f647d247d21bd4dc7135491f98d28 SHA512 ed5cecd0243322f6c9885203677faabf4245b7af88b0eac2b0a736af971491690ce123b243b1d76af06249f0549aa2a724b67120ac413c6f4f6de0651d8c6b60
DIST pal-e1b2dde021a2efd34da6593994f87317a803b065.tar.gz 7408718 BLAKE2B 87bc402f34ef671c9736dcc22e4989eee9934caa98b6c5a619eea19219bc9f62decf2c39cf5272306a169a9d1182a7346c3f637f3bbc291321079f79769984de SHA512 c3aea11091ce22ee4e9b0dce0eea43ce9e9b3c2462293ebe820b83c728db229275ceaeef0d6f0cec53eeb66f50256d966c90b600f4b2fadb62c8fd2d1e6677dd
DIST spvgen-a223c8636f8306697f6fdc86f742b99fbd8c5dbd.tar.gz 17695 BLAKE2B d1d81400cd8fd411a4828d206b54444f24486e0079c176a2ce2a6b1d359cd4f8b9e08a65b666d6d448e883ae15285a1ba4f4c8fb18e9c513a69afd6438e52d62 SHA512 25608f761f9d6ea1e1980698ade737a85a5ea552649ffb0b2928d1f1c0e4252696078ea1f37ee08c12e538148cf1a7a4c6d5edbdd636d0c2b3a03992cf180dd2
DIST spvgen-d16fddddf22a1eb3a3f4ce05cbcb95a337f708b1.tar.gz 17745 BLAKE2B b4244e0eb7e2967b692569090481e21cf87ee2124f9e9c0bc550be5e9c26baa08a6be33785cb15c05b54d57805cb1489f7f9abcc3490ed1f374f7c2a4b7dee61 SHA512 48ba6708eae2409af54165eb8577eded0f3adc228963807ef4a49496c954e1ee256c00b243fa1caa070cbc4931c1d8b6dcbc702620d6361bd3ab0a1a3414bce3
DIST spvgen-d4817ab957f79762da83b7fc1d3f2816dbdc13fd.tar.gz 17687 BLAKE2B 2e451252f037994373c48e960016cc844ecbd43a539a74cbc02ea91d063f67079f48be29c56fe70531dd07d20f72cde6903cd01c4150631bab7c04573a956e0d SHA512 7099dce061a64760f023b23eaf5100093dcdbb890100b3a4815e8a67ae85efa2f2534508aa247a1aebba10d26e4e582cf0d0ffde7d9c3193927dead5b0023690
DIST xgl-1f6143fb951622e06fe7b9396957976fc9feddc7.tar.gz 755327 BLAKE2B 1b57a66988dd4c33f21babca9d5cb18b39204fd6c37b66c32b2078c506221f33fea47b7787a55af4042a7c8fea9fca3e64a4f60ac4e560c24e38732af5fb42a0 SHA512 aada4d716d837356fed7ff6dbadf49d148245e33616441c6648b6cd687412017f6aa8bd0db2829436709d6bf8454470d8adced20053f07b93ffe6d7ea054d35f
DIST xgl-2db4177e78133c868e2c6b4dcc46aeb2f512163a.tar.gz 841923 BLAKE2B e67ae03976a806ed1eaddfd694270ea58d18a0d9cb60a8fe4ac67cbddf765df958127258aa28d8d824c5267fbcd3066abb3ffdb0fb2064c580cbdc4d7daf638b SHA512 26fdf2003c32d63792b80942d59bdda56c26e809a26031f77c0f31383df280c8b76ef7c9d321d193e2512075f197461b27db356f8170887c25fda01c85b9f5ed
DIST xgl-d8c926b86b1245badc67e5d55b0eaa45d4a910a0.tar.gz 775410 BLAKE2B fcce5189b11cb104e43a4b8e100f751e8d3d326327670b446f531d6a8e08340e4f26eda744cdeb2a463cb975c75ff0c06334d5224beaf580c9e05c59508d7ed5 SHA512 77aa54a2a74e81d94461c6b6fd4d6c502ca397bb0a4c6cc33714a6e2b80b2f4d6de60676fcc24836f378d1d20306681ff20d3c4a20cc9af340becc414c78ab6a

View File

@@ -83,10 +83,10 @@ EOF
}
multilib_src_configure() {
local mycmakeargs=( \
-DBUILD_WAYLAND_SUPPORT=$(usex wayland ) \
-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")" \
-B${BUILD_DIR} )
local mycmakeargs=(
-DBUILD_WAYLAND_SUPPORT=$(usex wayland )
-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")"
-B"${BUILD_DIR}" )
cd "${S}"/xgl
cmake -H. "${mycmakeargs[@]}"
}

View File

@@ -83,10 +83,10 @@ EOF
}
multilib_src_configure() {
local mycmakeargs=( \
-DBUILD_WAYLAND_SUPPORT=$(usex wayland ) \
-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")" \
-B${BUILD_DIR} )
local mycmakeargs=(
-DBUILD_WAYLAND_SUPPORT=$(usex wayland )
-DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")"
-B"${BUILD_DIR}" )
cd "${S}"/xgl
cmake -H. "${mycmakeargs[@]}"
}

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.135"
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.135[${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="d8c926b86b1245badc67e5d55b0eaa45d4a910a0"
PAL_COMMIT="e1b2dde021a2efd34da6593994f87317a803b065"
LLPC_COMMIT="3864fc733e437a6e6ae729c6858b92b39194eada"
SPVGEN_COMMIT="d4817ab957f79762da83b7fc1d3f2816dbdc13fd"
LLVM_PROJECT_COMMIT="a1299ba9c8e2337f00bdec73e2031144d9811ed7"
METROHASH_COMMIT="2b6fee002db6cc92345b02aeee963ebaaf4c0e2f"
CWPACK_COMMIT="b601c88aeca7a7b08becb3d32709de383c8ee428"
## 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

@@ -0,0 +1,157 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python2_7 )
inherit ninja-utils python-any-r1
#https://github.com/google/skia/blob/master/include/core/SkMilestone.h
COMMIT="1c9ebb50024f80f3bf289838298e15185d8f6966"
SRC_URI="https://github.com/google/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
DESCRIPTION="A complete 2D graphic library for drawing Text, Geometries, and Images"
HOMEPAGE="
https://skia.org
https://github.com/google/skia
"
LICENSE="BSD"
SLOT="0"
IUSE=""
#IUSE="dawn expat gif jpeg png pdf webp zlib"
#TODO: find out how to enable and link: angle egl ffmpeg fontconfig freetype gl harfbuzz heif icu lua opencl piex sfntly wuffs vulkan xps s
#TODO: find out which deps are needed for gl/egl/vulkan/X/gif/xps
# ffmpeg? ( virtual/ffmpeg )
# heif? ( media-libs/libheif )
# icu? ( dev-libs/icu )
# virtual/opengl
# lua? ( dev-lang/lua )
# opencl? ( virtual/opencl )
RDEPEND="
app-arch/bzip2
dev-libs/expat
dev-libs/libbsd
dev-libs/libpcre
media-gfx/graphite2
media-libs/fontconfig
media-libs/freetype
media-libs/harfbuzz
media-libs/libglvnd
media-libs/libjpeg-turbo
media-libs/libpng
media-libs/libwebp
sys-apps/util-linux
sys-libs/zlib
x11-libs/libxcb
x11-libs/libX11
x11-libs/libXau
x11-libs/libXdmcp
"
DEPEND="
${PYTHON_DEPS}
${RDEPEND}
"
BDEPEND="
dev-util/gn
"
S="${WORKDIR}/${PN}-${COMMIT}"
src_prepare() {
default
# https://chromium.googlesource.com/chromium/src/third_party/zlib
# https://github.com/jtkukunas/zlib
sed \
-e '/:zlib_x86/d' \
-e '/third_party("zlib_x86/,/^}/d' \
-i third_party/zlib/BUILD.gn
#remove questionable cflags
sed -i 's|-O3||g' gn/BUILD.gn || die
sed -i 's|-ffunction-sections||g' gn/BUILD.gn || die
sed -i 's|-fdata-sections||g' gn/BUILD.gn || die
}
src_configure() {
python_setup
tc-export AR CC CXX
local myconf_gn=()
passflags() {
local _f _x
_f=( ${1} )
_x="[$(printf '"%s", ' "${_f[@]}")]"
myconf_gn+=( extra_${2}="${_x}" )
}
passflags "${CFLAGS}" cflags_c
passflags "${CXXFLAGS}" cflags_cc
passflags "${CFLAGS}" ldflags
myconf_gn+=(
ar=\"${AR}\"
cc=\"${CC}\"
cxx=\"${CXX}\"
is_component_build=true
is_official_build=true
skia_use_dng_sdk=false
skia_use_metal=false
skia_use_sfntly=false
)
# skia_enable_pdf=$(usex pdf true false)
#
# skia_use_dawn=$(usex dawn true false)
# skia_use_expat=$(usex expat true false)
# skia_use_libgifcodec=$(usex gif true false)
# skia_use_libjpeg_turbo_decode=$(usex jpeg true false)
# skia_use_libjpeg_turbo_encode=$(usex jpeg true false)
# skia_use_libpng_decode=$(usex png true false)
# skia_use_libpng_encode=$(usex png true false)
# skia_use_libwebp_decode=$(usex webp true false)
# skia_use_libwebp_encode=$(usex webp true false)
# skia_use_zlib=$(usex zlib true false)
# skia_use_angle=$(usex angle true false)
# skia_use_egl=$(usex egl true false)
# skia_use_fontconfig=$(usex fontconfig true false)
# skia_use_freetype=$(usex freetype true false)
# skia_use_ffmpeg=$(usex ffmpeg true false)
# skia_use_gl=$(usex gl true false)
# skia_use_harfbuzz=$(usex harfbuzz true false)
# skia_use_icu=$(usex icu true false)
# skia_use_libheif=$(usex heif true false)
# skia_use_lua=$(usex lua true false)
# skia_use_opencl=$(usex opencl true false)
# skia_use_vulkan=$(usex vulkan true false)
# skia_use_x11=$(usex X true false)
# skia_use_xps=$(usex xps true false)
# skia_use_piex=$(usex piex true false)
# skia_use_sfntly=$(usex sfntly true false)
# skia_use_wuffs=$(usex wuffs true false)
# use freetype && myconf_gn+=( skia_use_system_freetype2=true )
# use harfbuzz && myconf_gn+=( skia_use_system_harfbuzz=true )
# use icu && myconf_gn+=( skia_use_system_icu=true )
# use jpeg && myconf_gn+=( skia_use_system_libjpeg_turbo=true )
# use lua && myconf_gn+=( skia_use_system_lua=true )
# use png && myconf_gn+=( skia_use_system_libpng=true )
# use webp && myconf_gn+=( skia_use_system_libwebp=true )
# use zlib && myconf_gn+=( skia_use_system_zlib=true )
myconf_gn="${myconf_gn[@]} ${EXTRA_GN}"
set -- gn gen --args="${myconf_gn% }" out/Release
echo "$@"
"$@" || die
}
src_compile() {
eninja -C out/Release
}
src_install() {
dolib.so out/Release/*.so
insinto "/usr/include/${PN}"
doins -r include/.
}

View File

@@ -0,0 +1 @@
DIST syncplay-1.6.4_p1.tar.gz 1791803 BLAKE2B ac309c224ad61c94712f18b3cc7216b9a2fe431251feb2d26b1db3d728bd97b89e6aa362b7b64992152b41a25ac107428f910c24ec0ba88e7c6f042ae1628c07 SHA512 7cf41088462b3140836ba5c2d0376fcae78263255280dfb63575ab8015f21953c78c01d0a2e22c5c09902679cb8ae2f1fdbb5d9fbe4150c5ed8d3d4b8edb49e0

View File

@@ -0,0 +1,65 @@
#!/sbin/openrc-run
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
command="/usr/bin/python"
command_args="/usr/bin/syncplay-server"
name="syncplay server"
pidfile="/run/syncplay-server.pid"
description="Syncplay Server to synchronize media playback"
start() {
ebegin "Starting ${name}"
args=()
if [[ ${port} ]]; then
args+=" --port=${port}"
fi
if [[ ${isolate} == True ]]; then
args+=" --isolate-rooms"
fi
if [[ ${password} ]]; then
args+=" --password=${password}"
fi
if [[ ${salt} ]]; then
args+=" --salt=${salt}"
fi
if [[ ${motd} ]]; then
args+=" --motd-file=${motd}"
fi
if [[ ${noReady} == True ]]; then
args+=" --disable-ready"
fi
if [[ ${noChat} == True ]]; then
args+=" --disable-chat"
fi
if [[ ${maxChatLength} ]]; then
args+=" --max-chat-message-length=${maxChatLength}"
fi
if [[ ${usernameLength} ]]; then
args+=" --max-username-length=${usernameLength}"
fi
if [[ ${statsFile} ]]; then
args+=" --stats-db-file=${statsFile}"
fi
if [[ ${tls} ]]; then
args+=" --tls=${tls}"
fi
start-stop-daemon --start --background --make-pid --pidfile="${pidfile}" \
--exec "${command}" -- "${command_args}" ${args}
eend $?
}

View File

@@ -0,0 +1,14 @@
# This is the file that syncplay service loads settings from, it does not affect the binary itself
# See https://syncplay.pl/guide/server/ for a list of available flags and description
#port="8999"
#isolate=False
#password="yourpassword"
#salt="RANDOMSALT"
#motd="/etc/syncplay/motd"
#noReady=False
#noChat=False
#maxChatLength="500"
#usernameLength="20"
#statsFile="/etc/syncplay/stats.db"
#tls="/etc/letsencrypt/live/syncplay.example.com/"

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>andrewammerlaan@riseup.net</email>
<name>Andrew Ammerlaan</name>
</maintainer>
<use>
<flag name="client">Install the Syncplay client</flag>
<flag name="server">Install the Syncplay server</flag>
<flag name="vlc">Pull in VLC with the lua flag</flag>
<flag name="mpv">Pull in MPV with the lua flag</flag>
</use>
</pkgmetadata>

View File

@@ -0,0 +1,58 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7} )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1 eutils xdg
MYPV="${PV/_p1/a}"
DESCRIPTION="Client/server to synchronize media playback"
HOMEPAGE="https://github.com/Syncplay/syncplay https://syncplay.pl"
SRC_URI="https://github.com/${PN^}/${PN}/archive/v${MYPV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+client +server vlc mpv"
REQUIRED_USE="vlc? ( client ) mpv? ( client )"
RDEPEND="
dev-python/certifi[${PYTHON_USEDEP}]
dev-python/twisted[${PYTHON_USEDEP}]
vlc? ( media-video/vlc[lua] )
mpv? ( media-video/mpv[lua] )
"
# RDEPEND on PySide2 for gui, but not packaged here at the moment
# It is a too big and complex package for me to maintain
# You can find PySide2 in the ::raiagent overlay
S="${WORKDIR}/${PN}-${MYPV}"
python_install() {
local MY_MAKEOPTS=( DESTDIR="${D}" PREFIX=/usr )
if use client; then
emake "${MY_MAKEOPTS[@]}" install-client
fi
if use server; then
emake "${MY_MAKEOPTS[@]}" install-server
newinitd "${FILESDIR}/${PN}-server-init" "${PN}"
newconfd "${FILESDIR}/${PN}-server-init-conf" "${PN}"
fi
}
pkg_postinst() {
xdg_pkg_postinst
optfeature "using the GUI (you can find it in the raiagent overlay)\n" dev-python/pyside2
if use client; then
elog "Syncplay supports the following players:"
elog "media-video/mpv, media-video/mplayer2, media-video/vlc"
fi
}

View File

@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
DESCRIPTION="Audio synchronization feature for vidify "
HOMEPAGE="https://github.com/vidify/audiosync"
HOMEPAGE="https://github.com/vidify/audiosync https://vidify.org"
SRC_URI="https://github.com/vidify/audiosync/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-3"

View File

@@ -10,7 +10,7 @@ DISTUTILS_USE_SETUPTOOLS=rdepend
inherit eutils xdg distutils-r1 virtualx
DESCRIPTION="Watch music videos in real time for the songs playing on your device"
HOMEPAGE="https://github.com/vidify/vidify"
HOMEPAGE="https://github.com/vidify/vidify https://vidify.org"
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-3"

View File

@@ -10,4 +10,7 @@
commandline interface to easily connect to TTY devices for basic
input/output.
</longdescription>
<upstream>
<remote-id type="github">tio/tio</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -7,7 +7,7 @@ inherit autotools bash-completion-r1
DESCRIPTION="Simple TTY terminal application"
HOMEPAGE="https://tio.github.io/"
SRC_URI="https://github.com/tio/${PN}/releases/download/v${PV}/${P}.tar.xz"
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz"
SLOT="0"
LICENSE="GPL-2+"

View File

@@ -1 +1 @@
DIST purritobin-0.0.2.tar.gz 6647 BLAKE2B e0b59920d644e5282966abed2128d583e306d9897c3fff6c20c3ab77b347d0cb244860d94238f1094c454489ce05570be9a19e1b2c548deb21114a66bacfdeb8 SHA512 4de009e3d2b6a15ca93affa2c0026c55d85473c9009b9f4b0766c90ef84fc860cedb433a9de4cc8a8ef0f79a3ef69f40100324ad016c74efd6a73b9651789c8b
DIST purritobin-0.1.3.tar.gz 7561 BLAKE2B 0b476678e5f06b64741e3cff68822dc7c7f32af0c1313405ae8aa0b39af7e649f33b2405d63194e7634d2f2e75d1715524383f6c1b11170eac925fd814579674 SHA512 8b79fed4abd8412d04af7cf67792a8f6f658f4bc0c87b891275eb7ffb72c747c5174ed8556f6a57f160c6e6e4700bcc55b89ca1076d51d6d59b1fd906e2824a1

View File

@@ -5,4 +5,7 @@
<email>gentoo@aisha.cc</email>
<name>Aisha Tammy</name>
</maintainer>
<use>
<flag name="libuv">use libuv to do async operations, instead of linux kernels epoll</flag>
</use>
</pkgmetadata>

View File

@@ -16,13 +16,23 @@ else
S="${WORKDIR}/PurritoBin-${PV}"
fi
LICENSE="GPL-2"
LICENSE="ISC"
SLOT="0"
IUSE=""
IUSE="libuv"
DEPEND=""
RDEPEND=""
BDEPEND=""
DEPEND=">=dev-cpp/usockets-0.3.5:=[libuv?]
>=dev-cpp/uwebsockets-0.17.4
libuv? ( >=dev-libs/libuv-1.35.0 )
"
RDEPEND="${DEPEND}"
src_compile() {
if use libuv; then
WITH_LIBUV=1 emake all
else
emake all
fi
}
src_install() {
emake prefix="/usr" DESTDIR="${D}" install

View File

@@ -16,13 +16,23 @@ else
S="${WORKDIR}/PurritoBin-${PV}"
fi
LICENSE="GPL-2"
LICENSE="ISC"
SLOT="0"
IUSE=""
IUSE="libuv"
DEPEND=""
RDEPEND=""
BDEPEND=""
DEPEND=">=dev-cpp/usockets-0.3.5:=[libuv?]
>=dev-cpp/uwebsockets-0.17.4
libuv? ( >=dev-libs/libuv-1.35.0 )
"
RDEPEND="${DEPEND}"
src_compile() {
if use libuv; then
WITH_LIBUV=1 emake all
else
emake all
fi
}
src_install() {
emake prefix="/usr" DESTDIR="${D}" install