updates pruning etc 9.15.23
This commit is contained in:
parent
36de687afd
commit
21af195475
15
README.md
15
README.md
@ -1,12 +1,21 @@
|
||||
# Bronze's Personal Gentoo Overlay
|
||||
|
||||
Misc package repo for myself and anyone else to use.
|
||||
Misc package repo for myself and anyone else to use, provided you trust me and my repo that is :)
|
||||
|
||||
To add this overlay:
|
||||
## Adding this overlay
|
||||
|
||||
### Layman:
|
||||
`layman -o https://kitsunemimi.club/git/bronze/bronze-overlay/raw/branch/master/overlay.xml -f -a bronze-overlay`
|
||||
|
||||
### Eselect Repository:
|
||||
`eselect repository add bronze-overlay git https://kitsunemimi.club/git/bronze/bronze-overlay.git`
|
||||
## Changelog
|
||||
### 6.15.2023
|
||||
- updated `media-sound/qpwgraph` versions (ebuilds taken from xarblu-overlay)
|
||||
- removed `dev-python/cryptography`
|
||||
- removed `dev-games/openscenegraph-qt`
|
||||
- removed `media-gfx/realesrgan-ncnn-vulkan`
|
||||
### 9.6.2022
|
||||
- added media-sound/qpwgraph
|
||||
- added `media-sound/qpwgraph`
|
||||
### 10.01.2021
|
||||
- added `dev-games/openscenegraph-qt-9999` for personal development / testing
|
@ -1 +0,0 @@
|
||||
EBUILD openscenegraph-qt-9999.ebuild 1255 BLAKE2B 6c8af150a54444207fa57bad5283a221cc349bfcf8bee46ca27b26ed99e872daaab5d5db5045f6facf35510682f2ae8be67ca50ab01a0e68172e2b7f7271a9d9 SHA512 fab2d1a9384d4076cc89eb6ea6977aeb4828844f5e2c8375005c48ed0c67f5fdbfff8262877d0c2adb21a4383b853e257754d7eeb2d4214bcb49510531260eff
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN="osgQt"
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Qt support for OpenSceneGraph"
|
||||
HOMEPAGE="http://www.openscenegraph.org/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/openscenegraph/${MY_PN}.git"
|
||||
S="${WORKDIR}/${PN}-${PV}"
|
||||
KEYWORDS=""
|
||||
else
|
||||
MY_P=${MY_PN}-${PV}
|
||||
SRC_URI="https://github.com/openscenegraph/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
KEYWORDS="amd64 ~ppc64 x86"
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
fi
|
||||
|
||||
|
||||
LICENSE="wxWinLL-3 LGPL-2.1"
|
||||
SLOT="0/145" # NOTE: CHECK WHEN BUMPING! Subslot is SOVERSION
|
||||
IUSE="examples"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-games/openscenegraph-3.6.3:=
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtopengl:5
|
||||
dev-qt/qtwidgets:5
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# THESE PATCHES DON'T WORK FOR SOME REASON... HOPEFULLY NOTHING LOST BY OMITTING THEM? -bronze
|
||||
# "${FILESDIR}"/${PN}-3.5.5-cmake.patch
|
||||
# "${FILESDIR}"/${PN}-3.5.5-qt-5.11b3.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DDYNAMIC_OPENSCENEGRAPH=ON
|
||||
-DDESIRED_QT_VERSION=5
|
||||
-DBUILD_OSG_EXAMPLES=$(usex examples)
|
||||
-DCMAKE_DISABLE_USE_FIND_PACKAGE_Qt5WebKitWidgets=ON
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
AUX cryptography-3.4.7-py310.patch 8611 BLAKE2B 6cabc8056658f6a0c895a75b287ebfaa3d25c4ba9f95e28bf63c34bb87ccccdb4b04e42c5d72fdb4d889560e1ca13c602755fa05b9bab3b1fe05788abe110964 SHA512 d1c89a6c50fd4032d6aedcf026592b52b1e38922ecc2a83e8defcee5b7b4845a66de45de897fd3c2022c6118591811b9fc25df7fdd33d219647e0923cd906a66
|
||||
DIST cryptography-3.4.7.tar.gz 546893 BLAKE2B 49bc1e098ed1ba0181059b645f6668cda6332d196eaca55270ebce6e07e5bb6ab6724c5050fde20e89b7025773960d74ec782bb875badbbd5dc9a04db0a536f1 SHA512 3c4cf64bc0b067ccdbb71efe04c32ac9d673faea6cc4ccd13d6b1b61920be4785806d19359b7657d032a2ff1c011a8b4f16ec4924d9df8a59d1a875a7f844473
|
||||
DIST cryptography_vectors-3.4.7.tar.gz 35168102 BLAKE2B fbefd3ff96548dde012fd290aba1c99d57db376023d486910e486cc9c143461ef1ae9b77824cc03307723d35142f0360bc961b548a4edc02357d3f1a0e7e4e9f SHA512 269b50fa4c5300da6758006d12be42f998630d23053ef9af0eb588fc9e6994b044d8822cff105e338f4d0d746ed0e204a4a9c42f54667e355e1ce86e6754bbe9
|
||||
EBUILD cryptography-3.4.7-r3.ebuild 2165 BLAKE2B 62aded5c10bc74dd3b9b231cf8d704a361783c113136d117b65193f2d9433d9b6365f84ffd87956919f52000df2fbea7efc7045ef8a467c68b913220d85bf81e SHA512 37d56d46f97b6ff2dd4b30faef32fca1205851555fdee643f2367364591228a7c329aed4e9ac9d077be3b8de93a70651e5fc59a6f566dcadd4427535e9a183f1
|
@ -1,81 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} pypy3 )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1 multiprocessing
|
||||
|
||||
VEC_P=cryptography_vectors-${PV}
|
||||
DESCRIPTION="Library providing cryptographic recipes and primitives"
|
||||
HOMEPAGE="
|
||||
https://github.com/pyca/cryptography/
|
||||
https://pypi.org/project/cryptography/
|
||||
"
|
||||
SRC_URI="
|
||||
mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
|
||||
test? ( mirror://pypi/c/cryptography_vectors/${VEC_P}.tar.gz )
|
||||
"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 BSD )"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 sparc x86 ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
RDEPEND="
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/cffi-1.8:=[${PYTHON_USEDEP}]
|
||||
' 'python*')
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/hypothesis-1.11.4[${PYTHON_USEDEP}]
|
||||
dev-python/iso8601[${PYTHON_USEDEP}]
|
||||
dev-python/pretend[${PYTHON_USEDEP}]
|
||||
dev-python/pyasn1-modules[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-subtests[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/openssl-1.0.2o-r6:0=
|
||||
"
|
||||
RDEPEND+=${DEPEND}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-py310.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# avoid automagic dependency on dev-libs/openssl[sslv3]
|
||||
# https://bugs.gentoo.org/789450
|
||||
export CPPFLAGS="${CPPFLAGS} -DOPENSSL_NO_SSL3_METHOD=1"
|
||||
|
||||
# work around availability macros not supported in GCC (yet)
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
local darwinok=0
|
||||
[[ ${CHOST##*-darwin} -ge 16 ]] && darwinok=1
|
||||
sed -e 's/__builtin_available(macOS 10\.12, \*)/'"${darwinok}"'/' \
|
||||
-i src/_cffi_src/openssl/src/osrandom_engine.c || die
|
||||
fi
|
||||
|
||||
# this version does not really use Rust, it just creates a dummy
|
||||
# extension to break stuff
|
||||
export CRYPTOGRAPHY_DONT_BUILD_RUST=1
|
||||
sed -e 's:from setuptools_rust import RustExtension:pass:' \
|
||||
-e '/setup_requires/d' \
|
||||
-i setup.py || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -x PYTHONPATH=${PYTHONPATH}:${WORKDIR}/${VEC_P}
|
||||
epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
|
||||
}
|
@ -1,301 +0,0 @@
|
||||
diff --git a/src/cryptography/exceptions.py b/src/cryptography/exceptions.py
|
||||
index f5860590..3bd98d82 100644
|
||||
--- a/src/cryptography/exceptions.py
|
||||
+++ b/src/cryptography/exceptions.py
|
||||
@@ -3,10 +3,10 @@
|
||||
# for complete details.
|
||||
|
||||
|
||||
-from enum import Enum
|
||||
+from cryptography import utils
|
||||
|
||||
|
||||
-class _Reasons(Enum):
|
||||
+class _Reasons(utils.Enum):
|
||||
BACKEND_MISSING_INTERFACE = 0
|
||||
UNSUPPORTED_HASH = 1
|
||||
UNSUPPORTED_CIPHER = 2
|
||||
diff --git a/src/cryptography/hazmat/primitives/_serialization.py b/src/cryptography/hazmat/primitives/_serialization.py
|
||||
index 96a5ed9b..160a6b89 100644
|
||||
--- a/src/cryptography/hazmat/primitives/_serialization.py
|
||||
+++ b/src/cryptography/hazmat/primitives/_serialization.py
|
||||
@@ -3,13 +3,14 @@
|
||||
# for complete details.
|
||||
|
||||
import abc
|
||||
-from enum import Enum
|
||||
+
|
||||
+from cryptography import utils
|
||||
|
||||
# This exists to break an import cycle. These classes are normally accessible
|
||||
# from the serialization module.
|
||||
|
||||
|
||||
-class Encoding(Enum):
|
||||
+class Encoding(utils.Enum):
|
||||
PEM = "PEM"
|
||||
DER = "DER"
|
||||
OpenSSH = "OpenSSH"
|
||||
@@ -18,14 +19,14 @@ class Encoding(Enum):
|
||||
SMIME = "S/MIME"
|
||||
|
||||
|
||||
-class PrivateFormat(Enum):
|
||||
+class PrivateFormat(utils.Enum):
|
||||
PKCS8 = "PKCS8"
|
||||
TraditionalOpenSSL = "TraditionalOpenSSL"
|
||||
Raw = "Raw"
|
||||
OpenSSH = "OpenSSH"
|
||||
|
||||
|
||||
-class PublicFormat(Enum):
|
||||
+class PublicFormat(utils.Enum):
|
||||
SubjectPublicKeyInfo = "X.509 subjectPublicKeyInfo with PKCS#1"
|
||||
PKCS1 = "Raw PKCS#1"
|
||||
OpenSSH = "OpenSSH"
|
||||
@@ -34,7 +35,7 @@ class PublicFormat(Enum):
|
||||
UncompressedPoint = "X9.62 Uncompressed Point"
|
||||
|
||||
|
||||
-class ParameterFormat(Enum):
|
||||
+class ParameterFormat(utils.Enum):
|
||||
PKCS3 = "PKCS3"
|
||||
|
||||
|
||||
diff --git a/src/cryptography/hazmat/primitives/kdf/kbkdf.py b/src/cryptography/hazmat/primitives/kdf/kbkdf.py
|
||||
index ac36474f..75fe7d51 100644
|
||||
--- a/src/cryptography/hazmat/primitives/kdf/kbkdf.py
|
||||
+++ b/src/cryptography/hazmat/primitives/kdf/kbkdf.py
|
||||
@@ -4,7 +4,6 @@
|
||||
|
||||
|
||||
import typing
|
||||
-from enum import Enum
|
||||
|
||||
from cryptography import utils
|
||||
from cryptography.exceptions import (
|
||||
@@ -19,11 +18,11 @@ from cryptography.hazmat.primitives import constant_time, hashes, hmac
|
||||
from cryptography.hazmat.primitives.kdf import KeyDerivationFunction
|
||||
|
||||
|
||||
-class Mode(Enum):
|
||||
+class Mode(utils.Enum):
|
||||
CounterMode = "ctr"
|
||||
|
||||
|
||||
-class CounterLocation(Enum):
|
||||
+class CounterLocation(utils.Enum):
|
||||
BeforeFixed = "before_fixed"
|
||||
AfterFixed = "after_fixed"
|
||||
|
||||
diff --git a/src/cryptography/hazmat/primitives/serialization/pkcs7.py b/src/cryptography/hazmat/primitives/serialization/pkcs7.py
|
||||
index bcd9e330..57aac7e3 100644
|
||||
--- a/src/cryptography/hazmat/primitives/serialization/pkcs7.py
|
||||
+++ b/src/cryptography/hazmat/primitives/serialization/pkcs7.py
|
||||
@@ -3,8 +3,8 @@
|
||||
# for complete details.
|
||||
|
||||
import typing
|
||||
-from enum import Enum
|
||||
|
||||
+from cryptography import utils
|
||||
from cryptography import x509
|
||||
from cryptography.hazmat.backends import _get_backend
|
||||
from cryptography.hazmat.primitives import hashes, serialization
|
||||
@@ -35,7 +35,7 @@ _ALLOWED_PRIVATE_KEY_TYPES = typing.Union[
|
||||
]
|
||||
|
||||
|
||||
-class PKCS7Options(Enum):
|
||||
+class PKCS7Options(utils.Enum):
|
||||
Text = "Add text/plain MIME type"
|
||||
Binary = "Don't translate input data into canonical MIME format"
|
||||
DetachedSignature = "Don't embed data in the PKCS7 structure"
|
||||
diff --git a/src/cryptography/utils.py b/src/cryptography/utils.py
|
||||
index ef0fc443..9e571cfd 100644
|
||||
--- a/src/cryptography/utils.py
|
||||
+++ b/src/cryptography/utils.py
|
||||
@@ -4,6 +4,7 @@
|
||||
|
||||
|
||||
import abc
|
||||
+import enum
|
||||
import inspect
|
||||
import sys
|
||||
import typing
|
||||
@@ -162,3 +163,13 @@ int_from_bytes = deprecated(
|
||||
"int_from_bytes is deprecated, use int.from_bytes instead",
|
||||
DeprecatedIn34,
|
||||
)
|
||||
+
|
||||
+
|
||||
+# Python 3.10 changed representation of enums. We use well-defined object
|
||||
+# representation and string representation from Python 3.9.
|
||||
+class Enum(enum.Enum):
|
||||
+ def __repr__(self):
|
||||
+ return f"<{self.__class__.__name__}.{self._name_}: {self._value_!r}>"
|
||||
+
|
||||
+ def __str__(self):
|
||||
+ return f"{self.__class__.__name__}.{self._name_}"
|
||||
diff --git a/src/cryptography/x509/base.py b/src/cryptography/x509/base.py
|
||||
index 5505fa3b..e3846c33 100644
|
||||
--- a/src/cryptography/x509/base.py
|
||||
+++ b/src/cryptography/x509/base.py
|
||||
@@ -7,9 +7,9 @@ import abc
|
||||
import datetime
|
||||
import os
|
||||
import typing
|
||||
-from enum import Enum
|
||||
|
||||
from cryptography.hazmat._types import _PRIVATE_KEY_TYPES, _PUBLIC_KEY_TYPES
|
||||
+from cryptography import utils
|
||||
from cryptography.hazmat.backends import _get_backend
|
||||
from cryptography.hazmat.primitives import hashes, serialization
|
||||
from cryptography.hazmat.primitives.asymmetric import (
|
||||
@@ -66,7 +66,7 @@ def _convert_to_naive_utc_time(time: datetime.datetime) -> datetime.datetime:
|
||||
return time
|
||||
|
||||
|
||||
-class Version(Enum):
|
||||
+class Version(utils.Enum):
|
||||
v1 = 0
|
||||
v3 = 2
|
||||
|
||||
diff --git a/src/cryptography/x509/certificate_transparency.py b/src/cryptography/x509/certificate_transparency.py
|
||||
index d51bee92..d80f051a 100644
|
||||
--- a/src/cryptography/x509/certificate_transparency.py
|
||||
+++ b/src/cryptography/x509/certificate_transparency.py
|
||||
@@ -5,15 +5,16 @@
|
||||
|
||||
import abc
|
||||
import datetime
|
||||
-from enum import Enum
|
||||
|
||||
+from cryptography import utils
|
||||
|
||||
-class LogEntryType(Enum):
|
||||
+
|
||||
+class LogEntryType(utils.Enum):
|
||||
X509_CERTIFICATE = 0
|
||||
PRE_CERTIFICATE = 1
|
||||
|
||||
|
||||
-class Version(Enum):
|
||||
+class Version(utils.Enum):
|
||||
v1 = 0
|
||||
|
||||
|
||||
diff --git a/src/cryptography/x509/extensions.py b/src/cryptography/x509/extensions.py
|
||||
index 6cae016a..742f1fa2 100644
|
||||
--- a/src/cryptography/x509/extensions.py
|
||||
+++ b/src/cryptography/x509/extensions.py
|
||||
@@ -8,7 +8,6 @@ import datetime
|
||||
import hashlib
|
||||
import ipaddress
|
||||
import typing
|
||||
-from enum import Enum
|
||||
|
||||
from cryptography import utils
|
||||
from cryptography.hazmat._der import (
|
||||
@@ -634,7 +633,7 @@ class DistributionPoint(object):
|
||||
crl_issuer = utils.read_only_property("_crl_issuer")
|
||||
|
||||
|
||||
-class ReasonFlags(Enum):
|
||||
+class ReasonFlags(utils.Enum):
|
||||
unspecified = "unspecified"
|
||||
key_compromise = "keyCompromise"
|
||||
ca_compromise = "cACompromise"
|
||||
@@ -978,7 +977,7 @@ class TLSFeature(ExtensionType):
|
||||
return hash(tuple(self._features))
|
||||
|
||||
|
||||
-class TLSFeatureType(Enum):
|
||||
+class TLSFeatureType(utils.Enum):
|
||||
# status_request is defined in RFC 6066 and is used for what is commonly
|
||||
# called OCSP Must-Staple when present in the TLS Feature extension in an
|
||||
# X.509 certificate.
|
||||
diff --git a/src/cryptography/x509/name.py b/src/cryptography/x509/name.py
|
||||
index a579aa21..9069a9f4 100644
|
||||
--- a/src/cryptography/x509/name.py
|
||||
+++ b/src/cryptography/x509/name.py
|
||||
@@ -3,14 +3,13 @@
|
||||
# for complete details.
|
||||
|
||||
import typing
|
||||
-from enum import Enum
|
||||
|
||||
from cryptography import utils
|
||||
from cryptography.hazmat.backends import _get_backend
|
||||
from cryptography.x509.oid import NameOID, ObjectIdentifier
|
||||
|
||||
|
||||
-class _ASN1Type(Enum):
|
||||
+class _ASN1Type(utils.Enum):
|
||||
UTF8String = 12
|
||||
NumericString = 18
|
||||
PrintableString = 19
|
||||
diff --git a/src/cryptography/x509/ocsp.py b/src/cryptography/x509/ocsp.py
|
||||
index 1c5de73e..bcf210c1 100644
|
||||
--- a/src/cryptography/x509/ocsp.py
|
||||
+++ b/src/cryptography/x509/ocsp.py
|
||||
@@ -6,8 +6,8 @@
|
||||
import abc
|
||||
import datetime
|
||||
import typing
|
||||
-from enum import Enum
|
||||
|
||||
+from cryptography import utils
|
||||
from cryptography import x509
|
||||
from cryptography.hazmat.primitives import hashes, serialization
|
||||
from cryptography.x509.base import (
|
||||
@@ -27,12 +27,12 @@ _OIDS_TO_HASH = {
|
||||
}
|
||||
|
||||
|
||||
-class OCSPResponderEncoding(Enum):
|
||||
+class OCSPResponderEncoding(utils.Enum):
|
||||
HASH = "By Hash"
|
||||
NAME = "By Name"
|
||||
|
||||
|
||||
-class OCSPResponseStatus(Enum):
|
||||
+class OCSPResponseStatus(utils.Enum):
|
||||
SUCCESSFUL = 0
|
||||
MALFORMED_REQUEST = 1
|
||||
INTERNAL_ERROR = 2
|
||||
@@ -58,7 +58,7 @@ def _verify_algorithm(algorithm):
|
||||
)
|
||||
|
||||
|
||||
-class OCSPCertStatus(Enum):
|
||||
+class OCSPCertStatus(utils.Enum):
|
||||
GOOD = 0
|
||||
REVOKED = 1
|
||||
UNKNOWN = 2
|
||||
diff --git a/tests/test_cryptography_utils.py b/tests/test_cryptography_utils.py
|
||||
index 6b795e0c..803997ac 100644
|
||||
--- a/tests/test_cryptography_utils.py
|
||||
+++ b/tests/test_cryptography_utils.py
|
||||
@@ -2,6 +2,7 @@
|
||||
# 2.0, and the BSD License. See the LICENSE file in the root of this repository
|
||||
# for complete details.
|
||||
|
||||
+import enum
|
||||
import typing
|
||||
|
||||
import pytest
|
||||
@@ -51,3 +52,13 @@ class TestCachedProperty(object):
|
||||
assert len(accesses) == 1
|
||||
assert t.t == 14
|
||||
assert len(accesses) == 1
|
||||
+
|
||||
+
|
||||
+def test_enum():
|
||||
+ class TestEnum(utils.Enum):
|
||||
+ value = "something"
|
||||
+
|
||||
+ assert issubclass(TestEnum, enum.Enum)
|
||||
+ assert isinstance(TestEnum.value, enum.Enum)
|
||||
+ assert repr(TestEnum.value) == "<TestEnum.value: 'something'>"
|
||||
+ assert str(TestEnum.value) == "TestEnum.value"
|
@ -1,3 +0,0 @@
|
||||
DIST realesrgan-ncnn-vulkan-0.2.0.zip 46931474 BLAKE2B c16c05c343501272f5b4df6db7e7f8c592c4f8c8170ca0a0181c4433d1889ddea702d65fc134013bdaca302eeeab6e5b6d6fbad407adb7a2afa0acbefd6f4eca SHA512 f462692524f3a85261714fe182e7f0c680101eb48558ae644df25145df5bbbe65f154ca0fcb8364dae2a2e1a362ac24df1869756d2e567ea6a4f767009213e9f
|
||||
DIST v0.2.0.zip 146717 BLAKE2B c0bb925c86b51f8c76b7cc7033d49b46e9a66f396e05bc334297933a01448c513a7e00d7eacc84bea5ca2c32706982d5bbcb59cd97823150ccc3a0b29a8e87a6 SHA512 1be70ebd9ec2e9feeb1dc616bd8401f46c5aae8d2f758ff725bfe2ef949cc90cf647bedbb81e4df45b4a21752ad82ca92af6a5df63166a27372ad17904742b26
|
||||
EBUILD realesrgan-ncnn-vulkan-0.2.0.ebuild 1504 BLAKE2B 99c7386443296abf660f533369447e60cc182191373a2bbff36874e61b07a06fe42b1a176955c769c2dba5e0108020a7fe2c3bbf2309545053ce9fd1f7bc8a67 SHA512 eb572cb2cf5ed6e502b67a9a05f8312674d1112d695715038597115366b529319b9221e149a4da51d17178139433dafe980a73a4d0773817458ace57229e8317
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Big thank you to whoever made the original waifu2x-ncnn-vulkan ebuild, which I took and modified using the existing AUR PKGBUILD as reference
|
||||
# https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=realesrgan-ncnn-vulkan
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="NCNN implementation of Real-ESRGAN"
|
||||
HOMEPAGE="https://github.com/xinntao/Real-ESRGAN"
|
||||
SRC_URI="https://github.com/xinntao/Real-ESRGAN-ncnn-vulkan/archive/refs/tags/v0.2.0.zip https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.5.0/realesrgan-ncnn-vulkan-20220424-ubuntu.zip -> ${P}.zip"
|
||||
S="${WORKDIR}/Real-ESRGAN-ncnn-vulkan-0.2.0"
|
||||
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
BDEPEND="app-arch/unzip"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/ncnn:=[vulkan]
|
||||
media-libs/libwebp:=
|
||||
media-libs/vulkan-loader"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-util/glslang
|
||||
dev-util/vulkan-headers"
|
||||
|
||||
src_prepare() {
|
||||
CMAKE_USE_DIR=${S}/src
|
||||
cmake_src_prepare
|
||||
|
||||
# Update all paths to match installation for models.
|
||||
sed "/PATHSTR\|model path/s|models-|${EPREFIX}/usr/share/${PN}/models-|" \
|
||||
-i src/main.cpp || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DGLSLANG_TARGET_DIR="${ESYSROOT}"/usr/$(get_libdir)/cmake
|
||||
-DUSE_SYSTEM_NCNN=ON
|
||||
-DUSE_SYSTEM_WEBP=ON
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${BUILD_DIR}"/realesrgan-ncnn-vulkan
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins -r "${WORKDIR}"/models
|
||||
|
||||
einstalldocs
|
||||
}
|
@ -1,3 +1,9 @@
|
||||
DIST qpwgraph-v0.3.5.tar.bz2 443935 BLAKE2B dad8a8dcd8ea22d9e27dcba0a2a9b6cb8f4495d00bec9e31846cc481ab269afbcd504e0fe64c6c6fe1b8a4334bf380aed18c34f88fc33f7f4faa8310b3b3967d SHA512 7c689367135a17c6fabe2c0b03fbcf8f0d45001095506083379e42217ee198843b97330a81e90ab167359f3e1f585dff5e2a258dbdf50c993499c40f74359f50
|
||||
DIST qpwgraph-v0.3.9.tar.bz2 448732 BLAKE2B 68415f75accf29da138367239755375affbe585a469bbaf387a942c34a7f6a866dc38e276ba7ae659adf9ee26996cce08fa0da53734c943baf82c4b74a1cdcda SHA512 c8fba3edd93dd466a5f1655e1ff260cbdd054ba13a962afb5f2ba8634eb850f748faac0b6073576090c4e31520ea634e08d1d746809563a887ffc701ffa4b30a
|
||||
DIST qpwgraph-v0.4.1.tar.bz2 452870 BLAKE2B 9ad8897db5b3b0dacb98ef871a329f4e73ff56c6a818848dad8adeffc9e3fecc41ea0f9b4888cfeee46c1c7918472d8dfe1bb245ae30dc8b4479e2c66958ded3 SHA512 50c8ac305132b4cd3666abf74374b5156d7aab0435c80e9c54bf86525f6531c6a7cfd0a3e8fda0e199a620614ced364549b72db6d3766adb4c176762658af4d7
|
||||
DIST qpwgraph-v0.4.2.tar.bz2 453435 BLAKE2B e2177d91d8dd2754ed66c8c812324add7506538dd2d08291bcd996b49f2651c8b442d3ca46519b40092f748fb5bd4810bf1b563515b214d0b300352be177146c SHA512 c52f4baa846178f40631b97d70feccab8e039a288e8eb090a83ea4d2378431e1aa8af0e37aab4f045614f49754af5ac6512bf390fca151c5a31cd7a41ab782e4
|
||||
EBUILD qpwgraph-0.3.5.ebuild 932 BLAKE2B 29f1be33128961c621abc5db24b73289de6c16e2473f21e9a0f4256aee16c6d8a223cd7f1c27f0d9ec1221a3eda8be993213c6f587b6c32858c5a4afae7a8e7c SHA512 301638787d226158bf5fa2ac254e3e6665935a26e32a14584d24163e4b2eff7f7df2f672b7016f1acaa2ffb2945f27efdec1032bef0c25ad2f609d15d2fd0dbe
|
||||
EBUILD qpwgraph-9999.ebuild 921 BLAKE2B b30f4e9ae09cdd4ea66ca1d0ad4df21552fb4191bee83ea4b338b351548ff5a0362a743b180e87ff2922fbf1c5bc835074693cf6163e0504601e6982d56c9569 SHA512 8ab4c062b3971051fd3cc9fc5dcee21d37ff9a9a091dc79d77da58a907738460d8c210f50a195b0af838d1f0c1dafbca24bfc1a74e4878e0a95721b0e2b706a7
|
||||
EBUILD qpwgraph-0.3.9.ebuild 1137 BLAKE2B 19459ea8b890cf8d6f5ead8fe7b6f4c25114575404d07bcd09647f3ee2683120ccecdad0503eed01a649f211706954e1988db6aad350cc922bf0a198a3705e4a SHA512 0690abb1c9ee1c9cd791e3132378f9cc538930d7115cdbe4d32a87e37acbe8e489f63ce3995d325eae7a99972576f92bdc55519ed0d8b775dfab0cda437af949
|
||||
EBUILD qpwgraph-0.4.1.ebuild 1121 BLAKE2B 889edbb4e070debe5b3288c9f046363dc0ddce3660a558f3427e34c312bea92414f49c2697ac61c47c5693b04abc07c5c5ed3e019b93bba4aa90374880b5eb68 SHA512 37cfe6644947dd078f1b3fd2e9d3e26562663cfc62990be1120e4b2ede0088ae3ec0e7c2e01a64068ce8d44f4a68f6d5ee54d027bcdb1e8e3a7c385ad3d42dfc
|
||||
EBUILD qpwgraph-0.4.2.ebuild 1121 BLAKE2B 889edbb4e070debe5b3288c9f046363dc0ddce3660a558f3427e34c312bea92414f49c2697ac61c47c5693b04abc07c5c5ed3e019b93bba4aa90374880b5eb68 SHA512 37cfe6644947dd078f1b3fd2e9d3e26562663cfc62990be1120e4b2ede0088ae3ec0e7c2e01a64068ce8d44f4a68f6d5ee54d027bcdb1e8e3a7c385ad3d42dfc
|
||||
EBUILD qpwgraph-9999.ebuild 1121 BLAKE2B 889edbb4e070debe5b3288c9f046363dc0ddce3660a558f3427e34c312bea92414f49c2697ac61c47c5693b04abc07c5c5ed3e019b93bba4aa90374880b5eb68 SHA512 37cfe6644947dd078f1b3fd2e9d3e26562663cfc62990be1120e4b2ede0088ae3ec0e7c2e01a64068ce8d44f4a68f6d5ee54d027bcdb1e8e3a7c385ad3d42dfc
|
||||
|
62
media-sound/qpwgraph/qpwgraph-0.3.9.ebuild
Normal file
62
media-sound/qpwgraph/qpwgraph-0.3.9.ebuild
Normal file
@ -0,0 +1,62 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake xdg
|
||||
|
||||
DESCRIPTION="A PipeWire Graph Qt GUI Interface"
|
||||
HOMEPAGE="https://gitlab.freedesktop.org/rncbc/qpwgraph"
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.freedesktop.org/rncbc/qpwgraph.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://gitlab.freedesktop.org/rncbc/qpwgraph/-/archive/v${PV}/${PN}-v${PV}.tar.bz2"
|
||||
S="${WORKDIR}/${PN}-v${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="+alsa qt6 +trayicon wayland"
|
||||
|
||||
DEPEND="
|
||||
!qt6? (
|
||||
dev-qt/qtcore:5=
|
||||
dev-qt/qtgui:5=
|
||||
dev-qt/qtwidgets:5=
|
||||
dev-qt/qtxml:5=
|
||||
dev-qt/qtsvg:5=
|
||||
)
|
||||
qt6? (
|
||||
dev-qt/qtbase:6=[gui,widgets,xml]
|
||||
dev-qt/qtsvg:6=
|
||||
)
|
||||
media-video/pipewire
|
||||
trayicon? (
|
||||
!qt6? (
|
||||
dev-qt/qtnetwork:5=
|
||||
)
|
||||
qt6? (
|
||||
dev-qt/qtnetwork:6=
|
||||
)
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=()
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
"-DCONFIG_ALSA_MIDI=$(usex alsa)"
|
||||
"-DCONFIG_SYSTEM_TRAY=$(usex trayicon)"
|
||||
"-DCONFIG_WAYLAND=$(usex wayland)"
|
||||
"-DCONFIG_QT6=$(usex qt6)"
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
60
media-sound/qpwgraph/qpwgraph-0.4.1.ebuild
Normal file
60
media-sound/qpwgraph/qpwgraph-0.4.1.ebuild
Normal file
@ -0,0 +1,60 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="A PipeWire Graph Qt GUI Interface"
|
||||
HOMEPAGE="https://gitlab.freedesktop.org/rncbc/qpwgraph"
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.freedesktop.org/rncbc/qpwgraph.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://gitlab.freedesktop.org/rncbc/qpwgraph/-/archive/v${PV}/${PN}-v${PV}.tar.bz2"
|
||||
S="${WORKDIR}/${PN}-v${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="+alsa qt6 +trayicon wayland"
|
||||
|
||||
DEPEND="
|
||||
!qt6? (
|
||||
dev-qt/qtcore:5=
|
||||
dev-qt/qtgui:5=
|
||||
dev-qt/qtwidgets:5=
|
||||
dev-qt/qtxml:5=
|
||||
dev-qt/qtsvg:5=
|
||||
)
|
||||
qt6? (
|
||||
dev-qt/qtbase:6=[gui,widgets,xml]
|
||||
dev-qt/qtsvg:6=
|
||||
)
|
||||
media-video/pipewire
|
||||
trayicon? (
|
||||
!qt6? (
|
||||
dev-qt/qtnetwork:5=
|
||||
)
|
||||
qt6? (
|
||||
dev-qt/qtnetwork:6=
|
||||
)
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
"-DCONFIG_ALSA_MIDI=$(usex alsa)"
|
||||
"-DCONFIG_SYSTEM_TRAY=$(usex trayicon)"
|
||||
"-DCONFIG_WAYLAND=$(usex wayland)"
|
||||
"-DCONFIG_QT6=$(usex qt6)"
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
60
media-sound/qpwgraph/qpwgraph-0.4.2.ebuild
Normal file
60
media-sound/qpwgraph/qpwgraph-0.4.2.ebuild
Normal file
@ -0,0 +1,60 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="A PipeWire Graph Qt GUI Interface"
|
||||
HOMEPAGE="https://gitlab.freedesktop.org/rncbc/qpwgraph"
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.freedesktop.org/rncbc/qpwgraph.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://gitlab.freedesktop.org/rncbc/qpwgraph/-/archive/v${PV}/${PN}-v${PV}.tar.bz2"
|
||||
S="${WORKDIR}/${PN}-v${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="+alsa qt6 +trayicon wayland"
|
||||
|
||||
DEPEND="
|
||||
!qt6? (
|
||||
dev-qt/qtcore:5=
|
||||
dev-qt/qtgui:5=
|
||||
dev-qt/qtwidgets:5=
|
||||
dev-qt/qtxml:5=
|
||||
dev-qt/qtsvg:5=
|
||||
)
|
||||
qt6? (
|
||||
dev-qt/qtbase:6=[gui,widgets,xml]
|
||||
dev-qt/qtsvg:6=
|
||||
)
|
||||
media-video/pipewire
|
||||
trayicon? (
|
||||
!qt6? (
|
||||
dev-qt/qtnetwork:5=
|
||||
)
|
||||
qt6? (
|
||||
dev-qt/qtnetwork:6=
|
||||
)
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
"-DCONFIG_ALSA_MIDI=$(usex alsa)"
|
||||
"-DCONFIG_SYSTEM_TRAY=$(usex trayicon)"
|
||||
"-DCONFIG_WAYLAND=$(usex wayland)"
|
||||
"-DCONFIG_QT6=$(usex qt6)"
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
@ -1,9 +1,9 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake xdg
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="A PipeWire Graph Qt GUI Interface"
|
||||
HOMEPAGE="https://gitlab.freedesktop.org/rncbc/qpwgraph"
|
||||
@ -11,34 +11,49 @@ HOMEPAGE="https://gitlab.freedesktop.org/rncbc/qpwgraph"
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.freedesktop.org/rncbc/qpwgraph.git"
|
||||
else
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://gitlab.freedesktop.org/rncbc/qpwgraph/-/archive/v${PV}/${PN}-v${PV}.tar.bz2"
|
||||
S="${WORKDIR}/${PN}-v${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="+alsa +trayicon wayland"
|
||||
IUSE="+alsa qt6 +trayicon wayland"
|
||||
|
||||
DEPEND="
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtxml:5
|
||||
!qt6? (
|
||||
dev-qt/qtcore:5=
|
||||
dev-qt/qtgui:5=
|
||||
dev-qt/qtwidgets:5=
|
||||
dev-qt/qtxml:5=
|
||||
dev-qt/qtsvg:5=
|
||||
)
|
||||
qt6? (
|
||||
dev-qt/qtbase:6=[gui,widgets,xml]
|
||||
dev-qt/qtsvg:6=
|
||||
)
|
||||
media-video/pipewire
|
||||
trayicon? ( dev-qt/qtnetwork:5 )
|
||||
trayicon? (
|
||||
!qt6? (
|
||||
dev-qt/qtnetwork:5=
|
||||
)
|
||||
qt6? (
|
||||
dev-qt/qtnetwork:6=
|
||||
)
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
BDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
"-DCONFIG_ALSA_MIDI=$(usex alsa)"
|
||||
"-DCONFIG_SYSTEM_TRAY=$(usex trayicon)"
|
||||
"-DCONFIG_WAYLAND=$(usex wayland)"
|
||||
"-DCONFIG_QT6=no"
|
||||
"-DCONFIG_QT6=$(usex qt6)"
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
|
Loading…
Reference in New Issue
Block a user