diff --git a/acct-group/onepassword/Manifest b/acct-group/onepassword/Manifest
new file mode 100644
index 00000000..5af333be
--- /dev/null
+++ b/acct-group/onepassword/Manifest
@@ -0,0 +1 @@
+EBUILD onepassword-0.ebuild 148 BLAKE2B baee90c8bbb9aad0a5312ee3039a391ede9afaf99d36e56855b30243ea21c0afe935d5ef26092406b45a6dea6f46ee4e8ff3c15123f6185d06249694d6ab4bba SHA512 fa4f62e167f2f1cf45166709b6f85ad18bc18444dae6c14c1afe6347fef2ecc8a5233fcc4fffcb76a229c9a6e150fd90d72dfd69b011e0794aa59ea57f540797
diff --git a/acct-group/onepassword/onepassword-0.ebuild b/acct-group/onepassword/onepassword-0.ebuild
new file mode 100644
index 00000000..ffcc4059
--- /dev/null
+++ b/acct-group/onepassword/onepassword-0.ebuild
@@ -0,0 +1,8 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit acct-group
+
+ACCT_GROUP_ID=61123
diff --git a/app-arch/rpm/Manifest b/app-arch/rpm/Manifest
new file mode 100644
index 00000000..1bcac492
--- /dev/null
+++ b/app-arch/rpm/Manifest
@@ -0,0 +1,5 @@
+AUX rpm-4.17.0-libdir.patch 855 BLAKE2B 81a2daf0577c8dc3feac190764125da7a616e24ccdd38c3715c3c68f7fc831cf2662e629f23ed88f7d133961a40ac7f63acd6c7f52e99f17abe53442b2a5f14e SHA512 68d884cf9d57d89138ee7d6882869b0560aa9cd3dc82b837c47732f2d0248b42fbdafbbcc1f3f04322cd750744d97e4512491fb0591eb0622b2a5d1918391c46
+AUX rpm-4.8.1-db-path.patch 628 BLAKE2B 69ac0d4541c4d6e74fd716529c4cfd482432d400f84f39775bd585931e786acf45ab7a1da617f0214dcba90c78511ca22fc556896ae1963ec9160787fdaab902 SHA512 12539bbeda99d261890d50304945c7f022681ca0a283c70f17a6b1f188e9e24e9ce05b71d541ed6d951f94576b5183c49c4db784d5016d075a859c1e4dcb9005
+DIST rpm-4.18.0.tar.bz2 6600013 BLAKE2B 127c3b1427884d04c3db4fc73eb73a978a58241bc740620e3e46c7557d99833092866b5d9c8b4fdf72cd106668d9e5f5cb8c4b918decf1513a82d10258975116 SHA512 c218b811c0c2db368a2919f60742904a4a5abf09dc20804d649eb42f1853d1c21d121086d6014cd210b2040643c37b5d86b53052958cf702ae2e54fe65f1c0ec
+EBUILD rpm-4.18.0.ebuild 4096 BLAKE2B 371c8d3817a9d9046dd62dd333a6d95f93378fb5ae43cdf1ec51705caf85a94444b580f07cd32bdf9eb4779681f281328d8a651464975563c0d2291f676bd669 SHA512 91e71e8f963100fbafe72aa4b3119db70112398ed728e425df59e13dcf530c8856a55ac6d6ca9273a08588479765b669711b70d342bd7880b142e3c0eb5aef4d
+MISC metadata.xml 260 BLAKE2B 00f83151d62c157bea18101b36007f01e6da9d16d438671c37b929b1e19cfc202f379816a1b0d9e3faea99c44a43f97a5d43100266c683487dabba09f1378eea SHA512 d6fc386bd5be91d5dff3d7aa514f4d72e7301a47f888db95573d72505ee86987ae6412fdd8aec82842c006abe831d99f6178b1ac78a04a7dbf9e5bce1d249cb7
diff --git a/app-arch/rpm/files/rpm-4.17.0-libdir.patch b/app-arch/rpm/files/rpm-4.17.0-libdir.patch
new file mode 100644
index 00000000..5bff26b7
--- /dev/null
+++ b/app-arch/rpm/files/rpm-4.17.0-libdir.patch
@@ -0,0 +1,32 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -865,13 +865,7 @@ AC_ARG_WITH([rundir],
+ AC_DEFINE_UNQUOTED([RUNDIR],["${RUNDIR}"],[run-time variable directory])
+ AC_SUBST(RUNDIR)
+
+-if test X"$prefix" = XNONE ; then
+- usrprefix="$ac_default_prefix"
+-else
+- usrprefix=$prefix
+-fi
+-
+-RPMCONFIGDIR="`echo ${usrprefix}/lib/rpm`"
++RPMCONFIGDIR="`echo ${libexecdir}/rpm/`"
+ AC_SUBST(RPMCONFIGDIR)
+
+ AC_SUBST(OBJDUMP)
+--- a/rpm.am
++++ b/rpm.am
+@@ -1,10 +1,10 @@
+ # Internal binaries
+ ## HACK: It probably should be $(libexecdir)/rpm or $(libdir)/rpm
+-rpmlibexecdir = $(prefix)/lib/rpm
++rpmlibexecdir = $(pkglibexecdir)
+
+ # Host independent config files
+ ## HACK: it probably should be $(datadir)/rpm
+-rpmconfigdir = $(prefix)/lib/rpm
++rpmconfigdir = $(pkglibexecdir)
+
+ # Libtool version (current-revision-age) for all our libraries
+ rpm_version_info = 11:0:2
diff --git a/app-arch/rpm/files/rpm-4.8.1-db-path.patch b/app-arch/rpm/files/rpm-4.8.1-db-path.patch
new file mode 100644
index 00000000..634dd237
--- /dev/null
+++ b/app-arch/rpm/files/rpm-4.8.1-db-path.patch
@@ -0,0 +1,26 @@
+diff --git a/Makefile.am b/Makefile.am
+index 587cfa7..498abfb 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -177,7 +177,7 @@ EXTRA_DIST += rpmpopt.in
+
+ usrsrcdir = $(prefix)/src
+
+-rpmvardir = $(localstatedir)/lib/rpm
++rpmvardir = $(localstatedir)/rpm
+ rpmvar_DATA =
+
+ install-exec-hook:
+diff --git a/macros.in b/macros.in
+index ae46fcb..213b53c 100644
+--- a/macros.in
++++ b/macros.in
+@@ -155,7 +155,7 @@
+ %_bzip2bin %{__bzip2}
+
+ # The location of the rpm database file(s).
+-%_dbpath %{_var}/lib/rpm
++%_dbpath %{_var}/rpm
+
+ # The location of the rpm database file(s) after "rpm --rebuilddb".
+ %_dbpath_rebuild %{_dbpath}
diff --git a/app-arch/rpm/metadata.xml b/app-arch/rpm/metadata.xml
new file mode 100644
index 00000000..43a5b10a
--- /dev/null
+++ b/app-arch/rpm/metadata.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+ rpm-software-management/rpm
+
+
diff --git a/app-arch/rpm/rpm-4.18.0.ebuild b/app-arch/rpm/rpm-4.18.0.ebuild
new file mode 100644
index 00000000..1f181445
--- /dev/null
+++ b/app-arch/rpm/rpm-4.18.0.ebuild
@@ -0,0 +1,165 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-{3,4} )
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit autotools lua-single perl-module python-single-r1 toolchain-funcs
+
+DESCRIPTION="Red Hat Package Management Utils"
+HOMEPAGE="https://rpm.org/ https://github.com/rpm-software-management/rpm"
+SRC_URI="https://ftp.osuosl.org/pub/rpm/releases/rpm-$(ver_cut 1-2).x/${P}.tar.bz2
+ http://ftp.rpm.org/releases/rpm-$(ver_cut 1-2).x/${P}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
+
+# Tests are broken. See bug #657500
+RESTRICT="test"
+
+IUSE="acl audit caps +berkdb doc dbus nls openmp python readline selinux +sqlite test +zstd"
+REQUIRED_USE="${LUA_REQUIRED_USE}
+ python? ( ${PYTHON_REQUIRED_USE} )"
+
+DEPEND="
+ ${LUA_DEPS}
+ !app-arch/rpm5
+ app-arch/libarchive:=
+ >=app-arch/bzip2-1.0.1
+ app-arch/xz-utils
+ >=app-crypt/gnupg-1.2
+ >=dev-lang/perl-5.8.8
+ dev-libs/elfutils
+ dev-libs/libgcrypt:=
+ >=dev-libs/popt-1.7
+ sys-apps/file
+ >=sys-libs/zlib-1.2.3-r1
+ virtual/libintl
+ acl? ( virtual/acl )
+ audit? ( sys-process/audit )
+ caps? ( >=sys-libs/libcap-2.0 )
+ dbus? ( sys-apps/dbus )
+ readline? ( sys-libs/readline:= )
+ sqlite? ( dev-db/sqlite:3 )
+ python? ( ${PYTHON_DEPS} )
+ nls? ( virtual/libintl )
+ zstd? ( app-arch/zstd:= )
+"
+BDEPEND="
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )
+ nls? ( sys-devel/gettext )
+ test? ( sys-apps/fakechroot )
+"
+RDEPEND="
+ ${DEPEND}
+ selinux? ( sec-policy/selinux-rpm )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-4.8.1-db-path.patch
+ "${FILESDIR}"/${PN}-4.17.0-libdir.patch
+)
+
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+ lua-single_pkg_setup
+
+ use python && python-single-r1_pkg_setup
+
+ # Added USE=openmp and this check for bug #779769
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+src_prepare() {
+ default
+
+ # bug #356769
+ sed -i 's:%{_var}/tmp:/var/tmp:' macros.in || die "Fixing tmppath failed"
+ # bug #492642
+ sed -i "s:@__PYTHON@:${PYTHON}:" macros.in || die "Fixing %__python failed"
+
+ # Prevent automake maintainer mode from kicking in (bug #450448).
+ #touch -r Makefile.am preinstall.am || die
+
+ eautoreconf
+}
+
+src_configure() {
+ # rpm no longer supports berkdb, but has readonly support.
+ # https://github.com/rpm-software-management/rpm/commit/4290300e24c5ab17c615b6108f38438e31eeb1d0
+ econf \
+ --enable-libelf \
+ --without-selinux \
+ --disable-inhibit-plugin \
+ --with-crypto=libgcrypt \
+ $(use_enable berkdb bdb-ro) \
+ $(use_enable python) \
+ $(use_enable nls) \
+ $(use_enable openmp) \
+ $(use_enable dbus inhibit-plugin) \
+ $(use_enable sqlite) \
+ $(use_with caps cap) \
+ $(use_with acl) \
+ $(use_with audit) \
+ $(use_with readline) \
+ $(use_enable zstd zstd $(usex zstd yes no))
+}
+
+src_test() {
+ # Known to fail with FEATURES=usersandbox (bug #657500)
+ if has usersandbox ${FEATURES} ; then
+ ewarn "You are emerging ${P} with 'usersandbox' enabled." \
+ "Expect some test failures or emerge with 'FEATURES=-usersandbox'!"
+ fi
+
+ emake check
+}
+
+src_install() {
+ default
+
+ # Remove la files
+ find "${ED}" -name '*.la' -delete || die
+
+ # Fix symlinks to /bin/rpm (bug #349840)
+ for binary in rpmquery rpmverify; do
+ ln -sf rpm "${ED}"/usr/bin/${binary} || die
+ done
+
+ if ! use nls; then
+ rm -rf "${ED}"/usr/share/man/?? || die
+ fi
+
+ keepdir /usr/src/rpm/{SRPMS,SPECS,SOURCES,RPMS,BUILD}
+
+ dodoc CREDITS README*
+ if use doc; then
+ local docname
+ for docname in librpm; do
+ docinto "html/${docname}"
+ dodoc -r "docs/${docname}/html/."
+ done
+ fi
+
+ # Fix perllocal.pod file collision
+ perl_delete_localpod
+
+ use python && python_optimize
+}
+
+pkg_postinst() {
+ if [[ -f "${EROOT}"/var/lib/rpm/Packages ]] ; then
+ einfo "RPM database found... Rebuilding database (may take a while)..."
+ "${EROOT}"/usr/bin/rpmdb --rebuilddb --root="${EROOT}/" || die
+ else
+ einfo "No RPM database found... Creating database..."
+ "${EROOT}"/usr/bin/rpmdb --initdb --root="${EROOT}/" || die
+ fi
+}
diff --git a/app-editors/xxe/Manifest b/app-editors/xxe/Manifest
index 66b240df..bee90360 100644
--- a/app-editors/xxe/Manifest
+++ b/app-editors/xxe/Manifest
@@ -1,4 +1,6 @@
DIST xxe-perso-10_2_0.zip 86723082 BLAKE2B e6ff3115322e64d6943f18402a5dbd4245bc10986ba642bdc11df92e47ff8e5486da601f2c5d1199dd394cbaf0d485a1ef9a8d940df26dd3e3d09528cb7b6605 SHA512 702aaf36778640ea090b02cf98b3b22935e2f8d1151311522ed0d8d7720a4460cc11e3339c9b65c6ef46a81921ff2be118438140604db2e0bfa20b6d8a20c0a0
-EBUILD xxe-10.2.0.ebuild 2335 BLAKE2B 5800512f0ab745e088a31e2e4b74a9f0626ce73b000faa33ed58f365d3eaba99542adca170f7d8a4fc05deb5e7aca0dfa80b9ba9b0cd086e6225b510bf32e821 SHA512 4609ee81871c1f703363808aff1dad93d9eccac68b40ab5360f6b06e27e1f9a20dc8bc66aada7b9adf7fe9847f63ad224f1e9093cc19ed9ae6e4f2659ab8a1c4
+DIST xxe-perso-10_3_0.zip 87333279 BLAKE2B f0acf9b670f51f76d1ebbb6fa46c9600de6749f4776039a0db857e756ecc4a84ba77f2127c7396c9113fdd1236868a19eae72367522222f87080fbe23ae748fc SHA512 c335b8611c429c32f1cb5441395cfe20eff0b9e88811c92990046dc4ca2ee0c70a6a64b6c40b4ee8b90883f5b87c98ba30a29de2826721a3c4ab785b9d4250fd
+EBUILD xxe-10.2.0.ebuild 2335 BLAKE2B be8da75b7ecca193c22fcfb356a98b89195abc85e81cd8e06ae8266d9483480b4e6e793b41c5c10c52232e4f8e74796ec36202085e6bdf584f70cd4b6d01644e SHA512 67b0bedcafc8ff1a1a43ba15fcdf948e7b4dbb311e9a4e198a09796c94e9b6ae0a27ad6e0519beb6a6d560ee7626e75b405dd28aebaf705980dfdcdf7258f833
+EBUILD xxe-10.3.0.ebuild 2257 BLAKE2B d08d9eaa0033d7a15cb1140c7670693803d7874b1b0ac8184fa3dc909707008923135fde8415371a1f032e1d4973e87dbe9e6e8aef09586fa4aceef4c511deb9 SHA512 32764950348270e522549869b387f578cba29c45a4b55f6beb6c511544e389c155d2e7ce70c76b1ea2b02c4982db34c2b7646643acfa4f19a49285977318c952
MISC ChangeLog 2997 BLAKE2B c485a198c3a1ddda9c6f2f069fa73ee2c4deeb4eee4d28ec2f964e30cbc1a9f2299ee0e0ad0e4bda56c5ee5e7de5b7fd89b4b209c2834b9037350ca72bfa3f50 SHA512 6c1fadc9affbc2d88d3ad04db1298dd76d3f76769ecb9a5c59fd4e2f290495310500c0f95e95d062a3711d802805814597c87037fa24e3337c929ff3fc3b20dc
MISC metadata.xml 408 BLAKE2B 66a3e2838d5c5f95c7463733cd13b1230ef3ca005ec0c5dac797561be30f950da98dfa41eeb4d43cf97500c9a2e0d04c57b0b084d60107072a988dd7c4d16ded SHA512 9cac3e4a07c425e87274de776e03d243e462341168235cd3991ef4706aa1a902cf6591ae8e965b9c4ed370fc2ebef3ca805a9c761d05c4b994ae8667198b267c
diff --git a/app-editors/xxe/xxe-10.2.0.ebuild b/app-editors/xxe/xxe-10.2.0.ebuild
index 55f8638d..fd367cd6 100644
--- a/app-editors/xxe/xxe-10.2.0.ebuild
+++ b/app-editors/xxe/xxe-10.2.0.ebuild
@@ -21,7 +21,7 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-RDEPEND=">=virtual/jre-1.6
+RDEPEND=">=virtual/jre-1.8
dev-java/javahelp:0
dev-java/saxon:6.5
dev-java/saxon:9
diff --git a/app-editors/xxe/xxe-10.3.0.ebuild b/app-editors/xxe/xxe-10.3.0.ebuild
new file mode 100644
index 00000000..928d001d
--- /dev/null
+++ b/app-editors/xxe/xxe-10.3.0.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=6
+
+inherit java-pkg-2 versionator
+
+DESCRIPTION="XMLmind XML Editor allows to author large, complex, modular, XML documents"
+HOMEPAGE="http://www.xmlmind.com/xmleditor/"
+
+MY_PV=$(replace_all_version_separators '_')
+MY_P="${PN}-perso-${MY_PV}"
+SRC_URI="https://www.xmlmind.com/xmleditor/_download/${MY_P}.zip"
+
+LICENSE="xxe-perso"
+# license does not allow redistributing, and they seem to silently update
+# distfiles...
+RESTRICT="mirror"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.8
+"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() { :; }
+
+src_compile() { :; }
+
+src_install() {
+ local dir="/opt/${PN}"
+
+ # buggy binary crap also requires the demo dir ??
+ insinto "${dir}"
+ doins -r addon demo
+
+ # Xerces has been patched hope this gets upstream was version 2.9.1
+ # relaxng is a heavely modified version of jing 20030619
+ java-pkg_jarinto "${dir}"/lib
+ java-pkg_dojar bin/${PN}.jar bin/relaxng.jar bin/saxon.jar bin/saxon11.jar bin/xerces.jar bin/xmlresolver.jar
+ #local dep="javahelp"
+ #java-pkg_register-dependency ${dep}
+
+ # put launchers into the xxe/bin dir as expected by the xxe.jar
+ into "${dir}"
+ java-pkg_dolauncher authvalue \
+ --main "com.xmlmind.netutil.SimpleAuthenticatorModule" \
+ --java_args "-Xss4m -Xmx512m"
+ java-pkg_dolauncher xmltool \
+ --main "com.xmlmind.xml.xmltool.Main" \
+ --java_args "-Dxml.catalog.files=\"${dir}/addon/config/catalog.xml\" -Xss4m -Xmx512m"
+ java-pkg_dolauncher xxeconvert \
+ --main "com.xmlmind.xmleditapp.convert.StartConvert" \
+ --java_args "-Xss4m -Xmx512m"
+ java-pkg_dolauncher ${PN} \
+ --main "com.xmlmind.xmleditapp.desktop.QuickStart" \
+ --java_args "-Xss4m -Xmx512m"
+
+ # for direct run without creating an env.d file link them
+ dodir /opt/bin
+ dosym ${dir}/bin/authvalue /opt/bin/authvalue
+ dosym ${dir}/bin/xmltool /opt/bin/xmltool
+ dosym ${dir}/bin/xxeconvert /opt/bin/xxeconvert
+ dosym ${dir}/bin/xxe /opt/bin/xxe
+
+ dohtml -r doc/*
+ dodoc legal/ditac.* legal/expr.* legal/icons.* legal/relaxng.* \
+ legal/xerces.* legal/xsdregex.* legal/xxe-* legal.txt
+
+ doicon bin/icon/xxe.png
+ make_desktop_entry xxe "XMLmind XML Editor" xxe "Development;TextEditor;"
+}
diff --git a/app-emulation/opencbm/Manifest b/app-emulation/opencbm/Manifest
index e8985599..d614dea3 100644
--- a/app-emulation/opencbm/Manifest
+++ b/app-emulation/opencbm/Manifest
@@ -2,7 +2,7 @@ AUX 001_opencbm-0.4.99.98-ncurses6-1.patch 698 BLAKE2B 3d126aca22c4c1aa7cf6df35c
AUX Makefile 1003 BLAKE2B 9e6363f8fb20826f380bae087f461b0f87a2f118be223ca809c84dba7154c6493b8937d7a46437a1773afaf5ba58179d33f9599b0fc063ae53bd5f9984128fa5 SHA512 a15c0d5a962d183f6753844aad38ef111ba4c34a4a3c8f947142b7cb5f71868ed77e965317c5aed10b9e3b5a8cb978fdffd505dbc11a6868615e5f11b19b7bd1
DIST nibtools-0.4.99.104-source.tar.gz 118200 BLAKE2B c0232c3e591fcc34979cf11663ec4e466d765cd423ef8e56a981c1fc6454c5c2315541961258840341d45a7639e0baad1877bd76e0b2bd9f8885bba72ee8cc87 SHA512 3936c5e68251f7f11a8d912374265ff150887efdf97eb86520413616b14ad689ef0eaa6f8f0b4b66b20e9e5b2733651784a263aafe2522093a39035ac35ec4da
DIST opencbm-0.4.99.104-source.tar.gz 13417312 BLAKE2B 1ba6e88c8765a161d6cb7a1c313c2db6cc885c616ac110c0833f59c93e2b2081e67ce730a7ead123a59b83133ddc2edf448de694c72ca582c3a155a463175027 SHA512 1c5c09ed2fd37a6db152eb9739739edee8b2200a4e02b219e982337eeb935cdac1125f59f235b5c3d1203bcd0701c2e9e35da9de921797f1617014f723de0faa
-EBUILD opencbm-0.4.99.104.ebuild 3370 BLAKE2B 9990251e19349a5ca79f8925b047ab05062677ef78677b2d2a139ccff5a4add99341a9a2092057e37c150682c57706128651d6de391a9e3206eaa3e9aa942076 SHA512 8ec85812c968b89e82e840da724448644c1768d37d861d368cf6c20724c153bbb0d856449e1257c230f18ca2f1326de7cedd1c7dfd242f0eeb4dfc8a043b5541
-EBUILD opencbm-9999.ebuild 3370 BLAKE2B 9990251e19349a5ca79f8925b047ab05062677ef78677b2d2a139ccff5a4add99341a9a2092057e37c150682c57706128651d6de391a9e3206eaa3e9aa942076 SHA512 8ec85812c968b89e82e840da724448644c1768d37d861d368cf6c20724c153bbb0d856449e1257c230f18ca2f1326de7cedd1c7dfd242f0eeb4dfc8a043b5541
+EBUILD opencbm-0.4.99.104.ebuild 3381 BLAKE2B cb1256e99407ef39cc234c87dda440ffd9fbf527289c681645bdc6dbf7a369205aa5038356336b8c7adc933f5272c98706230071a61f80816ef6b434a142bdd2 SHA512 947e100b749512c3c77fc712570722c789b2b3476b03bb1a67cf33e375954a5f6adcafe0bc05193421effdb517e0c43429813249c328d08b59b449283e31f2d6
+EBUILD opencbm-9999.ebuild 3381 BLAKE2B cb1256e99407ef39cc234c87dda440ffd9fbf527289c681645bdc6dbf7a369205aa5038356336b8c7adc933f5272c98706230071a61f80816ef6b434a142bdd2 SHA512 947e100b749512c3c77fc712570722c789b2b3476b03bb1a67cf33e375954a5f6adcafe0bc05193421effdb517e0c43429813249c328d08b59b449283e31f2d6
MISC ChangeLog 1266 BLAKE2B c0347d5e0361182d79816ff25a52e2d52c52cf932adab716503f8a738da6c0643d08f4d14b9315ea6a9f2bf8e056c1da91a2a2515684f85a8f204e16731a7a7e SHA512 d3cea999760ee90a45148f31963a532ce3ff6db7122b11b8b06ca094f3d936309a2c8cc90e15fc7af86bda40952b28667db403b30c26c0189a083f9bc447b466
MISC metadata.xml 408 BLAKE2B 66a3e2838d5c5f95c7463733cd13b1230ef3ca005ec0c5dac797561be30f950da98dfa41eeb4d43cf97500c9a2e0d04c57b0b084d60107072a988dd7c4d16ded SHA512 9cac3e4a07c425e87274de776e03d243e462341168235cd3991ef4706aa1a902cf6591ae8e965b9c4ed370fc2ebef3ca805a9c761d05c4b994ae8667198b267c
diff --git a/app-emulation/opencbm/opencbm-0.4.99.104.ebuild b/app-emulation/opencbm/opencbm-0.4.99.104.ebuild
index b377a948..39d9412c 100644
--- a/app-emulation/opencbm/opencbm-0.4.99.104.ebuild
+++ b/app-emulation/opencbm/opencbm-0.4.99.104.ebuild
@@ -3,35 +3,31 @@
EAPI="7"
-inherit eutils toolchain-funcs linux-mod udev
+inherit toolchain-funcs linux-mod udev
if [[ ${PV} = 9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/OpenCBM/OpenCBM.git"
- KEYWORDS=""
else
#SRC_URI="http://debian.trikaliotis.net/opencbm/opencbm_${PV}-1.tar.gz"
#SRC_URI="http://www.trikaliotis.net/Download/opencbm-${PV}/opencbm-${PV}-source.tar.bz2"
SRC_URI="https://github.com/OpenCBM/OpenCBM/archive/v${PV//./_}.tar.gz -> opencbm-${PV}-source.tar.gz
- https://github.com/OpenCBM/nibtools/tarball/master -> nibtools-${PV}-source.tar.gz"
+ https://github.com/OpenCBM/nibtools/archive/master.tar.gz -> nibtools-${PV}-source.tar.gz"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
fi
SDIR="include libmisc arch/linux lib cbmctrl cbmformat d64copy cbmcopy libtrans cbmforng d82copy demo/flash demo/morse demo/rpm1541 sample/libtrans cbmrpm41"
DESCRIPTION="OpenCBM is a tool to use serial devices as used by most Commodore (CBM) machines"
-HOMEPAGE="http://opencbm.trikaliotis.net/"
-
+HOMEPAGE="https://opencbm.trikaliotis.net/"
LICENSE="GPL-2"
SLOT="0"
IUSE="doc"
-
DEPEND="virtual/linux-sources
dev-embedded/cc65
app-text/linuxdoc-tools
app-text/docbook-xml-dtd:4.1.2
virtual/libusb:0"
-
S="${WORKDIR}"/OpenCBM-${PV//./_}
BUILD_PARAMS="KDIR=$KERNEL_DIR"
@@ -78,10 +74,11 @@ src_install() {
newins opencbm/sys/linux/45-opencbm-xa1541.rules 45-opencbm-xa1541.rules
rm -rf "${D}"/var
linux-mod_src_install
- generate_modulesd
+# generate_modulesd
}
pkg_postinst() {
+ udev_reload
linux-mod_pkg_postinst
"${EROOT}"/usr/lib/opencbm/install_plugin install xa1541
"${EROOT}"/usr/lib/opencbm/install_plugin install xu1541
@@ -96,4 +93,5 @@ pkg_prerm() {
pkg_postrm() {
linux-mod_pkg_postrm
+ udev_reload
}
diff --git a/app-emulation/opencbm/opencbm-9999.ebuild b/app-emulation/opencbm/opencbm-9999.ebuild
index b377a948..39d9412c 100644
--- a/app-emulation/opencbm/opencbm-9999.ebuild
+++ b/app-emulation/opencbm/opencbm-9999.ebuild
@@ -3,35 +3,31 @@
EAPI="7"
-inherit eutils toolchain-funcs linux-mod udev
+inherit toolchain-funcs linux-mod udev
if [[ ${PV} = 9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/OpenCBM/OpenCBM.git"
- KEYWORDS=""
else
#SRC_URI="http://debian.trikaliotis.net/opencbm/opencbm_${PV}-1.tar.gz"
#SRC_URI="http://www.trikaliotis.net/Download/opencbm-${PV}/opencbm-${PV}-source.tar.bz2"
SRC_URI="https://github.com/OpenCBM/OpenCBM/archive/v${PV//./_}.tar.gz -> opencbm-${PV}-source.tar.gz
- https://github.com/OpenCBM/nibtools/tarball/master -> nibtools-${PV}-source.tar.gz"
+ https://github.com/OpenCBM/nibtools/archive/master.tar.gz -> nibtools-${PV}-source.tar.gz"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
fi
SDIR="include libmisc arch/linux lib cbmctrl cbmformat d64copy cbmcopy libtrans cbmforng d82copy demo/flash demo/morse demo/rpm1541 sample/libtrans cbmrpm41"
DESCRIPTION="OpenCBM is a tool to use serial devices as used by most Commodore (CBM) machines"
-HOMEPAGE="http://opencbm.trikaliotis.net/"
-
+HOMEPAGE="https://opencbm.trikaliotis.net/"
LICENSE="GPL-2"
SLOT="0"
IUSE="doc"
-
DEPEND="virtual/linux-sources
dev-embedded/cc65
app-text/linuxdoc-tools
app-text/docbook-xml-dtd:4.1.2
virtual/libusb:0"
-
S="${WORKDIR}"/OpenCBM-${PV//./_}
BUILD_PARAMS="KDIR=$KERNEL_DIR"
@@ -78,10 +74,11 @@ src_install() {
newins opencbm/sys/linux/45-opencbm-xa1541.rules 45-opencbm-xa1541.rules
rm -rf "${D}"/var
linux-mod_src_install
- generate_modulesd
+# generate_modulesd
}
pkg_postinst() {
+ udev_reload
linux-mod_pkg_postinst
"${EROOT}"/usr/lib/opencbm/install_plugin install xa1541
"${EROOT}"/usr/lib/opencbm/install_plugin install xu1541
@@ -96,4 +93,5 @@ pkg_prerm() {
pkg_postrm() {
linux-mod_pkg_postrm
+ udev_reload
}
diff --git a/app-misc/1password-cli/1password-cli-2.13.1.ebuild b/app-misc/1password-cli/1password-cli-2.13.1.ebuild
new file mode 100644
index 00000000..2a7d5b15
--- /dev/null
+++ b/app-misc/1password-cli/1password-cli-2.13.1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="The world’s most-loved password manager CLI"
+HOMEPAGE="https://1password.com"
+SRC_URI="amd64? ( https://cache.agilebits.com/dist/1P/op2/pkg/v${PV}/op_linux_${ARCH}_v${PV}.zip )"
+
+LICENSE=""
+SLOT="0"
+KEYWORDS="amd64"
+
+RESTRICT="mirror strip test bindist"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+S=${WORKDIR}
+
+src_install() {
+ dobin op
+}
diff --git a/app-misc/1password-cli/1password-cli-2.15.0.ebuild b/app-misc/1password-cli/1password-cli-2.15.0.ebuild
new file mode 100644
index 00000000..eb27d5dd
--- /dev/null
+++ b/app-misc/1password-cli/1password-cli-2.15.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="The world’s most-loved password manager CLI"
+HOMEPAGE="https://1password.com"
+SRC_URI="amd64? ( https://cache.agilebits.com/dist/1P/op2/pkg/v${PV}/op_linux_${ARCH}_v${PV}.zip )"
+
+LICENSE=""
+SLOT="0"
+KEYWORDS="amd64"
+
+RESTRICT="mirror strip test bindist"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+S=${WORKDIR}
+
+src_install() {
+ dobin op
+}
diff --git a/app-misc/1password-cli/Manifest b/app-misc/1password-cli/Manifest
new file mode 100644
index 00000000..5d43f78f
--- /dev/null
+++ b/app-misc/1password-cli/Manifest
@@ -0,0 +1,4 @@
+DIST op_linux_amd64_v2.13.1.zip 7208383 BLAKE2B a22cf7246218ed1343adb65982902bda0075f38091ee445df2f77e7ed804db67340b9cde5ee41585d5f60041239c48ecbf3af0a16d7a959aef1670e6ed8f83a4 SHA512 f570fca12ca188aae9b4696c24d3d8392e8a51adaba52aef8b849f9419f89f5b0363d67da037e3a8f80f8ffd976f371c18a321e49084dd6927594a6feb878971
+DIST op_linux_amd64_v2.15.0.zip 7430324 BLAKE2B 6ea993bcc2fa6993a8b4335b2ebcfea11eaf12b6e65dad6fc0fd3be2fdbbb2bc6a833707c3eb4fdd1b1cdd973045c57e4ade9c950793810c46398f4f5c1f2f4c SHA512 e422ed18a68cda72cfa799e3dce3d1c375af5cfa21d0f88cbd9175ddf618fe7f92799ac75d51ee922ac05ee33c2e877dff200fdaa6f458955445ce5d62d7ce61
+EBUILD 1password-cli-2.13.1.ebuild 463 BLAKE2B f6fa7a147673d51ad7bd5bf1071f2e6f8fd9333232aac696f0f9d352e958cefaaed0a27fc5c5a46c75c523bc6efd06d6c6eaa206a01ff9eab09684eab2fd7b70 SHA512 01ef990a1c87a1d0cdb4659e6f45ef0a4cc5b7cd02a6537252972b446b8d34d1c16e30c8232faa11243268b49d84a374fda5d72467df41e229aff892dd868d0c
+EBUILD 1password-cli-2.15.0.ebuild 462 BLAKE2B 1eb970195d6ea86dd06d81e9164336bd9474f4d864246e4d5ff2055d26a25a75d2fe4777080ae9a0acbcbf4064dac5bd96bcb051dad6dcba05d09e4c95beba73 SHA512 533ab8133e9693ea84219cea6164afbea42c13a2726d1b4f64b777f11124e0feb3fef0ad8a6df99bcda72abaff6276e4523c50a1358e2d224502f4911de313ec
diff --git a/app-misc/1password/1password-8.10.3.ebuild b/app-misc/1password/1password-8.10.3.ebuild
new file mode 100644
index 00000000..56c1b4ae
--- /dev/null
+++ b/app-misc/1password/1password-8.10.3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit rpm xdg-utils
+
+DESCRIPTION="The world’s most-loved password manager"
+HOMEPAGE="https://1password.com"
+SRC_URI="amd64? ( https://downloads.1password.com/linux/rpm/stable/x86_64/${P}.x86_64.rpm -> ${P}.x86_64.rpm )"
+
+LICENSE=""
+SLOT="0"
+KEYWORDS="amd64"
+
+RESTRICT="mirror strip test bindist"
+
+IUSE="policykit cli"
+
+DEPEND="
+x11-misc/xdg-utils
+acct-group/onepassword
+policykit? ( sys-auth/polkit )
+cli? ( app-misc/1password-cli )
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+S=${WORKDIR}
+
+src_prepare() {
+ default
+ xdg_environment_reset
+}
+
+src_unpack() {
+ rpm_unpack ${P}.x86_64.rpm
+}
+
+src_install() {
+ cp -ar "${S}/opt" "${D}" || die "Install failed!"
+ cp -ar "${S}/usr" "${D}" || die "Install failed!"
+
+ chgrp onepassword ${D}/opt/1Password/1Password-BrowserSupport
+
+ dosym /opt/1Password/1password /usr/bin/1password
+}
+
+pkg_postinst() {
+ chmod 4755 /opt/1Password/chrome-sandbox
+ chmod 6755 /opt/1Password/1Password-KeyringHelper
+ chmod 2755 /opt/1Password/1Password-BrowserSupport
+
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}
diff --git a/app-misc/1password/1password-8.9.14.ebuild b/app-misc/1password/1password-8.9.14.ebuild
new file mode 100644
index 00000000..54d5b317
--- /dev/null
+++ b/app-misc/1password/1password-8.9.14.ebuild
@@ -0,0 +1,63 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit rpm xdg-utils
+
+DESCRIPTION="The world’s most-loved password manager"
+HOMEPAGE="https://1password.com"
+SRC_URI="amd64? ( https://downloads.1password.com/linux/rpm/stable/x86_64/${P}.x86_64.rpm -> ${P}.x86_64.rpm )"
+
+LICENSE=""
+SLOT="0"
+KEYWORDS="amd64"
+
+RESTRICT="mirror strip test bindist"
+
+IUSE="policykit cli"
+
+DEPEND="
+x11-misc/xdg-utils
+acct-group/onepassword
+policykit? ( sys-auth/polkit )
+cli? ( app-misc/1password-cli )
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+S=${WORKDIR}
+
+src_prepare() {
+ default
+ xdg_environment_reset
+}
+
+src_unpack() {
+ rpm_unpack ${P}.x86_64.rpm
+}
+
+src_install() {
+ cp -ar "${S}/opt" "${D}" || die "Install failed!"
+ cp -ar "${S}/usr" "${D}" || die "Install failed!"
+
+ chgrp onepassword ${D}/opt/1Password/1Password-BrowserSupport
+
+ dosym /opt/1Password/1password /usr/bin/1password
+}
+
+pkg_postinst() {
+ chmod 4755 /opt/1Password/chrome-sandbox
+ chmod 6755 /opt/1Password/1Password-KeyringHelper
+ chmod 2755 /opt/1Password/1Password-BrowserSupport
+
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}
diff --git a/app-misc/1password/Manifest b/app-misc/1password/Manifest
new file mode 100644
index 00000000..895fd316
--- /dev/null
+++ b/app-misc/1password/Manifest
@@ -0,0 +1,4 @@
+DIST 1password-8.10.3.x86_64.rpm 94457340 BLAKE2B 39d3758e703de999248b86c007119a22b174604882833636d7d480a0da64b1606a2ef8e973addf84a6a1a88ebbe521463dc4f2160c271e73a22223df976d74ef SHA512 6b2272b37c79e8b48ecc4c4f97c03184158d71f4e75cfefd31554e342d725aeba8cd393e4d68960d67f7eacd3d6370ba8c8fa7c00bf86af1dbbb61025b0be346
+DIST 1password-8.9.14.x86_64.rpm 91787312 BLAKE2B 34c871841d68776c86cd8a2b29edad1c34ec13024a8ad456a4b3e68d90d511b89d38aa0c2f649b386397cf4e104ff8e389f023002d3c206b0ffa04d01ce534cb SHA512 94e398c27c016d82067f8826e53abe8d70e8035eb78cef86936f5713c490a772a7110efb1bee66a434160e01c2f66c48b6b68e800fe759679a8ee521758bd9f9
+EBUILD 1password-8.10.3.ebuild 1276 BLAKE2B cf5b0e2621e4f3d15a6a3c062967a3f83ca3292d09dee236d535692f21165a5ec8589f9b7ac932ddfa000ce42861f87021206ff87984872859b7ff2179792735 SHA512 881931b47802e257b4616f7cb9365cd73f7f572d7695d5a1fd6f69af24764ff93d94cdf96c64b2f4469d96c3ff40cbafca1e9cd4e9ab2d7ea792222fa1ae2e8e
+EBUILD 1password-8.9.14.ebuild 1292 BLAKE2B 01bb44e419cdc77580f7582d9b1874ab73a45a36eb4bc89adee62983d03d0483192ba6d41e1956e1046d09ae08560f52aac6a45bd146f441205796477448cd02 SHA512 4fdfcf6f346732e9519d7f93cf6b06fb8f36ca188ca25313de3366400b8cb82048cf302491f5c9aab59d4a00baa5ea669638f2e64aa84de5bd96e6da7debc9a7
diff --git a/app-misc/byobu/Manifest b/app-misc/byobu/Manifest
new file mode 100644
index 00000000..a7922fe1
--- /dev/null
+++ b/app-misc/byobu/Manifest
@@ -0,0 +1,3 @@
+DIST byobu_5.133.orig.tar.gz 761655 BLAKE2B 796cfe22ba60a8cfe41ca6570e4c7f265dd249e7767086341903da7862037f39b1f49434b6dae36d12d82df1ee34306b815ff3f8e703eeedab79cf02e8d86a7d SHA512 4c0ef7a3b483e48c57f3e97dae1c7c77084797016efb677b201f2b56c6b9f4b771739d9a6d9a4fb612203a22e9fa460db80fde30c837b102ad830b1b2919db6c
+EBUILD byobu-5.133.ebuild 1139 BLAKE2B 38619acfb296df017ba38e5d060d6f2acf9cab393d7cc04b6149dd06f33fd5259388e56fb8b476489c06871762343c0498b17cee658d68bc0bf600ed80c52fea SHA512 58efb792e3515c6b401c524fabb22ecd164216c2b992fdf327a25b3486c8cb17703333638b9a826957f5315cf8ba401386506684b968210c1625e0e494ea12b5
+MISC metadata.xml 990 BLAKE2B 27fb7672ed6a1d6311529e5e384d3993384fa6bcc0283c23e3e29d2d710eb1d77770c8e51b92d490dbf4dc42fb70290bc978467f70fcf079f24c1932b7d72a1b SHA512 6af4fc912b0bdf14bef28e4b0cb53d20eb00cf891a2a4a7705041904f5089274b086c05a0306f10db0203f64531e82ec7973975ccccfd60adf33c322a77d7008
diff --git a/app-misc/byobu/byobu-5.133.ebuild b/app-misc/byobu/byobu-5.133.ebuild
new file mode 100644
index 00000000..c5b5cea8
--- /dev/null
+++ b/app-misc/byobu/byobu-5.133.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit python-single-r1
+
+DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)"
+HOMEPAGE="https://byobu.org"
+SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 ~arm64 ~riscv x86"
+IUSE="screen"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ $(python_gen_cond_dep 'dev-libs/newt[${PYTHON_USEDEP}]')
+ screen? ( app-misc/screen )
+ !screen? ( app-misc/tmux )"
+
+src_prepare() {
+ default
+
+ python_fix_shebang .
+
+ # Set default system backend to screen
+ if use screen ; then
+ sed -i -e 's/#\(BYOBU_BACKEND\).*/\1="screen"/' etc/byobu/backend || die
+ fi
+}
+
+src_install() {
+ default
+
+ # It's easier than forcing autoconf
+ mv "${ED}/usr/share/doc/${PN}/"* "${ED}/usr/share/doc/${PF}/" || die
+ rmdir "${ED}/usr/share/doc/${PN}" || die
+
+ # Create symlinks for backends
+ dosym ${PN} /usr/bin/${PN}-screen
+ dosym ${PN} /usr/bin/${PN}-tmux
+
+ docompress -x /usr/share/doc/${PN}
+}
diff --git a/app-misc/byobu/metadata.xml b/app-misc/byobu/metadata.xml
new file mode 100644
index 00000000..d9b542e2
--- /dev/null
+++ b/app-misc/byobu/metadata.xml
@@ -0,0 +1,23 @@
+
+
+
+
+ shell-tools@gentoo.org
+ Gentoo Shell Tools Project
+
+
+ Byobu is a GPLv3 open source text-based window manager and terminal multiplexer.
+ It was originally designed to provide elegant enhancements to the otherwise
+ functional, plain, practical GNU Screen, for the Ubuntu server distribution.
+ Byobu now includes an enhanced profiles, convenient keybindings, configuration
+ utilities, and toggle-able system status notifications for both the GNU Screen
+ window manager and the more modern Tmux terminal multiplexer, and works on most
+ Linux, BSD, and Mac distributions.
+
+
+
+ byobu
+
+
diff --git a/app-misc/irtrans-irserver/Manifest b/app-misc/irtrans-irserver/Manifest
index 79f517c1..3830ccb1 100644
--- a/app-misc/irtrans-irserver/Manifest
+++ b/app-misc/irtrans-irserver/Manifest
@@ -1,5 +1,5 @@
AUX irtrans-server.confd 405 BLAKE2B fa94ea017cb77fbde5e3d06b9b4db0a8ab718603657be9c847049bd51b84356e4f32cf737cceb882fc002193e4163bf75c8dabb0f7e81d80934ea41a0d9f1fdb SHA512 1de71558faf723b6f2b8b133f81d20addc7c0775e3859307a78e1ae41bd9fb122ccc43f483d7e9e33cb21de611e283246562e1a8d1cd3d6cfd9d1a3002b8593b
-AUX irtrans-server.initd 576 BLAKE2B 836c5f78a24309a4b2460593cde2e0cec1270eb37dafc85e7585101cb6fb93d41dcabfc57bc7bf11bc3113e811a8ec5447b11e123eee1cc812c786773d2eb573 SHA512 8a22400ada008775c10c136f9913ad4d6bee833808d29034ec37b47e609509909cf9df3d7c08858a9a8d245363997fbeab04778c14c1e15ba74c785dd225bd2d
+AUX irtrans-server.initd 577 BLAKE2B 3b1507c90cc241016eabde61566bcae96302c452a880f30089a086b50a6e1ff9007b915eb0523c0ff896fb692a2a459fc3b780a4ae50c912cb8d4bf780f06e7d SHA512 174d17d5d8dc5f2b7d39eabfd1e3ee5d72d9fc1130ea7f538e395d1401aaebcc4ff18582f6ec9a1baba11ff70308bcff3aa2bf31075bc0f20762639f8794008a
AUX irtrans-server.service 218 BLAKE2B 3eb1d695da2e0f1baaba6a2abb6aef6864ecb11f20230e5b7ec4e5f54cf3d7bbee62a647a6ec98ea47f9f594308e826e53f365af92410f29f1d305c5ec520d91 SHA512 e16002a3b31b9015a42c9edd75e462108199ad46c74e7b83ed1bc39e5c08497388ce099798b0e73acfaf59078e62df938b021ca076abaa346e423446378f6ccb
DIST irserver-6.10.23.tar.gz 864840 BLAKE2B a046fc394f6a39b261d448f0e67816f5cacd8bbe6b075650e50318bb5042b29d7972c14eac0923d36afaafd000c32682e8b68be238b57fd5cc1f4e4c22205651 SHA512 81934293ffb7e5d34ff04276612f9e7fe20b4fc401a63cda64da360fb8a7c48f94a57631c1c19d2fd7e75d2e1e3fe34c08319a743d444a38febf1fb4f9c0767d
DIST irserver-src-6.10.23.tar.gz 532755 BLAKE2B 6550ecacf007fe4a69c523c181feb1a96e3309c86d9d2040af05bd02d00391c3c37e7ef4c9f829db37b97dc590c88baf746544a5996e44b4fdc8088ea2ea9589 SHA512 ef453381ae4802a40a76c27a685c6892d1d0f6a88ef2975868e901eb06b5e70ba6e6f40333c4ea45a83f2b4419a49b9b16d08f23f303e1911d856f8b6afc2d85
diff --git a/app-misc/syncterm/files/st_crypt-9999.patch b/app-misc/syncterm/files/st_crypt-9999.patch
new file mode 100644
index 00000000..3522c60f
--- /dev/null
+++ b/app-misc/syncterm/files/st_crypt-9999.patch
@@ -0,0 +1,11 @@
+--- syncterm-9999/src/syncterm/st_crypt.h.orig 2023-01-13 15:24:35.746160896 +0100
++++ syncterm-9999/src/syncterm/st_crypt.h 2023-01-13 15:25:16.746700269 +0100
+@@ -4,7 +4,7 @@
+ #define _ST_CRYPT_H_
+
+ #ifndef WITHOUT_CRYPTLIB
+- #include
++ #include "../../3rdp/src/cl/cryptlib.h"
+ #if CRYPTLIB_VERSION < 3400
+ #if CRYPTLIB_VERSION < 340 || CRYPTLIB_VERSION > 999
+ #define CRYPT_ATTRIBUTE_ERRORMESSAGE CRYPT_ATTRIBUTE_INT_ERRORMESSAGE
diff --git a/app-misc/syncterm/syncterm-9999.ebuild b/app-misc/syncterm/syncterm-9999.ebuild
new file mode 100644
index 00000000..a127345f
--- /dev/null
+++ b/app-misc/syncterm/syncterm-9999.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+if [[ ${PV} = 9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://gitlab.synchro.net/main/sbbs.git"
+ KEYWORDS=""
+else
+ SRC_URI="https://downloads.sourceforge.net/project/syncterm/syncterm/syncterm-${PV}/syncterm-${PV}-src.tgz"
+ KEYWORDS="amd64"
+fi
+
+
+DESCRIPTION="A BBS terminal program, supporting ANSI music and IBM charset."
+HOMEPAGE="http://syncterm.bbsdev.net"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+RDEPEND="sys-libs/ncurses"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+# "${FILESDIR}"/cl-makefile.patch
+ "${FILESDIR}"/st_crypt-9999.patch
+)
+
+#S=${WORKDIR}/syncterm-${PV}/src/syncterm
+
+#src_prepare() {
+# cp "${FILESDIR}"/cl-linux-yield.patch ${WORKDIR}/syncterm-${PV}/3rdp/build/cl-linux-yield.patch
+# default
+#}
+
+src_compile() {
+# CPPFLAGS="${CPPFLAGS}" \
+# CFLAGS="${CFLAGS}" \
+# LDFLAGS="${LDFLAGS}" \
+
+ emake -C src/syncterm CC="$(tc-getCC)" \
+ PREFIX="/usr" MANPREFIX="/usr/share" RELEASE=1
+}
+
+src_install() {
+ emake -C src/syncterm CC="$(tc-getCC)" \
+ PREFIX="${ED}/usr" MANPREFIX="${ED}/usr/share" RELEASE=1 install
+}
diff --git a/dev-db/mysql-workbench/Manifest b/dev-db/mysql-workbench/Manifest
new file mode 100644
index 00000000..b95f1acd
--- /dev/null
+++ b/dev-db/mysql-workbench/Manifest
@@ -0,0 +1,6 @@
+AUX mysql-workbench-6.2.5-wbcopytables.patch 496 BLAKE2B 4666f32098ec43ad36f1c726903472e829873002521262d6781a2febfc1394dac6f9708fbb99a3fa52a032a5b8f695c9b98579b28a63e74727eac21a8ef3fbe6 SHA512 c0766315cd345893af57880eccdc2c1dd9ffa456a27d0c736af1382ca24c507de865188588753f212f35d8781305dcbd8d555f128edd6454dc2299bd0357fd5b
+AUX mysql-workbench-8.0.19-mysql-connector-8.patch 624 BLAKE2B 0cb899a8b0127664471877bb9cdcda946c35ed7a159646b94891a791a618c77201cc7696d6f2893e95fd78dbc13325cef752740f76e69974e10c0f88084594fb SHA512 09c2349cb42393f6d32f24804e2c3438a5d846fc9611e0684ccf2139fd30b0abcb0f2aa7b205c60a081259e073fb345cd72837dab1a216e6a8aaaba5ec3decf7
+DIST antlr-4.9.1-complete.jar 2100605 BLAKE2B 6fcdc184900cd30e42b3e1b6f56bcccbf1d3c975edc8475b92b9c0779568148f711e9bcbb77859d8fbff2d31f362a9b562847b9b9ece03c8c4b7792341fab57e SHA512 a01815324c15fbff9cb917fa2cdef85aabf34c77730913026257e92c195d11f059c73a1579ffa74616b76b5aba34fd6074b19e1de8f2f3bec1c55cd950f4947b
+DIST mysql-workbench-community-8.0.31-src.tar.gz 19350289 BLAKE2B eac2024763f1129020584f1f0d019567b88a5de6236607d9c5c140e3041c6570a50bed50d3783f5a51ac2d16331300d49095f16f786d5152bb378f0d8f5cb548 SHA512 7ff9b6636292d6fa1708903e5fd26fdcd07150e34217ddb6fe552dd46c026ed49cd5086e7f43daea09d90f390cd14b59ddd8371b308dc6c9b3f0fe3455e04b7a
+EBUILD mysql-workbench-8.0.31-r1.ebuild 2721 BLAKE2B 62d12ff7f2a930e4029d9938acaeb550abb3e847a7af5f98dafd601d4639a5c306a390e672fcbea90251a26fc66293b3562afb0191a240efdacd9a2b41c7a094 SHA512 a31862c758811a110112a459ad71b98b27681aee024e35e4dabb7e11e8774b8150c93634e8f3c8977c39d742fa3d44c682cbf6119f0bc01846c8d50edfcf1ce5
+MISC metadata.xml 312 BLAKE2B 8c491f0d45e24b9e367ef63f8822daf6925a17f8d44ff822b8faf7485f729524de02309b91e18411421b4533aa086853914c4a0b2a93d3fd5573a289fa1e3715 SHA512 01f2f645d167290bdb313e6c1c386b0426b41edd0ee9b50acf538a7353855c84321111ffd11c213c71424c7df73aa48b8fb9f3f2af914b595fb2961cc6b3186c
diff --git a/dev-db/mysql-workbench/files/mysql-workbench-6.2.5-wbcopytables.patch b/dev-db/mysql-workbench/files/mysql-workbench-6.2.5-wbcopytables.patch
new file mode 100644
index 00000000..2d3d8db2
--- /dev/null
+++ b/dev-db/mysql-workbench/files/mysql-workbench-6.2.5-wbcopytables.patch
@@ -0,0 +1,12 @@
+--- a/plugins/migration/CMakeLists.txt.~1~ 2015-02-25 09:08:47.000000000 +0100
++++ b/plugins/migration/CMakeLists.txt 2015-03-07 07:28:56.745378152 +0100
+@@ -10,7 +10,8 @@
+ if (UNIX)
+ configure_file(wbcopytables.in wbcopytables)
+ install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/wbcopytables DESTINATION ${WB_INSTALL_BIN_DIR})
+-
++
++ SET(CMAKE_INSTALL_RPATH "${WB_INSTALL_LIB_DIR}")
+ add_executable(wbcopytables-bin
+ copytable/copytable.cpp
+ copytable/python_copy_data_source.cpp
diff --git a/dev-db/mysql-workbench/files/mysql-workbench-8.0.19-mysql-connector-8.patch b/dev-db/mysql-workbench/files/mysql-workbench-8.0.19-mysql-connector-8.patch
new file mode 100644
index 00000000..c624dea0
--- /dev/null
+++ b/dev-db/mysql-workbench/files/mysql-workbench-8.0.19-mysql-connector-8.patch
@@ -0,0 +1,12 @@
+diff -Naru a/build/cmake/Modules/FindMySQLCppConn.cmake b/build/cmake/Modules/FindMySQLCppConn.cmake
+--- a/build/cmake/Modules/FindMySQLCppConn.cmake 2019-12-18 13:31:34.520496484 +0100
++++ b/build/cmake/Modules/FindMySQLCppConn.cmake 2019-12-18 13:32:32.590496631 +0100
+@@ -27,7 +27,7 @@
+ set(MySQLCppConn_FIND_QUIETLY TRUE)
+ endif ()
+
+-find_path(MySQLCppConn_INCLUDE_DIR NAMES mysql_connection.h PATHS /usr/include /usr/local/include)
++find_path(MySQLCppConn_INCLUDE_DIR NAMES mysql_connection.h PATHS /usr/include /usr/include/jdbc /usr/local/include /usr/local/include/jdbc)
+
+ SET(MySQLCppConn_NAMES mysqlcppconn)
+
diff --git a/dev-db/mysql-workbench/metadata.xml b/dev-db/mysql-workbench/metadata.xml
new file mode 100644
index 00000000..2ad1914f
--- /dev/null
+++ b/dev-db/mysql-workbench/metadata.xml
@@ -0,0 +1,10 @@
+
+
+
+
+ graaff@gentoo.org
+
+
+ mysql/mysql-workbench
+
+
diff --git a/dev-db/mysql-workbench/mysql-workbench-8.0.31-r1.ebuild b/dev-db/mysql-workbench/mysql-workbench-8.0.31-r1.ebuild
new file mode 100644
index 00000000..0dc1df72
--- /dev/null
+++ b/dev-db/mysql-workbench/mysql-workbench-8.0.31-r1.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+GCONF_DEBUG="no"
+
+PYTHON_COMPAT=( python3_{9,10,11} )
+PYTHON_REQ_USE="sqlite"
+
+ANTLR_VERSION=4.9.1
+
+inherit gnome2 flag-o-matic python-single-r1 cmake
+
+MY_P="${PN}-community-${PV}-src"
+
+DESCRIPTION="MySQL Workbench"
+HOMEPAGE="https://www.mysql.com/products/workbench/"
+SRC_URI="https://cdn.mysql.com/Downloads/MySQLGUITools/${MY_P}.tar.gz
+ https://www.antlr.org/download/antlr-${ANTLR_VERSION}-complete.jar"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug doc"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# glibc: deprecated mutex functions, removed in 2.36.0
+CDEPEND="${PYTHON_DEPS}
+ app-crypt/libsecret
+ dev-libs/glib:2
+ =dev-cpp/glibmm-2.14:2
+ dev-cpp/gtkmm:3.0
+ dev-libs/atk
+ >=net-libs/libssh-0.9.5[server]
+ x11-libs/pango
+ x11-libs/gtk+:3
+ >=x11-libs/cairo-1.5.12[glib,svg(+)]
+ >=dev-libs/rapidjson-1.1.0
+ dev-libs/libsigc++:2
+ dev-libs/boost[nls]
+ >=dev-cpp/ctemplate-0.95
+ >=dev-libs/libxml2-2.6.2:2
+ dev-libs/libzip
+ dev-libs/libpcre[cxx]
+ >=sci-libs/gdal-1.11.1-r1
+ virtual/opengl
+ || ( sys-fs/e2fsprogs dev-libs/ossp-uuid )
+ dev-libs/tinyxml[stl]
+ >=dev-db/mysql-connector-c++-8.0.27-r1
+ dev-db/vsqlite++
+ || ( dev-db/libiodbc dev-db/unixODBC )
+ dev-python/pexpect
+ >=dev-python/paramiko-1.7.4
+"
+
+RDEPEND="${CDEPEND}
+ app-admin/sudo
+ >=sys-apps/net-tools-1.60_p20120127084908"
+
+DEPEND="${CDEPEND}
+ dev-lang/swig
+ virtual/jre
+ virtual/pkgconfig"
+
+S="${WORKDIR}"/"${MY_P}"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-6.2.5-wbcopytables.patch"
+ "${FILESDIR}/${PN}-8.0.19-mysql-connector-8.patch"
+)
+
+src_unpack() {
+ unpack ${PN}-community-${PV}-src.tar.gz
+}
+
+src_prepare() {
+ ## remove hardcoded CXXFLAGS
+ sed -i -e 's/-O0 -g3//' ext/scintilla/gtk/CMakeLists.txt || die
+ ## And avoid -Werror
+ sed -i -e 's/-Werror//' CMakeLists.txt || die
+ ## Fix doc install directory
+ sed -i -e "/WB_INSTALL_DOC_DIR/ s/mysql-workbench/${P}/ ; /WB_INSTALL_DOC_DIR/ s/-community//" CMakeLists.txt || die
+
+ ## package is very fragile...
+ strip-flags
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ if has_version dev-db/libiodbc ; then
+ IODBC="-DIODBC_CONFIG_PATH=/usr/bin/iodbc-config"
+ fi
+
+ append-cxxflags -std=c++11
+ ANTLR_JAR_PATH="${DISTDIR}/antlr-${ANTLR_VERSION}-complete.jar"
+ local mycmakeargs=(
+ -DWITH_ANTLR_JAR=${ANTLR_JAR_PATH}
+ -DLIB_INSTALL_DIR="/usr/$(get_libdir)"
+ -DIODBC_INCLUDE_PATH="/usr/include/iodbc"
+ ${IODBC}
+ -DPYTHON_INCLUDE_DIR="$(python_get_includedir)"
+ -DPYTHON_LIBRARY="$(python_get_library_path)"
+ -DMySQL_CONFIG_PATH="/usr/bin/mysql_config"
+ )
+ cmake_src_configure
+}
diff --git a/dev-embedded/64tass/64tass-1.58.2974.ebuild b/dev-embedded/64tass/64tass-1.58.2974.ebuild
new file mode 100644
index 00000000..d767a2f7
--- /dev/null
+++ b/dev-embedded/64tass/64tass-1.58.2974.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="7"
+
+inherit eutils toolchain-funcs multilib
+
+DESCRIPTION="64tass is cross assembler targeting the 65xx series of micro processors. Supports 6502, 65C02, R65C02, W65C02, 65CE02, 65816, DTV, 65EL02, 4510"
+HOMEPAGE="https://sourceforge.net/projects/tass64/"
+SRC_URI="https://sourceforge.net/projects/tass64/files/source/${PN}-${PV}-src.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="doc"
+
+DEPEND=""
+RDEPEND=""
+
+S="${WORKDIR}"/${PN}-${PV}-src
+
+src_compile() {
+ emake CC="$(tc-getCC)" AR="$(tc-getAR)" prefix=${EPREFIX}/usr docdir=${EPREFIX}/usr/share/doc/${PF} || die "src build fail"
+}
+
+src_install() {
+ emake CC="$(tc-getCC)" AR="$(tc-getAR)" prefix=${EPREFIX}/usr docdir=${EPREFIX}/usr/share/doc/${PF} install DESTDIR=${D} || die "src install failed"
+}
diff --git a/dev-embedded/64tass/Manifest b/dev-embedded/64tass/Manifest
index 30f4de3d..7d8472dd 100644
--- a/dev-embedded/64tass/Manifest
+++ b/dev-embedded/64tass/Manifest
@@ -1,2 +1,4 @@
DIST 64tass-1.57.2900-src.zip 744738 BLAKE2B d542ad3600ce198434c642d5837582732c6616bca566712b3dcd3f3f14e9673bf34cdfce0fd5dc7a2d6b95cf4f1c9d7c891225f678ff312fb7c7fc10169398f1 SHA512 5cfc6c075cf13df9c0c6974c92a96041fc16217f48c55a96b475ccc7fe1f65633ab6e9d6915b4a864b0b9d4bde8bc86d7473ea3cdbf3d1f9374fe6aa5e4d39d0
+DIST 64tass-1.58.2974-src.zip 727857 BLAKE2B 7d899cfcac64f26e44179a8933bcc47e1fb1fa15ffe99299f83105b7bef0def85647fdbb914e854dc3a4637f21f6bd82c41e798fd661220c5d1f6359575822f2 SHA512 4eab3d453ec6c6fffe68170ac78050e1d4d397ef9f1211edbb6ca79fb5020fee1455544dd5c18cdbd290d491252ddd03f0093298ae09731da62ab23362298405
EBUILD 64tass-1.57.2900.ebuild 903 BLAKE2B 0fab5dc5b4f15efa3174e520f19a767642a491fd289cdb77569c2b586869fb79b8242dc130c907a1e334e794817721c040fbf8219387d10adcfdd65db2af2818 SHA512 f1a6f7c07e44723e747a9244e2ed8c38cda23bdd42b793ad22ca3627714e8a970873798a4b5ccdc492b7660b830593c19fbb1ccf13ece69c07a610f606016292
+EBUILD 64tass-1.58.2974.ebuild 904 BLAKE2B 579994c4271f89f655f0803b601fe74b378eb4ffd64f94810536f8597afb590fa172ef16ff0659fff0878c18486e04cb66fdedbbd2d35e84374ac37024f29761 SHA512 5c9fc7dd0a8663d256c95f6634834116b62aef3bdef756c876a8c73060b66743219e2dd30f02e1bc4161fa38a2c5323ade789d0f6b7bc2ab280ac68086290858
diff --git a/dev-embedded/libftdi/Manifest b/dev-embedded/libftdi/Manifest
new file mode 100644
index 00000000..3c407eff
--- /dev/null
+++ b/dev-embedded/libftdi/Manifest
@@ -0,0 +1,7 @@
+AUX libftdi-0.20-cmake-include.patch 687 BLAKE2B 8817db6e200adcb3d76da91565fe25f694445a46325a6435d6d0545d6741b0d15b199f96aabf01ca664eeb3355008acc6ec309f5fa87f975584935ecd74558f7 SHA512 b7b2d3a8cd84f3bbc86aa43bc9d090359375c6ea6b52a32107cd46751d386768b3d196c0bca7235453c596ef19c5ee4e1a39739db90e3e0c06adc62609e7fb90
+AUX libftdi-0.20-cmake-version.patch 1010 BLAKE2B cd88bc50cebb22a5e982d8f7985014549bdae23e35fefb0d2f6cf14c4610d79ebfbbb11e94174b6c1ff260d83713c4c4db395c725bbe836142e0e80092324a3f SHA512 9ea6d07324c6cb89856f8a9411b0564fb344f2624162f5435b9cbaeddb97361d79dd9b71d0c64988106ec162cd5a93b43f2c5257f0f0207ce8151de37712cd91
+AUX libftdi-1.5-cmake-cxx.patch 1448 BLAKE2B f43c592cc17481e21dc1b0fe4a4cf583c3b2f192197133443f90dc1f9bd134fe903598dc9d12f92a8376bcd58f4cb698b9bd34ff4c06cf2df180260d2456126c SHA512 9881153611aa75dcc53f739bd510898f55d9fc56a07cec41e09fed37768c462663160d8491f7eaaa5dd7bc8935d36f33379d3529cfe355a3391507415a9e7cae
+AUX libftdi-1.5-tests-no-cxx.patch 1017 BLAKE2B ff3e05ae2cc48a023c74142f986159f68b6a3e49ccf9684c94b4de2fd03c8d5c53e600810d1e8933e09ed7aa167fab15101344a6bdc8b9e00647f2c86801f694 SHA512 6d0fa3923f8f1e92b22538448368016db24d194b886c4702731eb5038b65c8a03773cfe0a02459cf040574845ab482fb676f01a97f26d5c48065fd9427a11eeb
+DIST libftdi1-1.5.tar.bz2 116297 BLAKE2B 460ab93026e14a452e31fcc6930d305638fdc0ed06cb44fb9d50ad8f80199b17057d2f48a27b8295b43b956934289c872a2ef1ddb7f93fa93c6816511ef7607d SHA512 c525b2ab6aff9ef9254971ae7d57f3549a36a36875765c48f947d52532814a2a004de1232389d4fe824a8c8ab84277b08427308573476e1da9b7db83db802f6f
+EBUILD libftdi-1.5-r4.ebuild 1917 BLAKE2B 920bf8905df92276561d86e7f6dc1ccfc62651b6e6109f707d0ee39ff0d9fe9cbae91c0c1708daafbc84021f3aab094aa9d8d7033b7f2ee264af6408ee3b370d SHA512 9bef7c54c201f2b2f0c90c3464ecd70600af913b8312e0e34df4a8551c23775ae6cae1adc84d88554b68e8ade25bf73778dbb3ff36c6aeb23c18bd919aed7fee
+MISC metadata.xml 318 BLAKE2B c2c9ab83d57a082ed6608367f53f0f9420056c909d4ee50641da5b8f12b6a6ca996740fbdcadb0fa08460cb0cbef36dbedfaaf98acaea3eeeeee6afcf7724f54 SHA512 313b5c5dfcf5feb7dc8e41c1cb74939619451cb0747c1a281c9a0e763d26e0850a43e05d8fd2a836389bd75c2a4f153b80986e11be8171e9d93ca234f9df05f2
diff --git a/dev-embedded/libftdi/files/libftdi-0.20-cmake-include.patch b/dev-embedded/libftdi/files/libftdi-0.20-cmake-include.patch
new file mode 100644
index 00000000..4faf7c62
--- /dev/null
+++ b/dev-embedded/libftdi/files/libftdi-0.20-cmake-include.patch
@@ -0,0 +1,22 @@
+From ccbd6cf1934056386772debba8583bc9b3721072 Mon Sep 17 00:00:00 2001
+From: Uffe Jakobsen
+Date: Mon, 22 Oct 2012 12:03:22 +0200
+Subject: [PATCH] Fix build on FreeBSD (cmake file typo)
+
+---
+ examples/CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
+index 6793d89..1263c62 100644
+--- a/examples/CMakeLists.txt
++++ b/examples/CMakeLists.txt
+@@ -2,7 +2,7 @@ option(EXAMPLES "Build example programs" ON)
+
+ if (EXAMPLES)
+ # Includes
+- include( ${CMAKE_CURRENT_SOURCE_DIR}
++ include_directories( ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ )
+
diff --git a/dev-embedded/libftdi/files/libftdi-0.20-cmake-version.patch b/dev-embedded/libftdi/files/libftdi-0.20-cmake-version.patch
new file mode 100644
index 00000000..1be51da7
--- /dev/null
+++ b/dev-embedded/libftdi/files/libftdi-0.20-cmake-version.patch
@@ -0,0 +1,38 @@
+From e18b700743217e8c505e97762e0f66a4f6a90425 Mon Sep 17 00:00:00 2001
+From: Maciej Grela
+Date: Wed, 20 Jun 2012 23:08:50 +0200
+Subject: [PATCH] Fix libftdi.pc file generation when building with
+ -DDOCUMENTATION=OFF
+
+---
+ CMakeLists.txt | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 4c43a48..07f8bb9 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -2,7 +2,9 @@
+ project(libftdi)
+ set(MAJOR_VERSION 0)
+ set(MINOR_VERSION 20)
++set(PACKAGE libftdi)
+ set(VERSION_STRING ${MAJOR_VERSION}.${MINOR_VERSION})
++set(VERSION ${VERSION_STRING})
+ SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}")
+
+ # CMake
+@@ -116,12 +118,11 @@ add_custom_target(dist
+
+ option(DOCUMENTATION "Generate API documentation with Doxygen" ON)
+
++
+ find_package(Doxygen)
+ if(DOCUMENTATION AND DOXYGEN_FOUND)
+
+ # Set variables
+- set(PACKAGE libftdi)
+- set(VERSION ${VERSION_STRING})
+ set(top_srcdir ${CMAKE_SOURCE_DIR})
+
+ # Find doxy config
diff --git a/dev-embedded/libftdi/files/libftdi-1.5-cmake-cxx.patch b/dev-embedded/libftdi/files/libftdi-1.5-cmake-cxx.patch
new file mode 100644
index 00000000..a04aee1c
--- /dev/null
+++ b/dev-embedded/libftdi/files/libftdi-1.5-cmake-cxx.patch
@@ -0,0 +1,46 @@
+https://bugs.gentoo.org/766818
+
+From cdb28383402d248dbc6062f4391b038375c52385 Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine
+Date: Fri, 17 Jul 2020 21:25:03 +0200
+Subject: [PATCH] CMakeLists.txt: fix paths when FTDIPP is set
+
+Use the same project name (i.e. libftdi1 and not libftdipp1) when FTDIPP
+is enabled as suggested by Aurelien Jarno in
+http://developer.intra2net.com/mailarchive/html/libftdi/2020/msg00044.html
+
+Without this change, the libftdi1.pc config file defines the include
+path as /usr/local/include/libftdipp1 while the ftdi.h file is actually
+installed in /usr/local/include/libftdi1
+
+This is an issue for example for libsigrok which will fail on:
+
+In file included from src/hardware/asix-sigma/protocol.c:27:
+src/hardware/asix-sigma/protocol.h:28:10: fatal error: ftdi.h: No such file or directory
+ 28 | #include
+ | ^~~~~~~~
+
+Fixes:
+ - http://autobuild.buildroot.org/results/1427f44e36752c337791597fab47a1889552a2fe
+
+Signed-off-by: Fabrice Fontaine
+---
+ CMakeLists.txt | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 5aecafc..3b0b87c 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -136,7 +136,7 @@ endif ()
+
+ add_subdirectory(src)
+ if ( FTDIPP )
+- project(libftdipp1 C CXX)
++ project(libftdi1 C CXX)
+ add_subdirectory(ftdipp)
+ endif ()
+ if ( PYTHON_BINDINGS )
+--
+1.7.1
+
diff --git a/dev-embedded/libftdi/files/libftdi-1.5-tests-no-cxx.patch b/dev-embedded/libftdi/files/libftdi-1.5-tests-no-cxx.patch
new file mode 100644
index 00000000..6adba408
--- /dev/null
+++ b/dev-embedded/libftdi/files/libftdi-1.5-tests-no-cxx.patch
@@ -0,0 +1,35 @@
+Fixes failure to build tests with USE="-cxx" (default).
+http://developer.intra2net.com/git/?p=libftdi;a=patch;h=11a50ae5b80b3e03694a19e84513345d0794e563;hp=6dd18122a81e6030dd239391df6ffde8cb8c59c7
+From 11a50ae5b80b3e03694a19e84513345d0794e563 Mon Sep 17 00:00:00 2001
+From: Thomas Jarosch
+Date: Mon, 24 Aug 2020 19:27:22 +0200
+Subject: [PATCH 1/1] Fix building unit tests without FTDIPP
+
+Needed to run the baudrate unit tests.
+
+Probably another fallout from:
+
+****************************
+commit 0209a3633dc877a577af07d883eb5059e22f6a91
+
+cmake: do not check for g++ when FTDIPP is disabled
+****************************
+---
+ CMakeLists.txt | 1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 3b0b87c..58f664a 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -150,6 +150,7 @@ if ( EXAMPLES )
+ endif ()
+ add_subdirectory(packages)
+ if ( BUILD_TESTS )
++ project(libftdi1 C CXX)
+ add_subdirectory(test)
+ endif ()
+
+--
+1.7.1
+
diff --git a/dev-embedded/libftdi/libftdi-1.5-r4.ebuild b/dev-embedded/libftdi/libftdi-1.5-r4.ebuild
new file mode 100644
index 00000000..c59a2fac
--- /dev/null
+++ b/dev-embedded/libftdi/libftdi-1.5-r4.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit cmake python-single-r1
+
+MY_P="${PN}1-${PV}"
+if [[ ${PV} == 9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="git://developer.intra2net.com/${PN}"
+else
+ SRC_URI="https://www.intra2net.com/en/developer/${PN}/download/${MY_P}.tar.bz2"
+ S="${WORKDIR}/${MY_P}"
+
+ KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
+fi
+
+DESCRIPTION="Userspace access to FTDI USB interface chips"
+HOMEPAGE="https://www.intra2net.com/en/developer/libftdi/"
+
+LICENSE="LGPL-2"
+SLOT="1"
+IUSE="cxx doc examples python test tools"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+BDEPEND="
+ doc? ( app-doc/doxygen )
+ python? ( dev-lang/swig )"
+RDEPEND="
+ virtual/libusb:1
+ cxx? ( dev-libs/boost )
+ python? ( ${PYTHON_DEPS} )
+ tools? (
+ !
+
+
+
+ embedded@gentoo.org
+ Embedded Gentoo
+
+
+
diff --git a/dev-libs/libcec/Manifest b/dev-libs/libcec/Manifest
new file mode 100644
index 00000000..1797eb93
--- /dev/null
+++ b/dev-libs/libcec/Manifest
@@ -0,0 +1,5 @@
+AUX libcec-4.0.7-no-override-udev.patch 850 BLAKE2B ce5c795ba3db2d6600b93af6d15d95794435b22c29eb0b65f1d6dbcbb877f076abafd2b2b8d7bd751b981a34a939d61bf7389118a7252d7fc0517c472f583fc2 SHA512 fb23ccc01fee0c61453490e2f8037b1d30124077847e09f8a5e08365bca3253fa883484d412ae1f60cd7beefc6f2075a83bcdd36e160b14ebae23f4be41fb78b
+AUX libcec-6.0.2-musl-nullptr.patch 829 BLAKE2B cfad08ba094e7ca92caec9a38d77d3d65b5baedf49db2b131b33a84543c2ccd0f60b99e7100434a302710c8bcf0d526a6033aa119c8f274efeff277388e75d6d SHA512 015055905a639a8599d5b0766a17bd6b3c91feb59eba543b55919fe40d9bcd0deebdd1b29a9b92e718c7d1bf8486d8413dfea986bf2639e984ba9f8b7a162d0a
+DIST libcec-6.0.2.tar.gz 355807 BLAKE2B 007530d839493355f283992a4390550d6ddd432977d7489c17087f7e5bb6f503c35e967ed6a620d55e2e7c25ce10814f360d146a28b860cdcdd108fae152f896 SHA512 c16ac268e67b01d4e35fad644e5927e1d9fc7bcaeff698ac5f0eadd31ec63a0bef2a2b2bc37860d1571e1e0cdc55911c2de468c661c7c7ae1d492f80188035cb
+EBUILD libcec-6.0.2.ebuild 3331 BLAKE2B e6a6f745c08ed9f620d011ea4f81338f5aa5df2841a01b070fa7a1da2a8400f10e782093953cb34c2c71f20bfd7d8c29160c5da95bc6da7ccc5b13e594f2604d SHA512 4a6249b78f8cdab6529bdf139a032d6f95587ddfc4e7753c8c2cfd59a27c1b5bd4f40af8a9ba6d91f3477ba6bab2e17880d20b494911cb152abd3153357e9576
+MISC metadata.xml 828 BLAKE2B 55df5b9af327507fdb9f415c8616affc437d82ac5a7e57b53f21f7917285b10f70e58b3fdbebf6899aa8c10dbe73186f84643842b04953da74f94b6c4112b3d6 SHA512 25e981d2c88ce87c9c41f6816dfadeb00bf3e0d5dfebc8b135ceba09552c40c29501bede0e3a73a63dcacb0741167f6180a674d82cf2b66dfb649a4aa968387a
diff --git a/dev-libs/libcec/files/libcec-4.0.7-no-override-udev.patch b/dev-libs/libcec/files/libcec-4.0.7-no-override-udev.patch
new file mode 100644
index 00000000..d5b7f866
--- /dev/null
+++ b/dev-libs/libcec/files/libcec-4.0.7-no-override-udev.patch
@@ -0,0 +1,24 @@
+ src/libcec/cmake/CheckPlatformSupport.cmake | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/libcec/cmake/CheckPlatformSupport.cmake b/src/libcec/cmake/CheckPlatformSupport.cmake
+index 5d423df..9e77924 100644
+--- a/src/libcec/cmake/CheckPlatformSupport.cmake
++++ b/src/libcec/cmake/CheckPlatformSupport.cmake
+@@ -90,6 +90,7 @@ else()
+ check_function_exists(flock HAVE_FLOCK)
+
+ # udev
++ if (${HAVE_LIBUDEV})
+ pkg_check_modules(UDEV udev)
+ if (UDEV_FOUND)
+ set(PLATFORM_LIBREQUIRES "${PLATFORM_LIBREQUIRES} ${UDEV_LIBRARIES}")
+@@ -106,6 +107,7 @@ else()
+ list(APPEND CMAKE_REQUIRED_LIBRARIES "${UDEV_LIBRARIES}")
+ set(HAVE_P8_USB_DETECT ON CACHE BOOL "p8 usb-cec detection supported" FORCE)
+ endif()
++ endif()
+
+ # xrandr
+ check_include_files("X11/Xlib.h;X11/Xatom.h;X11/extensions/Xrandr.h" HAVE_RANDR_HEADERS)
+
diff --git a/dev-libs/libcec/files/libcec-6.0.2-musl-nullptr.patch b/dev-libs/libcec/files/libcec-6.0.2-musl-nullptr.patch
new file mode 100644
index 00000000..d161e20c
--- /dev/null
+++ b/dev-libs/libcec/files/libcec-6.0.2-musl-nullptr.patch
@@ -0,0 +1,29 @@
+https://github.com/Pulse-Eight/libcec/pull/599
+
+From 452b2049b2ee3e73968c603e5524b2d349ac0c3e Mon Sep 17 00:00:00 2001
+From: psykose
+Date: Sat, 9 Apr 2022 17:59:11 +0000
+Subject: [PATCH] cecloader.h: fix null return
+
+returning NULL is invalid for a return type of bool when NULL is defined
+as `nullptr` instead of 0L
+--- a/include/cecloader.h
++++ b/include/cecloader.h
+@@ -172,7 +172,7 @@ bool LibCecBootloader(const char *strLib = NULL)
+ if (!g_libCEC)
+ {
+ std::cout << dlerror() << std::endl;
+- return NULL;
++ return false;
+ }
+ }
+
+@@ -181,7 +181,7 @@ bool LibCecBootloader(const char *strLib = NULL)
+ if (!LibCecBootloader)
+ {
+ std::cout << "cannot find CECStartBootloader" << std::endl;
+- return NULL;
++ return false;
+ }
+
+ bool bReturn = LibCecBootloader();
diff --git a/dev-libs/libcec/libcec-6.0.2.ebuild b/dev-libs/libcec/libcec-6.0.2.ebuild
new file mode 100644
index 00000000..2eba0c7e
--- /dev/null
+++ b/dev-libs/libcec/libcec-6.0.2.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{9..11} )
+MY_PV=${PV/_p/-}
+MY_P=${PN}-${MY_PV}
+
+inherit cmake linux-info python-single-r1 toolchain-funcs udev
+
+DESCRIPTION="Library for communicating with the Pulse-Eight USB HDMI-CEC Adaptor"
+HOMEPAGE="http://libcec.pulse-eight.com"
+SRC_URI="https://github.com/Pulse-Eight/${PN}/archive/${MY_P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~arm arm64 ~riscv x86"
+IUSE="cubox exynos python raspberry-pi kernel-cec tools +xrandr udev"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND=">=dev-libs/libplatform-2.0.0
+ python? ( ${PYTHON_DEPS} )
+ raspberry-pi? ( >=media-libs/raspberrypi-userland-0_pre20160305-r1 )
+ tools? ( sys-libs/ncurses:= )
+ udev? ( virtual/udev )
+ xrandr? ( x11-libs/libXrandr )
+"
+DEPEND="${RDEPEND}
+ python? ( dev-lang/swig )"
+BDEPEND="virtual/pkgconfig"
+
+CONFIG_CHECK="~USB_ACM"
+
+S="${WORKDIR}/${PN}-${MY_P}"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-4.0.7-no-override-udev.patch"
+ "${FILESDIR}/${PN}-6.0.2-musl-nullptr.patch"
+)
+
+pkg_pretend() {
+ use udev || CONFIG_CHECK+=" ~SYSFS"
+ ERROR_SYSFS="When using libcec build without udev, kernel config option CONFIG_SYSFS is required to automatically detect P8 USB-CEC adapter port number"
+
+ linux-info_pkg_setup
+}
+
+pkg_setup() {
+ linux-info_pkg_setup
+ use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ cmake_src_prepare
+
+ # Do not hardcode the python libpath #577612
+ sed -i \
+ -e '/DESTINATION/s:"lib/python${PYTHON_VERSION}/${PYTHON_PKG_DIR}":${PYTHON_SITEDIR}:' \
+ src/libcec/cmake/CheckPlatformSupport.cmake || die
+
+ sed -Ee 's|[ ~]?#DIST#;?||g' debian/changelog.in > ChangeLog || die
+
+ (use tools && use python) || cmake_comment_add_subdirectory "src/pyCecClient"
+
+ if ! use tools; then
+ cmake_comment_add_subdirectory "src/cec-client"
+ cmake_comment_add_subdirectory "src/cecc-client"
+ sed -i -Ee 's|add_dependencies\(cecc?-client cec\)|#DO NOT BUILD \0|' \
+ CMakeLists.txt || die
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DHAVE_LINUX_API=$(usex kernel-cec ON OFF)
+ -DHAVE_LIBUDEV=$(usex udev ON OFF)
+ -DSKIP_PYTHON_WRAPPER=$(usex python OFF ON)
+ -DHAVE_EXYNOS_API=$(usex exynos ON OFF)
+ -DHAVE_TDA995X_API=$(usex cubox ON OFF)
+ -DHAVE_RPI_API=$(usex raspberry-pi ON OFF)
+ )
+
+ if linux_config_exists && linux_chkconfig_present SYSFS; then
+ mycmakeargs+=( -DHAVE_P8_USB_DETECT=ON )
+ fi
+
+ # raspberrypi-userland itself does not provide .pc file so using
+ # bcm_host.pc instead
+ use raspberry-pi && mycmakeargs+=(
+ -DRPI_INCLUDE_DIR=$( $(tc-getPKG_CONFIG) --variable=includedir bcm_host) \
+ -DRPI_LIB_DIR=$( $(tc-getPKG_CONFIG) --variable=libdir bcm_host)
+ )
+
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+
+ if use udev ; then
+ cp "${S}/debian/pulse-eight-usb-cec.udev" \
+ "${BUILD_DIR}/65-pulse-eight-usb-cec.udev" || die
+ fi
+}
+
+src_install() {
+ cmake_src_install
+
+ use python && python_optimize "${D}$(python_get_sitedir)"
+
+ use tools && doman debian/cec-client.1
+
+ if use udev; then
+ udev_dorules "${BUILD_DIR}/65-pulse-eight-usb-cec.udev"
+ fi
+}
+
+pkg_postinst() {
+ use udev && udev_reload
+
+ elog "You will need to ensure the user running your CEC client has"
+ elog "read/write access to the device. You can ensure this by adding"
+ elog "them to the uucp group"
+}
diff --git a/dev-libs/libcec/metadata.xml b/dev-libs/libcec/metadata.xml
new file mode 100644
index 00000000..9b4ef049
--- /dev/null
+++ b/dev-libs/libcec/metadata.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+ Pulse-Eight/libcec
+
+
diff --git a/dev-libs/stfl/Manifest b/dev-libs/stfl/Manifest
new file mode 100644
index 00000000..788912a1
--- /dev/null
+++ b/dev-libs/stfl/Manifest
@@ -0,0 +1,7 @@
+AUX stfl-0.21-python.patch 1936 BLAKE2B fc0a8f02eaa30b900652304e34f383a6587769f4ac803f2ba9420197ef492430a88a6a6ec4863163cd948c9fd8c027b50a944796ea1c342f19ad9049c46dd1f9 SHA512 33da38bee278999ec3bcc770886183c3d7ac60ab3458568a7848bc83035104290423aee54a2a2da065b9a5da639af6fa242de9f23df0ff7fccbd024099af8472
+AUX stfl-0.22-pc-libdir.patch 866 BLAKE2B bdbc18572fd5104ee04af672b9d493bb3271a8af7b383f5fb9042e8c44dbeaa760ed9c2c8f71192b891eeabae487ee096451ccdb8ae82a936e85331145c9bef6 SHA512 9ec288c174bb30060085c94f6703edb698f2e3806d872153cc58873ea838a84f9edbc07c6e5f8de4a6fd18f77ff1c1e4b1599ad598f3d0a4bba5b2c5bac73ad3
+AUX stfl-0.22-ruby-sharedlib.patch 735 BLAKE2B 6b2b9e835f57f62ff1e1ff871103bc0b1106329916fc1be75eb22e550c9ff8abd007bbc201c66e15ce16a4697c0bbe0850b56ff41f666dd7006028432b1f77e5 SHA512 73a1b7aa7147100ab2f06264303c0a30463deb8bd0ce9e4111737393d07c4fb06174c5022c1dae8c7fd2688d1b544a4ab8c8ee5495f46e2bbc33ce89a7e46de7
+AUX stfl-0.22-soname-symlink.patch 444 BLAKE2B 9aa44343a18a8d7fb2f75a60ae94c30ef92b6f02190cefbefedacd9f8d5c877ac71b83c41b008bfd46a4d5ffe04f91f03f898e27ef098162d0b43f274ccff298 SHA512 e85c6f96edd8cd08d3408f976fff5f9fbcdc9892109233e78d932eb07502b00d3a0b52393542de8af5b2d26808b3574736f78b7ef9c7bdd0abffa3901fc55dab
+DIST stfl-0.24.tar.gz 45585 BLAKE2B a601f373f19baa3a11fb823852ada19ab824828935240280c74ff442a1e5c4abdf0abe56e445869e43785df3940a8c7269bc16457436abbe5e2853f907071059 SHA512 95df4574b1bc32d795751156dc5b93afbca3ba241607a3a55210c89dda61b9a26ad574bb5f729a0158c9052235dbf63d6c58b38e7f1061d14ab7062af6150fa0
+EBUILD stfl-0.24-r4.ebuild 3145 BLAKE2B 4303a6411bd6056674a721f33ec8117161b223d2a3f4453dbe8dd71a60298713c2d5078b49c27e6855e16d325f4ecd433ea1550e12ffa0dbc6813884039d313a SHA512 5e572785347e6326c20b6acf68f2095e9d2b770330bccd0be1acb199425b670679b46ead5f84cb4c8c241ae3913a8fe62c740e04d94e487969688f2082268c9d
+MISC metadata.xml 884 BLAKE2B d1ee81a475935527af118da278c54f34a773dff1165c39ea2013135b767dbfe96972623d83833501d0531df78547c5d6040990039674832e9f5f701f915d3924 SHA512 55dc2b480ea7b0929be1e74d60d06ddc33ce977885969fdda332a6cb390c219cc13c017c0a56ed3594c475dcb9586b2d433c65fa200675de421e1aa4b22c7ce5
diff --git a/dev-libs/stfl/files/stfl-0.21-python.patch b/dev-libs/stfl/files/stfl-0.21-python.patch
new file mode 100644
index 00000000..dbec12b7
--- /dev/null
+++ b/dev-libs/stfl/files/stfl-0.21-python.patch
@@ -0,0 +1,39 @@
+diff -ur stfl-0.21.orig/Makefile stfl-0.21/Makefile
+--- stfl-0.21.orig/Makefile 2009-06-19 10:30:52.000000000 -0700
++++ stfl-0.21/Makefile 2009-12-23 15:12:34.986593069 -0800
+@@ -46,7 +46,7 @@
+ rm -f widgets/*.o spl/mod_stfl.so spl/example.db
+ cd perl5 && perl Makefile.PL && make clean && rm -f Makefile.old
+ rm -f perl5/stfl_wrap.c perl5/stfl.pm perl5/build_ok
+- rm -f python/stfl.py python/stfl.pyc python/_stfl.so
++ rm -f python/stfl.py python/_stfl.so
+ rm -f python/stfl_wrap.c python/stfl_wrap.o
+ rm -f ruby/Makefile ruby/stfl_wrap.c ruby/stfl_wrap.o
+ rm -f ruby/stfl.so ruby/build_ok Makefile.deps_new
+diff -ur stfl-0.21.orig/python/Makefile.snippet stfl-0.21/python/Makefile.snippet
+--- stfl-0.21.orig/python/Makefile.snippet 2009-06-18 01:27:16.000000000 -0700
++++ stfl-0.21/python/Makefile.snippet 2009-12-23 15:14:54.237606055 -0800
+@@ -21,20 +21,17 @@
+ PYTHON_VERSION = $(shell python -V 2>&1 | cut -f2 -d' ' | cut -f1-2 -d'.')
+ PYTHON_SITEARCH = $(shell python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")
+
+-all: python/_stfl.so python/stfl.py python/stfl.pyc
++all: python/_stfl.so python/stfl.py
+
+ install: install_python
+
+-python/_stfl.so python/stfl.py python/stfl.pyc: libstfl.a stfl.h python/stfl.i swig/*.i
++python/_stfl.so python/stfl.py: libstfl.a stfl.h python/stfl.i swig/*.i
+ cd python && swig -python -threads stfl.i
+ gcc -shared -pthread -fPIC python/stfl_wrap.c -I/usr/include/python$(PYTHON_VERSION) \
+ -I. libstfl.a -lncursesw -o python/_stfl.so
+- cd python && python -c 'import stfl'
+
+-install_python: python/_stfl.so python/stfl.py python/stfl.pyc
+- mkdir -p $(DESTDIR)$(PYTHON_SITEARCH)/
++install_python: python/_stfl.so python/stfl.py
+ mkdir -p $(DESTDIR)$(PYTHON_SITEARCH)/lib-dynload/
+ cp python/_stfl.so $(DESTDIR)$(PYTHON_SITEARCH)/lib-dynload/
+- cp python/stfl.pyc $(DESTDIR)$(PYTHON_SITEARCH)/
+ cp python/stfl.py $(DESTDIR)$(PYTHON_SITEARCH)/
+
diff --git a/dev-libs/stfl/files/stfl-0.22-pc-libdir.patch b/dev-libs/stfl/files/stfl-0.22-pc-libdir.patch
new file mode 100644
index 00000000..82a9529c
--- /dev/null
+++ b/dev-libs/stfl/files/stfl-0.22-pc-libdir.patch
@@ -0,0 +1,24 @@
+diff -ru stfl-0.24.orig/Makefile stfl-0.24/Makefile
+--- stfl-0.24.orig/Makefile 2015-02-12 14:14:33.000000000 +0100
++++ stfl-0.24/Makefile 2020-09-07 14:08:04.125833347 +0200
+@@ -67,7 +67,7 @@
+ ln -fs libstfl.so.$(VERSION) $(DESTDIR)$(prefix)/$(libdir)/libstfl.so
+
+ stfl.pc: stfl.pc.in
+- sed 's,@VERSION@,$(VERSION),g' < $< | sed 's,@PREFIX@,$(prefix),g' > $@
++ sed 's,@VERSION@,$(VERSION),g' < $< | sed 's,@PREFIX@,$(prefix),g' | sed 's,@LIBDIR@,${libdir},g' > $@
+
+ ifeq ($(FOUND_SPL),1)
+ include spl/Makefile.snippet
+diff -ru stfl-0.24.orig/stfl.pc.in stfl-0.24/stfl.pc.in
+--- stfl-0.24.orig/stfl.pc.in 2009-03-30 20:33:37.000000000 +0200
++++ stfl-0.24/stfl.pc.in 2020-09-07 14:08:07.784854088 +0200
+@@ -2,7 +2,7 @@
+
+ prefix=@PREFIX@
+ exec_prefix=${prefix}
+-libdir=${exec_prefix}/lib
++libdir=${exec_prefix}/@LIBDIR@
+ includedir=${prefix}/include
+
+ Name: STFL
diff --git a/dev-libs/stfl/files/stfl-0.22-ruby-sharedlib.patch b/dev-libs/stfl/files/stfl-0.22-ruby-sharedlib.patch
new file mode 100644
index 00000000..90698ec8
--- /dev/null
+++ b/dev-libs/stfl/files/stfl-0.22-ruby-sharedlib.patch
@@ -0,0 +1,14 @@
+--- stfl-0.22/ruby/Makefile.snippet.orig
++++ stfl-0.22/ruby/Makefile.snippet
+@@ -23,9 +23,9 @@
+
+ install: install_ruby
+
+-ruby/build_ok: libstfl.a stfl.h ruby/stfl.i swig/*.i
++ruby/build_ok: libstfl.so.$(VERSION) stfl.h ruby/stfl.i swig/*.i
+ cd ruby && swig -ruby stfl.i && ruby extconf.rb
+- $(MAKE) -C ruby clean && $(MAKE) -C ruby LIBS+="../libstfl.a -lncursesw" CFLAGS+="-pthread -I.." DLDFLAGS+="-pthread" DESTDIR=$(DESTDIR) prefix=$(prefix) sitedir=$(prefix)/$(libdir)/ruby
++ $(MAKE) -C ruby clean && $(MAKE) -C ruby LIBS+="../libstfl.so.$(VERSION) -lncursesw" CFLAGS+="-pthread -I.." DLDFLAGS+="-pthread" DESTDIR=$(DESTDIR) prefix=$(prefix) sitedir=$(prefix)/$(libdir)/ruby
+ touch ruby/build_ok
+
+ install_ruby: ruby/build_ok
diff --git a/dev-libs/stfl/files/stfl-0.22-soname-symlink.patch b/dev-libs/stfl/files/stfl-0.22-soname-symlink.patch
new file mode 100644
index 00000000..bfe0595e
--- /dev/null
+++ b/dev-libs/stfl/files/stfl-0.22-soname-symlink.patch
@@ -0,0 +1,10 @@
+--- stfl-0.22/Makefile.orig
++++ stfl-0.22/Makefile
+@@ -65,6 +65,7 @@
+ install -m 644 stfl.pc $(DESTDIR)$(prefix)/$(libdir)/pkgconfig/
+ install -m 644 libstfl.so.$(VERSION) $(DESTDIR)$(prefix)/$(libdir)
+ ln -fs libstfl.so.$(VERSION) $(DESTDIR)$(prefix)/$(libdir)/libstfl.so
++ ln -fs libstfl.so.$(VERSION) $(DESTDIR)$(prefix)/$(libdir)/$(SONAME)
+
+ stfl.pc: stfl.pc.in
+ sed 's,@VERSION@,$(VERSION),g' < $< | sed 's,@PREFIX@,$(prefix),g' > $@
diff --git a/dev-libs/stfl/metadata.xml b/dev-libs/stfl/metadata.xml
new file mode 100644
index 00000000..ffa10ddf
--- /dev/null
+++ b/dev-libs/stfl/metadata.xml
@@ -0,0 +1,22 @@
+
+
+
+
+ cedk@gentoo.org
+
+
+ STFL is a library which implements a curses-based widget set for text
+ terminals.
+
+ The STFL API can be used from C, SPL, Python, Perl and Ruby. Since the
+ API is only 14 simple function calls big and there are already generic
+ SWIG bindings it is very easy to port STFL to additional scripting
+ languages.
+
+ A special language (the Structured Terminal Forms Language) is used to
+ describe STFL GUIs. The language is designed to be easy and fast to
+ write so an application programmer does not need to spend ages fiddling
+ around with the GUI and can concentrate on the more interesting
+ programming tasks.
+
+
diff --git a/dev-libs/stfl/stfl-0.24-r4.ebuild b/dev-libs/stfl/stfl-0.24-r4.ebuild
new file mode 100644
index 00000000..6fc8cd52
--- /dev/null
+++ b/dev-libs/stfl/stfl-0.24-r4.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{9..11} )
+GENTOO_DEPEND_ON_PERL=no
+inherit perl-module python-r1 toolchain-funcs
+
+DESCRIPTION="A library which implements a curses-based widget set for text terminals"
+HOMEPAGE="http://www.clifford.at/stfl/"
+SRC_URI="http://www.clifford.at/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 x86"
+IUSE="examples perl python ruby static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ sys-libs/ncurses:=[unicode(+)]
+ perl? ( dev-lang/perl:= )
+ ruby? ( dev-lang/ruby:* )
+ python? ( ${PYTHON_DEPS} )
+"
+DEPEND="${RDEPEND}
+ perl? ( dev-lang/swig )
+ python? ( >=dev-lang/swig-1.3.40 )
+ ruby? ( dev-lang/swig )
+"
+RESTRICT="test" # Upstream does not provide tests #730112
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.21-python.patch"
+ "${FILESDIR}/${PN}-0.22-soname-symlink.patch"
+ "${FILESDIR}/${PN}-0.22-ruby-sharedlib.patch"
+ "${FILESDIR}/${PN}-0.22-pc-libdir.patch"
+)
+
+src_prepare() {
+ default_src_prepare
+
+ sed -i \
+ -e 's/-Os -ggdb//' \
+ -e 's/^\(all:.*\) example/\1/' \
+ -e 's/$(CC) -shared/$(CC) $(LDFLAGS) -shared/' \
+ -e 's/ -o $@ $(LDLIBS) $^/ $^ $(LDLIBS) -o $@/' \
+ -e 's/-lncursesw/-lncursesw -pthread/' \
+ -e 's/\/$(AR)/' \
+ -e 's/\/$(RANLIB)/' \
+ Makefile || die "sed failed"
+
+ if ! use static-libs ; then
+ sed -i -e "/install .* libstfl.a/d" Makefile || die
+ fi
+
+ if use perl ; then
+ echo "FOUND_PERL5=1" >> Makefile.cfg
+ else
+ echo "FOUND_PERL5=0" >> Makefile.cfg
+ fi
+
+ if use ruby ; then
+ echo "FOUND_RUBY=1" >> Makefile.cfg
+ else
+ echo "FOUND_RUBY=0" >> Makefile.cfg
+ fi
+
+ echo "FOUND_PYTHON=0" >> Makefile.cfg
+}
+
+src_configure() { :; }
+
+src_compile() {
+ emake CC="$(tc-getCC)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)"
+
+ if use python ; then
+ local BUILD_DIR="${S}/python"
+ python_copy_sources
+
+ # Based on code from python/Makefile.snippet.
+ building() {
+ pushd "${BUILD_DIR}" &>/dev/null || die
+ echo swig -python -threads stfl.i
+ swig -python -threads stfl.i || die
+ echo "$(tc-getCC)" ${CFLAGS} ${LDFLAGS} -shared -pthread -fPIC stfl_wrap.c -I$(python_get_includedir) -I.. ../libstfl.so.${PV} -lncursesw -o _stfl.so
+ "$(tc-getCC)" ${CFLAGS} ${LDFLAGS} -shared -pthread -fPIC stfl_wrap.c -I$(python_get_includedir) -I.. ../libstfl.so.${PV} -lncursesw -o _stfl.so || die
+ popd &>/dev/null || die
+ }
+ python_foreach_impl building
+ fi
+}
+
+src_install() {
+ emake prefix="/usr" DESTDIR="${D}" libdir="$(get_libdir)" install
+
+ if use python ; then
+ local BUILD_DIR="${S}/python"
+
+ installation() {
+ pushd "${BUILD_DIR}" &>/dev/null || die
+ python_domodule stfl.py _stfl.so
+ popd &>/dev/null || die
+ }
+ python_foreach_impl installation
+ fi
+
+ dodoc README
+
+ local exdir="/usr/share/doc/${PF}/examples"
+ if use examples ; then
+ insinto ${exdir}
+ doins example.{c,stfl}
+ insinto ${exdir}/python
+ doins python/example.py
+ if use perl ; then
+ insinto ${exdir}/perl
+ doins perl5/example.pl
+ fi
+ if use ruby ; then
+ insinto ${exdir}/ruby
+ doins ruby/example.rb
+ fi
+ fi
+
+ perl_delete_localpod
+}
diff --git a/dev-python/martINI/Manifest b/dev-python/martINI/Manifest
index 3492e19f..5f2e3098 100644
--- a/dev-python/martINI/Manifest
+++ b/dev-python/martINI/Manifest
@@ -1,6 +1,8 @@
DIST martINI-0.4.tar.gz 15721 BLAKE2B 00570ae2cdbfdcc13b85d44deff333a43d13db536b0f3fda5c0e6889d6e9aee099a9fc76238ba1276bf89be7fa3b8ad7029e6fae5b51e864ce9ecf2a98f120a5 SHA512 6a8f972f6235f9e84222b1dd8f13185b25dcde64fd72f72410bbbcf2252bdd9749e627524554966265684d1bef2ac9bc4d22b04f9ef56d07e330d37e43a14862
DIST martINI-0.6.tar.gz 14919 BLAKE2B abc971feb455a0e472aa295fe61dc9972a9b5d3174a6898fa6e995a3151867985366ba84902d6f9b023c7c4c7b0c9a8957c6ab277ad104734ad463fc1dfaec5f SHA512 b21f680a4190b324e723db76a29e75d59d064af31aa96f047fd5c9bc0119be3d7f989a221f33c0e679858065772eac11a849be08aa2d1bc1c147cab0ca9f4fee
+DIST martINI-0.7.tar.gz 15596 BLAKE2B 5824f3b4807c47715ad3c05f3f3fce5bf811a0781e47d59cfba421c53126425122319ba98c3a59a732f25d6ecd0b00c4687056f63136682c618dc499c7c28f21 SHA512 9b4b4afd4b266e505066d76e1adfe677f796a584f8f06f2c2ed95fb8931dba184a74d578f785a042bc625e1f56d5105105b726ead64ffc29cb9493ddb8fef54b
EBUILD martINI-0.4.ebuild 525 BLAKE2B 33c1e5f39d62b13f0e01ea61830a44641f74a39386a6983161d97677d0832eaa46b8a4ed1ec7947acb4329142c25612caaf570b1e6f727db67fd8cacafa0bfcc SHA512 486ad7322fc290d2abf787139645d05e414c4d72e10189f182cbbc23a021bf381aedba67c2874625d34fbf05b236e9e6b050a48e98031ad8df1220532a91f6b8
EBUILD martINI-0.6.ebuild 525 BLAKE2B 33c1e5f39d62b13f0e01ea61830a44641f74a39386a6983161d97677d0832eaa46b8a4ed1ec7947acb4329142c25612caaf570b1e6f727db67fd8cacafa0bfcc SHA512 486ad7322fc290d2abf787139645d05e414c4d72e10189f182cbbc23a021bf381aedba67c2874625d34fbf05b236e9e6b050a48e98031ad8df1220532a91f6b8
+EBUILD martINI-0.7.ebuild 525 BLAKE2B 33c1e5f39d62b13f0e01ea61830a44641f74a39386a6983161d97677d0832eaa46b8a4ed1ec7947acb4329142c25612caaf570b1e6f727db67fd8cacafa0bfcc SHA512 486ad7322fc290d2abf787139645d05e414c4d72e10189f182cbbc23a021bf381aedba67c2874625d34fbf05b236e9e6b050a48e98031ad8df1220532a91f6b8
MISC ChangeLog 489 BLAKE2B 73ea0a3ace103af9d8cb7b311dfa7f959b3dbc785b0602257ae0d3c24e547c191be8ef78ca081d8ea32f4b4d7aff750f04252a1751520d8da62e7575d3a42ff8 SHA512 cc982bba8a6dfec9cf278842f11175c9262087bd126a44735943dde6c9f88e93d0182ba55c390e3d568cdcde7c41c488848c6d03783e313d76bc914ece366c4d
MISC metadata.xml 408 BLAKE2B 66a3e2838d5c5f95c7463733cd13b1230ef3ca005ec0c5dac797561be30f950da98dfa41eeb4d43cf97500c9a2e0d04c57b0b084d60107072a988dd7c4d16ded SHA512 9cac3e4a07c425e87274de776e03d243e462341168235cd3991ef4706aa1a902cf6591ae8e965b9c4ed370fc2ebef3ca805a9c761d05c4b994ae8667198b267c
diff --git a/dev-python/martINI/martINI-0.7.ebuild b/dev-python/martINI/martINI-0.7.ebuild
new file mode 100644
index 00000000..b5ffd336
--- /dev/null
+++ b/dev-python/martINI/martINI-0.7.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7,8,9,10,11} )
+
+inherit distutils-r1
+
+DESCRIPTION="edit .ini files from the command line"
+HOMEPAGE="http://k0s.org/portfolio/software.html#martini"
+SRC_URI="mirror://pypi/m/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-linux"
+IUSE=""
+
+RDEPEND="dev-python/genshi
+ dev-python/pastescript
+ dev-python/webob"
+DEPEND="${RDEPEND}
+ dev-python/setuptools"
diff --git a/dev-util/idafree/Manifest b/dev-util/idafree/Manifest
index ab771dc9..99989ce1 100644
--- a/dev-util/idafree/Manifest
+++ b/dev-util/idafree/Manifest
@@ -1,4 +1,6 @@
DIST idafree81_linux.run 84653313 BLAKE2B 6c159b92d5315eb3f3185404c8160c76dfe734c8d5ed3a98ef134c0ad7e16872157b5dffe55e0ea16d6b78b077f351cc6f6bcc9c5640889805e35c6436020877 SHA512 093bbb0cf8565926f19e551d1fa31056f3417b43b9a5c9206b0dde4a3bc8491c4100e8d8484ab704bdfaba4333aabb8405fbe1f5d8bac9dcfcedeb0ef5907eed
+DIST idafree82_linux.run 86388748 BLAKE2B ea8b6cb704cd483d57248a70fcbad8d9f1d7d03fc1962bf38785ab20e027f89fb407dceaaf5d395464acc99ad5fcb9d5fe25cf9431369b4137ece1189a95e7fd SHA512 82e04514b7fab749a774a31c3cfe2132101ec5f8ea1943f4a6b92b0dd3fa2bbe3b5db9c79974b841368e066980beb5c9380d5e7bf0973962e507078556305bce
EBUILD idafree-8.1.ebuild 1271 BLAKE2B 65e651b7da9b75a7ab0ceb42bef26c6a69fef211b6ab138f4ea39ca72ff05d5e9e465a731709e681c6c911bb8683956f14d82708a926aa25e16262a8c11f3e27 SHA512 0f9fa4dd5c26239abe753a32e909b9075b0ba59fe2ef49d02cbeb122c1c891e7edfcc7aa920008eaf6399056eb9552a490416c6fdde422d29a1dd20ae28392e7
+EBUILD idafree-8.2.ebuild 1271 BLAKE2B 65e651b7da9b75a7ab0ceb42bef26c6a69fef211b6ab138f4ea39ca72ff05d5e9e465a731709e681c6c911bb8683956f14d82708a926aa25e16262a8c11f3e27 SHA512 0f9fa4dd5c26239abe753a32e909b9075b0ba59fe2ef49d02cbeb122c1c891e7edfcc7aa920008eaf6399056eb9552a490416c6fdde422d29a1dd20ae28392e7
MISC ChangeLog 383 BLAKE2B 246acdb1c1c088630f1a19046b7bbca23170dd67fa1e400a7d44096a1403a668340952392903136074cf56c9bb85c7bb9cdfbe44db40de14c40b027813129b98 SHA512 347ac6697b7057e1500a6ed77c2a88648d9df3a74f6fa6119d81e3968ff12920e3adc0d3152c82fe202446ee60bb8edca76e94028a53c43a43d74b772fd1b417
MISC metadata.xml 411 BLAKE2B 6bd76e3591b8a2d88277f9ebfbd5951a7458a266adf5818533a1d829a770db62e1de41a4cb4f29206ed5eb381c6f4bfdc04973c4c65bd72496b7e31b6c85880f SHA512 df1f54923628bff824dc8835c96902bd07d4462472b9b8f356abb0b9b81875d78fa96e511290739ecc5423eadc8b2579a65b2f31f9c2c6a73c8d3413c0603d98
diff --git a/dev-util/idafree/idafree-8.2.ebuild b/dev-util/idafree/idafree-8.2.ebuild
new file mode 100644
index 00000000..b6742efc
--- /dev/null
+++ b/dev-util/idafree/idafree-8.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils desktop xdg-utils
+MY_PV=$(ver_rs 1- '')
+
+DESCRIPTION="IDA is the Interactive DisAssembler"
+SRC_URI="https://out7.hex-rays.com/files/idafree${MY_PV}_linux.run"
+HOMEPAGE="https://www.hex-rays.com/"
+
+LICENSE="IDA-EULA"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RESTRICT="bindist strip"
+
+RDEPEND="dev-qt/qtgui:5
+ dev-qt/qtcore:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtwidgets:5
+ sys-libs/binutils-libs"
+
+src_unpack() {
+ mkdir -p "${S}"
+ cp "${DISTDIR}/idafree${MY_PV}_linux.run" "${WORKDIR}/idafree_linux.run"
+ chmod +x "${WORKDIR}/idafree_linux.run"
+ "${WORKDIR}/idafree_linux.run" --mode unattended --prefix "${S}"
+}
+
+src_prepare() {
+ default
+ rm "${S}"/Uninstall*
+ rm "${S}"/uninstall*
+}
+
+src_install() {
+ mkdir -p "${ED}"/opt/HexRays/IDAFree
+ cp -a "${S}"/* "${ED}"/opt/HexRays/IDAFree/ || die
+
+ newicon "${S}"/appico64.png ${PN}.png
+
+ dosym /opt/HexRays/IDAFree/ida64 /opt/bin/idafree64
+ make_desktop_entry /opt/bin/idafree64 "IDA Freeware and Hex-Rays Decompilers" ${PN} "Science;ComputerScience"
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}
diff --git a/media-gfx/moebius/Manifest b/media-gfx/moebius/Manifest
new file mode 100644
index 00000000..ee1efad7
--- /dev/null
+++ b/media-gfx/moebius/Manifest
@@ -0,0 +1,2 @@
+DIST moebius_1.0.29-1.x86_64.rpm 51249189 BLAKE2B 5dd8e877f082692e2f0e40befe82d89ff33947fd344e2c5e3e79cccc5f6b6b29ac8f04267670f58bb4f751afcec35f68f19411908b768fa47d6e957a4f020077 SHA512 43c09202c6036566af2836f3ea2573fdecc4e23a9a5519b14afe8ca1ab2b3874eecf0b885d9fb31ee25e2a326246edea54a04114d8c705d001972f02b0cf84d1
+EBUILD moebius-1.0.29.ebuild 3230 BLAKE2B 1bd25fe69b8825b1ac77e0720821080ec91bdbbf2db6776076f305026eed8a35681e24eca1650a5db412f20e288d4342196fe67fc6b00372a5c3eceac8f29907 SHA512 656a6276cb5cf7ddcfdf8a9d5dfb8394cb61a84c2b719bc04bddd6aabc3c15dc1fd8155a48446ac32ea97a1b64d41cea63eb451a4a2986795c170e36e4fcdd95
diff --git a/media-gfx/moebius/moebius-1.0.29.ebuild b/media-gfx/moebius/moebius-1.0.29.ebuild
new file mode 100644
index 00000000..042969da
--- /dev/null
+++ b/media-gfx/moebius/moebius-1.0.29.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MULTILIB_COMPAT=( abi_x86_64 )
+
+inherit chromium-2 desktop pax-utils rpm multilib-build xdg
+
+DESCRIPTION="Modern ANSI & ASCII Art Editor"
+HOMEPAGE="https://blocktronics.github.io/moebius/"
+SRC_URI="https://github.com/blocktronics/moebius/releases/download/${PV}/Moebius.rpm -> ${PN}_${PV}-1.x86_64.rpm"
+S="${WORKDIR}"
+
+LICENSE="Skype-TOS MIT MIT-with-advertising BSD-1 BSD-2 BSD Apache-2.0 Boost-1.0 ISC CC-BY-SA-3.0 CC0-1.0 openssl ZLIB APSL-2 icu Artistic-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+
+QA_PREBUILT="*"
+RESTRICT="mirror bindist strip" #299368
+
+RDEPEND="
+ app-crypt/libsecret[${MULTILIB_USEDEP}]
+ || (
+ >=app-accessibility/at-spi2-core-2.46.0:2[${MULTILIB_USEDEP}]
+ dev-libs/atk[${MULTILIB_USEDEP}]
+ )
+ dev-libs/expat[${MULTILIB_USEDEP}]
+ dev-libs/glib:2[${MULTILIB_USEDEP}]
+ dev-libs/nspr[${MULTILIB_USEDEP}]
+ dev-libs/nss[${MULTILIB_USEDEP}]
+ media-libs/alsa-lib[${MULTILIB_USEDEP}]
+ media-libs/fontconfig:1.0[${MULTILIB_USEDEP}]
+ media-libs/freetype:2[${MULTILIB_USEDEP}]
+ media-libs/libv4l[${MULTILIB_USEDEP}]
+ net-print/cups[${MULTILIB_USEDEP}]
+ sys-apps/dbus[${MULTILIB_USEDEP}]
+ sys-devel/gcc[cxx]
+ sys-libs/glibc
+ virtual/ttf-fonts
+ x11-libs/cairo[${MULTILIB_USEDEP}]
+ x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
+ x11-libs/gtk+:3[${MULTILIB_USEDEP}]
+ x11-libs/libX11[${MULTILIB_USEDEP}]
+ x11-libs/libXScrnSaver[${MULTILIB_USEDEP}]
+ x11-libs/libXcomposite[${MULTILIB_USEDEP}]
+ x11-libs/libXcursor[${MULTILIB_USEDEP}]
+ x11-libs/libXdamage[${MULTILIB_USEDEP}]
+ x11-libs/libXext[${MULTILIB_USEDEP}]
+ x11-libs/libXfixes[${MULTILIB_USEDEP}]
+ x11-libs/libXi[${MULTILIB_USEDEP}]
+ x11-libs/libXrandr[${MULTILIB_USEDEP}]
+ x11-libs/libXrender[${MULTILIB_USEDEP}]
+ x11-libs/libXtst[${MULTILIB_USEDEP}]
+ x11-libs/libxcb[${MULTILIB_USEDEP}]
+ x11-libs/libxkbcommon[${MULTILIB_USEDEP}]
+ x11-libs/libxkbfile[${MULTILIB_USEDEP}]
+ x11-libs/pango[${MULTILIB_USEDEP}]"
+
+pkg_setup() {
+ chromium_suid_sandbox_check_kernel_config
+}
+
+src_unpack() {
+ rpm_src_unpack ${A}
+}
+
+#src_prepare() {
+# default
+# sed -e "s!^SKYPE_PATH=.*!SKYPE_PATH=${EPREFIX}/opt/Moebius/moebius!" \
+# -i usr/bin/skypeforlinux || die
+# sed -e "s!^Categories=.*!Categories=Network;InstantMessaging;Telephony;!" \
+# -e "/^OnlyShowIn=/d" \
+# -i usr/share/applications/skypeforlinux.desktop || die
+#}
+
+src_install() {
+ dodir /opt
+ cp -a opt/Moebius "${ED}"/opt || die
+
+ # remove chrome-sandbox binary, users should use kernel namespaces
+ # https://bugs.gentoo.org/692692#c18
+ rm "${ED}"/opt/Moebius/chrome-sandbox || die
+
+ #dobin usr/bin/skypeforlinux
+
+ #dodoc usr/share/skypeforlinux/*.html
+ #dodoc -r usr/share/doc/moebius/.
+ # symlink required for the "Help->3rd Party Notes" menu entry (otherwise frozen skype -> xdg-open)
+ #dosym ${PF} usr/share/doc/skypeforlinux
+
+ #doicon usr/share/pixmaps/skypeforlinux.png
+
+ local res
+ for res in 16 32 128 256 512; do
+ newicon -s ${res} usr/share/icons/hicolor/${res}x${res}/apps/moebius.png moebius.png
+ done
+
+ domenu usr/share/applications/moebius.desktop
+
+ pax-mark -m "${ED}"/opt/Moebius/moebius
+ #pax-mark -m "${ED}"/opt/Moebius/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node
+}
diff --git a/media-libs/libffado/Manifest b/media-libs/libffado/Manifest
new file mode 100644
index 00000000..b237ff25
--- /dev/null
+++ b/media-libs/libffado/Manifest
@@ -0,0 +1,4 @@
+AUX libffado-2.4.7-fix-config-load-crash.patch 728 BLAKE2B 066910a52b054d423abfc2656e5b9499be7b03499a74bd8df97b99b83d7c14c68e5728a4608b5082a53bd0f6d174ef645c461139018d0110cdfc2f8ad6111214 SHA512 7fedd5157bd3fae9cb70de02b5883a69caea0c0a2b80a3d86fe66d57743e127c281922afdfdfcb8cc14e492dafcf814a230d70dad8601168c615d9daf719cdd0
+DIST libffado-2.4.7.tgz 1231931 BLAKE2B 3c304011259ddbd35ce8fd725d38a5f50fca962981f9c5af6e377493a14985e4b96c64bcc54ba5a341028ec17dc6f2c42ce527422779f2edc6f9a1a61220cf51 SHA512 424a9ca7ded12e72d77a50d7ddf4e50dc0d55b80d725499df7609ce60d0eac8b24a41d9b8e4e74f78bdefe114b61bd5f1ec09a6d083f4a58475e66d61153f075
+EBUILD libffado-2.4.7.ebuild 2910 BLAKE2B 7bc847ab06720a19a14c463b89b65eee94c01f8835a7cfd6ded5a289e59ea5b1f88a5d7588c3cac2a059f063d4d304d56ab7f702b314ca224d72e5b6f1e15561 SHA512 9dfc974c63b9f868ea477722f223732d15343c472e31a753d3a6a9f77382554cfe8bb726a195ba265cb38f1c5867f8cccd7dc7b468a684af05d757af30a7b1ac
+MISC metadata.xml 344 BLAKE2B a7d2c27caa7e9fa72716534c406145b94bd8a13eadf57d06ea8e3148339857311bd7e8f0434edbf8a70a5e7bfec1726425e1d16734841b056caeee7754471666 SHA512 30d31f76c73ff218fa34e5f9d442e2366082bf4697038c804c093cac0e22720341691b732bf653466f8e5fc7e734c11b08a02cef7dd2a4bd93635968e2c29447
diff --git a/media-libs/libffado/files/libffado-2.4.7-fix-config-load-crash.patch b/media-libs/libffado/files/libffado-2.4.7-fix-config-load-crash.patch
new file mode 100644
index 00000000..05ede6eb
--- /dev/null
+++ b/media-libs/libffado/files/libffado-2.4.7-fix-config-load-crash.patch
@@ -0,0 +1,13 @@
+diff --git a/libffado-2.4.1/support/mixer-qt4/ffado/mixer/globalmixer.py b/libffado-2.4.1-patched/support/mixer-qt4/ffado/mixer/globalmixer.py
+index 7078b0e..d184d73 100644
+--- libffado-2.4.1-old/support/mixer-qt4/ffado/mixer/globalmixer.py
++++ libffado-2.4.1/support/mixer-qt4/ffado/mixer/globalmixer.py
+@@ -96,7 +96,6 @@ class GlobalMixer(QWidget):
+ @pyqtSlot()
+ def on_txtNickname_returnPressed( self ):
+ if self.nickname.canChangeValue():
+- asciiData = self.txtNickname.text().toAscii()
+- self.nickname.setText( asciiData.data() )
++ self.nickname.setText( self.txtNickname.text().encode('utf-8') )
+ else:
+ self.txtNickname.setText( self.nickname.text() )
diff --git a/media-libs/libffado/libffado-2.4.7.ebuild b/media-libs/libffado/libffado-2.4.7.ebuild
new file mode 100644
index 00000000..559b6403
--- /dev/null
+++ b/media-libs/libffado/libffado-2.4.7.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit desktop python-single-r1 scons-utils toolchain-funcs udev multilib-minimal
+
+DESCRIPTION="Driver for IEEE1394 (Firewire) audio interfaces"
+HOMEPAGE="http://www.ffado.org"
+
+if [[ "${PV}" = "9999" ]]; then
+ inherit subversion
+ ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN}"
+else
+ SRC_URI="http://www.ffado.org/files/${P}.tgz"
+ KEYWORDS="~alpha amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv x86"
+fi
+
+LICENSE="GPL-2 GPL-3"
+SLOT="0"
+IUSE="debug qt5 test-programs"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+BDEPEND="
+ virtual/pkgconfig
+"
+CDEPEND="${PYTHON_DEPS}
+ dev-cpp/libxmlpp:2.6[${MULTILIB_USEDEP}]
+ >=dev-libs/dbus-c++-0.9.0-r5
+ dev-libs/libconfig:=[cxx,${MULTILIB_USEDEP}]
+ media-libs/alsa-lib
+ media-libs/libiec61883[${MULTILIB_USEDEP}]
+ sys-apps/dbus
+ sys-libs/libavc1394[${MULTILIB_USEDEP}]
+ sys-libs/libraw1394[${MULTILIB_USEDEP}]
+ qt5? (
+ $(python_gen_cond_dep '
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ dev-python/PyQt5[dbus,${PYTHON_USEDEP}]
+ ')
+ x11-misc/xdg-utils
+ )"
+DEPEND="${CDEPEND}"
+RDEPEND="${CDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/libffado-2.4.7-fix-config-load-crash.patch"
+)
+
+myescons() {
+ local myesconsargs=(
+ PREFIX="${EPREFIX}/usr"
+ LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+ MANDIR="${EPREFIX}/usr/share/man"
+ UDEVDIR="$(get_udevdir)/rules.d"
+ CUSTOM_ENV=true
+ DETECT_USERSPACE_ENV=false
+ DEBUG=$(usex debug)
+ PYPKGDIR="$(python_get_sitedir)"
+ # ENABLE_OPTIMIZATIONS detects cpu type and sets flags accordingly
+ # -fomit-frame-pointer is added also which can cripple debugging.
+ # we set flags from portage instead
+ ENABLE_OPTIMIZATIONS=false
+ # This only works for JACK1>=0.122.0 or JACK2>=1.9.9.
+ ENABLE_SETBUFFERSIZE_API_VER=force
+ )
+ if multilib_is_native_abi; then
+ myesconsargs+=(
+ BUILD_MIXER=$(usex qt5 true false)
+ BUILD_TESTS=$(usex test-programs)
+ )
+ else
+ myesconsargs+=(
+ BUILD_MIXER=false
+ BUILD_TESTS=false
+ )
+ fi
+ escons "${myesconsargs[@]}" "${@}"
+}
+
+src_prepare() {
+ default
+
+ # Bug #808853
+ cp "${BROOT}"/usr/share/gnuconfig/config.guess admin/ || die "Failed to update config.guess"
+
+ # Always use Qt5
+ sed -i -e 's/try:/if False:/' -e 's/except.*/else:/' support/mixer-qt4/ffado/import_pyqt.py || die
+
+ # Bugs #658052, #659226
+ sed -i -e 's/^CacheDir/#CacheDir/' SConstruct || die
+
+ multilib_copy_sources
+}
+
+multilib_src_compile() {
+ tc-export CC CXX
+ myescons
+}
+
+multilib_src_install() {
+ myescons DESTDIR="${D}" WILL_DEAL_WITH_XDG_MYSELF="True" install
+}
+
+multilib_src_install_all() {
+ einstalldocs
+
+ python_fix_shebang "${D}"
+ python_optimize "${D}"
+
+ if use qt5; then
+ newicon "support/xdg/hi64-apps-ffado.png" "ffado.png"
+ newmenu "support/xdg/ffado.org-ffadomixer.desktop" "ffado-mixer.desktop"
+ fi
+}
+
+pkg_postinst() {
+ udev_reload
+}
+
+pkg_postrm() {
+ udev_reload
+}
diff --git a/media-libs/libffado/metadata.xml b/media-libs/libffado/metadata.xml
new file mode 100644
index 00000000..2ea09875
--- /dev/null
+++ b/media-libs/libffado/metadata.xml
@@ -0,0 +1,11 @@
+
+
+
+
+ proaudio@gentoo.org
+ Gentoo ProAudio Project
+
+
+
diff --git a/media-video/davinci-resolve/Manifest b/media-video/davinci-resolve/Manifest
index f4a272ee..d29cf3a0 100644
--- a/media-video/davinci-resolve/Manifest
+++ b/media-video/davinci-resolve/Manifest
@@ -5,6 +5,7 @@ DIST DaVinci_Resolve_17.4.6_Linux.zip 2340066824 BLAKE2B 6e87a65f6657a8e9bd5cbce
DIST DaVinci_Resolve_18.0.4_Linux.zip 3128059055 BLAKE2B 707d55ff21c3d5fa95096c3bc3c4f2d90adc9f561b0e1445c12965c2a42fee8846f4536782640442730d226bfe3b9b819490f17f56ff77c3ea55e848a1c51c26 SHA512 ac31ae6f164c0e38c5a942c9ee222a33369fb56bdc9f8295b6e5727f7c441255cea88403c0537d3e4b3baefe366583ca5cb47c27f36afa3b70450d0c87517083
DIST DaVinci_Resolve_18.1.1_Linux.zip 3185109088 BLAKE2B 83a1410697faf19e1c6390df90fdf1f6504b8fa5a36a6c9a43ab29b3397dfb53f22b74ac7f9ee66a6ce6e47704274807d615c3643f882458a1bec67d7fe56109 SHA512 7983a8d8909aad66e8b7c3f8d916e054f24dd9f6eab5a1e26a70d97332ea9066b71e7eead8596d241aa2ac52c7475f033ec3dea9ee594659282d49f98f183c97
DIST DaVinci_Resolve_18.1.3_Linux.zip 3185140453 BLAKE2B 4e5328cfebdd3c5c1c612771c09dd7fa98f6591e4494995f956a9f7d5f824d96a8d22a9f14261d9f5b7c2eace19f9a78f8f379a5d2060ddc4d45d58011e00142 SHA512 e820f9ee8afe4bd4320c3dc12191544c2e877a3d34ecb83fdb2155d8b2de6ce3779d433cfddc8df2e6b1dbc19db903f22e8865a7971d7e073f500880da287bac
+DIST DaVinci_Resolve_18.1.4_Linux.zip 3185181538 BLAKE2B d27e829c0e740ca9791029f387160592463133418c2ccf5b6bfaf485e7ec2bf45b1e17a5eb51955c067858d987879bc42325c25738ecf4c7b80ddd1701c336ea SHA512 bba889e818051fc22190f671468c48ebe8fe8a802af37ada0314c255510e5e2fc22dc69e409772e79b8e90f259274d298451f3a2df4f3048428f2022d4e8f6c4
DIST DaVinci_Resolve_18.1_Linux.zip 3182942106 BLAKE2B 0ff2cbee1b781c6dcda7ee28ae823585beac7ee8269ee5e80bdaed2b75698f712a78f426ec5c744729cf9f96520f412762e367cd879de3cd6499d2578f3dec39 SHA512 ae11f469cdb84c611558364e46fef1dbb1aaf2508728a9b642127e7aec7edb62e8800896df94b20bcc82c7707800b3a2eb9cba8a7f920765531b847f6ab60463
DIST makeresolvedeb_1.6.0_multi.sh.tar.gz 4191 BLAKE2B ab2f09f339700ee31e011811152c6b97cc7e172698236efba0c0254cf69966c776dd222302e1da0266423f0af9c54ae426de4f5354d0d4550ae89b354f0a3d7a SHA512 02baae42c1e9d2163660b765ee6556660b337a3dfe25a60ee4bad9331d84700538ff9b339d045dd91cc0d89d1cd805e56437ae3a8d6ddf6502d0be0f0e5bc114
DIST makeresolvedeb_1.6.2_multi.sh.tar.gz 4258 BLAKE2B bcc2f602e9023f296b3dc69cb6cc04ea87001d51981a80eb3ffd2d4d5944e163a773a3a556b19fcb6e9a5b89f59c2e3535ae5f9f546068379888f982bf07d65d SHA512 b7afae27c4f2e9ab970ebbcc0f85427e36d6442883f9b6d616f85e78e256c91cc444ee714e0cb92167afed9340448464ab00118400bae9d929eaadc3110471f2
@@ -12,7 +13,8 @@ DIST makeresolvedeb_1.6.4_multi.sh.tar.gz 4338 BLAKE2B f3bab11a08432e765645e314e
EBUILD davinci-resolve-17.4.6.ebuild 2467 BLAKE2B fb9de7cd7a13482dcfe42f8e6823179daf144c72d4b8a8024b5aa5f502288862848dacc52bbe40f565f91c04dc991aaf02d5a0ef95e9ac626847f95ffbb16780 SHA512 dbc71120a6131aac4eeb7ab48a67ec153fb9a38316ce38a581fd99cae7f7479daa08b1afc3a88a208fc7c034b13df87fab0c7b104219f391e74fec2ab39781c7
EBUILD davinci-resolve-18.0.4.ebuild 2467 BLAKE2B fb9de7cd7a13482dcfe42f8e6823179daf144c72d4b8a8024b5aa5f502288862848dacc52bbe40f565f91c04dc991aaf02d5a0ef95e9ac626847f95ffbb16780 SHA512 dbc71120a6131aac4eeb7ab48a67ec153fb9a38316ce38a581fd99cae7f7479daa08b1afc3a88a208fc7c034b13df87fab0c7b104219f391e74fec2ab39781c7
EBUILD davinci-resolve-18.1.1.ebuild 2503 BLAKE2B b19c8c9ae382a421ccb3d599e10be95e999c7e1c410948e6f7b1381982b339da93ec19f6526d73cfa77c1cc00da4cb0f1636fe578f4e24935c2eb3fe53ef2900 SHA512 06a3133d1064668ea21db11343c9234445fb07122bfe98b357900f9e8099cdf64a9c17e849dec60e6704984ce06ed3a0a64d065158e9f5bf3d56fb807f932660
-EBUILD davinci-resolve-18.1.3.ebuild 2680 BLAKE2B ee5014eb18a6f95cceeecb7dcfe163e1be315820208a1427714a71e233bd0a75258abd7f8679e1abd17dfd8a82ab006086fb1b2c93458063b7e6adf5d0057247 SHA512 ce7996d43ae023d7adb4b04e1c2aa8d28b49ef710ed5a618eb9a3d1df8ff1ac4f37ee282768192c5b08d19ad1a0d4d7d1e732f0ab55c95ab1c1a8aeba8d9833e
+EBUILD davinci-resolve-18.1.3.ebuild 2659 BLAKE2B fca82811f22d013df6a7b4fd49cba6444bcaa4d4487ca7761fc4b274e088127df3774dc9ecb9fca4f2a0d1a5f16826ae69a8e6385b92cebed9dab5c13d21f3a8 SHA512 b5e8dd6c8943133c4ec16641857404d1969ed63b6220f4a717ae5cf056d6ce5f0ecc05f228f60dac5b57577dcc970ee9bb8115773004dddd9055cb2d27eae9ba
+EBUILD davinci-resolve-18.1.4.ebuild 2659 BLAKE2B fca82811f22d013df6a7b4fd49cba6444bcaa4d4487ca7761fc4b274e088127df3774dc9ecb9fca4f2a0d1a5f16826ae69a8e6385b92cebed9dab5c13d21f3a8 SHA512 b5e8dd6c8943133c4ec16641857404d1969ed63b6220f4a717ae5cf056d6ce5f0ecc05f228f60dac5b57577dcc970ee9bb8115773004dddd9055cb2d27eae9ba
EBUILD davinci-resolve-18.1.ebuild 2467 BLAKE2B 314be23153ef0e50daf3e6c41b80f542fc14173c8c8867a7e44dc79d67c7cca97ddf7826c137d0cf6e73729ad98e866a08a1f7722b0f2804e081b0925079790b SHA512 bbe23d5ca42f0552e12f5ca71012c12fd6739fff1c59ec65066d560caf670133f5467a792c3393f2a75313af2e27f30bd2e51d51de5c4108e3fec237de24c16f
MISC ChangeLog 984 BLAKE2B 6b5afde0d34caa62f7a6e336c651652380e9144d8c3382dcca2ee680b85724d93deca09c903565ccd79987d39ed61c517f1a5e717f37d3b00d24ac95c038edf3 SHA512 8110c143fd18310b7f12b9eb575f5179a574f0941bf1d6978c96ff4887289ecabfc4c3ab5fb4a9125d9b9d5e65d9d430ebc349965b925ba0bd35cf86466badba
MISC metadata.xml 408 BLAKE2B 66a3e2838d5c5f95c7463733cd13b1230ef3ca005ec0c5dac797561be30f950da98dfa41eeb4d43cf97500c9a2e0d04c57b0b084d60107072a988dd7c4d16ded SHA512 9cac3e4a07c425e87274de776e03d243e462341168235cd3991ef4706aa1a902cf6591ae8e965b9c4ed370fc2ebef3ca805a9c761d05c4b994ae8667198b267c
diff --git a/media-video/davinci-resolve/davinci-resolve-18.1.3.ebuild b/media-video/davinci-resolve/davinci-resolve-18.1.3.ebuild
new file mode 100644
index 00000000..8d0c99d1
--- /dev/null
+++ b/media-video/davinci-resolve/davinci-resolve-18.1.3.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+MAJOR_VER="$(ver_cut 1-3)"
+#MAJOR_VER="18.0b1"
+if [[ "${PN}" == "davinci-resolve-studio" ]] ; then
+ BASE_NAME="DaVinci_Resolve_Studio_${MAJOR_VER}_Linux"
+ CONFLICT_PKG="!!media-video/davinci-resolve"
+else
+ BASE_NAME="DaVinci_Resolve_${MAJOR_VER}_Linux"
+ CONFLICT_PKG="!!media-video/davinci-resolve-studio"
+fi
+ARC_NAME="${BASE_NAME}.zip"
+MRD_VER=1.6.4
+inherit udev xdg
+
+DESCRIPTION="Professional A/V post-production software suite"
+HOMEPAGE="
+ https://www.blackmagicdesign.com/support/family/davinci-resolve-and-fusion
+"
+SRC_URI="${ARC_NAME}
+ https://www.danieltufvesson.com/download/?file=makeresolvedeb/makeresolvedeb_${MRD_VER}_multi.sh.tar.gz"
+
+LICENSE="all-rights-reserved"
+KEYWORDS="-* ~amd64"
+SLOT="0"
+IUSE="doc udev"
+
+RESTRICT="strip mirror bindist fetch userpriv"
+
+RDEPEND="
+ virtual/glu
+ x11-libs/gtk+:=
+ virtual/libcrypt:=
+ ${CONFLICT_PKG}
+"
+
+DEPEND="
+ app-arch/libarchive
+ dev-libs/openssl-compat
+ dev-qt/qtcore:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwebengine:5
+ dev-qt/qtwebsockets:5
+ media-libs/gstreamer
+ media-libs/libpng
+ sys-fs/fuse[suid]
+ udev? ( virtual/udev )
+ virtual/opencl
+ x11-misc/xdg-user-dirs
+ ${RDEPEND}
+"
+
+BDEPEND="dev-util/patchelf"
+
+S="${WORKDIR}"
+DR="${WORKDIR}/davinci-resolve_${MAJOR_VER}-mrd${MRD_VER}_amd64"
+
+QA_PREBUILT="*"
+
+pkg_nofetch() {
+ einfo "Please download installation file"
+ einfo " - ${ARC_NAME}"
+ einfo "from ${HOMEPAGE} and place it in \$\{DISTDIR\}."
+ einfo "===="
+ einfo "Please download installation file"
+ einfo " - makeresolvedeb_${MRD_VER}_multi.sh.tar.gz"
+ einfo "from https://www.danieltufvesson.com/makeresolvedeb and place it in \$\{DISTDIR\}."
+}
+
+src_prepare() {
+ mv "${WORKDIR}"/makeresolvedeb*.sh "${WORKDIR}"/makeresolvedeb.sh
+ eapply -p0 "${FILESDIR}/makeresolvedeb_gentoo_${MRD_VER}.patch"
+
+ eapply_user
+
+ sed -i -e "s!#LIBDIR#!$(get_libdir)!" "${WORKDIR}"/makeresolvedeb.sh || die "Sed failed!"
+}
+
+_adjust_sandbox() {
+ addwrite /dev
+ addread /dev
+ addpredict /root
+ addpredict /etc
+ addpredict /lib
+ addpredict /usr
+ addpredict /sys
+ addpredict "/var/BlackmagicDesign"
+ addpredict "/var/BlackmagicDesign/DaVinci Resolve"
+}
+
+src_compile() {
+ _adjust_sandbox
+ cd "${WORKDIR}"
+ chmod u+x ${BASE_NAME}.run
+ CI_TEST="1" "${WORKDIR}"/makeresolvedeb.sh ${BASE_NAME}.run
+}
+
+src_install() {
+ cp -a ${DR}/lib "${ED}" || die
+ cp -a ${DR}/opt "${ED}" || die
+ cp -a ${DR}/usr "${ED}" || die
+ cp -a ${DR}/var "${ED}" || die
+
+ if use doc ; then
+ dodoc *.pdf
+ fi
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ udev_reload
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ udev_reload
+}
+
diff --git a/media-video/davinci-resolve/davinci-resolve-18.1.4.ebuild b/media-video/davinci-resolve/davinci-resolve-18.1.4.ebuild
new file mode 100644
index 00000000..8d0c99d1
--- /dev/null
+++ b/media-video/davinci-resolve/davinci-resolve-18.1.4.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+MAJOR_VER="$(ver_cut 1-3)"
+#MAJOR_VER="18.0b1"
+if [[ "${PN}" == "davinci-resolve-studio" ]] ; then
+ BASE_NAME="DaVinci_Resolve_Studio_${MAJOR_VER}_Linux"
+ CONFLICT_PKG="!!media-video/davinci-resolve"
+else
+ BASE_NAME="DaVinci_Resolve_${MAJOR_VER}_Linux"
+ CONFLICT_PKG="!!media-video/davinci-resolve-studio"
+fi
+ARC_NAME="${BASE_NAME}.zip"
+MRD_VER=1.6.4
+inherit udev xdg
+
+DESCRIPTION="Professional A/V post-production software suite"
+HOMEPAGE="
+ https://www.blackmagicdesign.com/support/family/davinci-resolve-and-fusion
+"
+SRC_URI="${ARC_NAME}
+ https://www.danieltufvesson.com/download/?file=makeresolvedeb/makeresolvedeb_${MRD_VER}_multi.sh.tar.gz"
+
+LICENSE="all-rights-reserved"
+KEYWORDS="-* ~amd64"
+SLOT="0"
+IUSE="doc udev"
+
+RESTRICT="strip mirror bindist fetch userpriv"
+
+RDEPEND="
+ virtual/glu
+ x11-libs/gtk+:=
+ virtual/libcrypt:=
+ ${CONFLICT_PKG}
+"
+
+DEPEND="
+ app-arch/libarchive
+ dev-libs/openssl-compat
+ dev-qt/qtcore:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwebengine:5
+ dev-qt/qtwebsockets:5
+ media-libs/gstreamer
+ media-libs/libpng
+ sys-fs/fuse[suid]
+ udev? ( virtual/udev )
+ virtual/opencl
+ x11-misc/xdg-user-dirs
+ ${RDEPEND}
+"
+
+BDEPEND="dev-util/patchelf"
+
+S="${WORKDIR}"
+DR="${WORKDIR}/davinci-resolve_${MAJOR_VER}-mrd${MRD_VER}_amd64"
+
+QA_PREBUILT="*"
+
+pkg_nofetch() {
+ einfo "Please download installation file"
+ einfo " - ${ARC_NAME}"
+ einfo "from ${HOMEPAGE} and place it in \$\{DISTDIR\}."
+ einfo "===="
+ einfo "Please download installation file"
+ einfo " - makeresolvedeb_${MRD_VER}_multi.sh.tar.gz"
+ einfo "from https://www.danieltufvesson.com/makeresolvedeb and place it in \$\{DISTDIR\}."
+}
+
+src_prepare() {
+ mv "${WORKDIR}"/makeresolvedeb*.sh "${WORKDIR}"/makeresolvedeb.sh
+ eapply -p0 "${FILESDIR}/makeresolvedeb_gentoo_${MRD_VER}.patch"
+
+ eapply_user
+
+ sed -i -e "s!#LIBDIR#!$(get_libdir)!" "${WORKDIR}"/makeresolvedeb.sh || die "Sed failed!"
+}
+
+_adjust_sandbox() {
+ addwrite /dev
+ addread /dev
+ addpredict /root
+ addpredict /etc
+ addpredict /lib
+ addpredict /usr
+ addpredict /sys
+ addpredict "/var/BlackmagicDesign"
+ addpredict "/var/BlackmagicDesign/DaVinci Resolve"
+}
+
+src_compile() {
+ _adjust_sandbox
+ cd "${WORKDIR}"
+ chmod u+x ${BASE_NAME}.run
+ CI_TEST="1" "${WORKDIR}"/makeresolvedeb.sh ${BASE_NAME}.run
+}
+
+src_install() {
+ cp -a ${DR}/lib "${ED}" || die
+ cp -a ${DR}/opt "${ED}" || die
+ cp -a ${DR}/usr "${ED}" || die
+ cp -a ${DR}/var "${ED}" || die
+
+ if use doc ; then
+ dodoc *.pdf
+ fi
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ udev_reload
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ udev_reload
+}
+
diff --git a/media-video/davinci-resolve/files/makeresolvedeb_gentoo_1.6.4.patch b/media-video/davinci-resolve/files/makeresolvedeb_gentoo_1.6.4.patch
new file mode 100644
index 00000000..d487db5b
--- /dev/null
+++ b/media-video/davinci-resolve/files/makeresolvedeb_gentoo_1.6.4.patch
@@ -0,0 +1,61 @@
+--- makeresolvedeb_1.6.2_multi.sh 2022-11-12 08:58:22.000000000 +0100
++++ makeresolvedeb.sh 2022-11-17 14:16:54.399577310 +0100
+@@ -151,8 +151,8 @@
+ copy_object ${UNPACK_DIR}/libs/libBlackmagicRawAPI.so ${RESOLVE_BASE_DIR}/bin/
+
+ # Install panel API library
+- create_directory ${DEB_DIR}/usr/lib/
+- extract_tgz ${UNPACK_DIR}/share/panels/dvpanel-framework-linux-x86_64.tgz ${DEB_DIR}/usr/lib/ libDaVinciPanelAPI.so
++ create_directory ${DEB_DIR}/usr/#LIBDIR#/
++ extract_tgz ${UNPACK_DIR}/share/panels/dvpanel-framework-linux-x86_64.tgz ${DEB_DIR}/usr/#LIBDIR#/ libDaVinciPanelAPI.so
+
+ # Add postinst commands
+ cat >> ${DEB_DIR}/DEBIAN/postinst < opencbm-0.4.99.104-source.tar.gz https://github.com/OpenCBM/nibtools/archive/master.tar.gz -> nibtools-0.4.99.104-source.tar.gz
+_eclasses_=toolchain-funcs 14a8ae365191b518fad51caad7a08f3e multilib d1408425c7c4a7669b9b17735404b693 linux-info 54fa9b732d29075cfacc3c3091b38747 multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 linux-mod e02e2112f542b74962d5d264c60a08de udev eec0bbab06977f1cfc5597269c1fa152
+_md5_=2f7d325f30f342587a52e58eb871a217
diff --git a/metadata/md5-cache/app-emulation/opencbm-9999 b/metadata/md5-cache/app-emulation/opencbm-9999
new file mode 100644
index 00000000..0a8adda0
--- /dev/null
+++ b/metadata/md5-cache/app-emulation/opencbm-9999
@@ -0,0 +1,14 @@
+BDEPEND=virtual/pkgconfig >=dev-vcs/git-1.8.2.1[curl]
+DEFINED_PHASES=compile install postinst postrm preinst prepare prerm setup unpack
+DEPEND=virtual/linux-sources dev-embedded/cc65 app-text/linuxdoc-tools app-text/docbook-xml-dtd:4.1.2 virtual/libusb:0 kernel_linux? ( sys-apps/kmod[tools] dist-kernel? ( virtual/dist-kernel:= ) ) kernel_linux? ( virtual/linux-sources virtual/libelf )
+DESCRIPTION=OpenCBM is a tool to use serial devices as used by most Commodore (CBM) machines
+EAPI=7
+HOMEPAGE=https://opencbm.trikaliotis.net/
+INHERIT=toolchain-funcs linux-mod udev git-r3
+IUSE=doc dist-kernel
+LICENSE=GPL-2
+PROPERTIES=live
+RDEPEND=kernel_linux? ( sys-apps/kmod[tools] dist-kernel? ( virtual/dist-kernel:= ) )
+SLOT=0
+_eclasses_=toolchain-funcs 14a8ae365191b518fad51caad7a08f3e multilib d1408425c7c4a7669b9b17735404b693 linux-info 54fa9b732d29075cfacc3c3091b38747 multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 linux-mod e02e2112f542b74962d5d264c60a08de udev eec0bbab06977f1cfc5597269c1fa152 git-r3 27e13c09a4c7e4c78ac812f74727e676
+_md5_=2f7d325f30f342587a52e58eb871a217
diff --git a/metadata/md5-cache/dev-embedded/cc65-2.19 b/metadata/md5-cache/dev-embedded/cc65-2.19
new file mode 100644
index 00000000..dac4afec
--- /dev/null
+++ b/metadata/md5-cache/dev-embedded/cc65-2.19
@@ -0,0 +1,13 @@
+DEFINED_PHASES=compile install
+DEPEND=doc? ( app-text/linuxdoc-tools )
+DESCRIPTION=It's a complete cross development package for 65(C)02 systems
+EAPI=7
+HOMEPAGE=http://www.cc65.org
+INHERIT=eutils toolchain-funcs multilib
+IUSE=doc
+KEYWORDS=~amd64 ~ppc ~sparc ~x86
+LICENSE=GPL-2
+SLOT=0
+SRC_URI=https://github.com/cc65/cc65/archive/V2.19.tar.gz -> cc65-sources-2.19.tar.gz
+_eclasses_=edos2unix 33e347e171066657f91f8b0c72ec8773 strip-linguas ac3ee41ee2d31d8c41a77c0838320cc7 wrapper 4a1902f969e5718126434fc35f3a0d9c eutils 8f942ebdcf04334697649d4a0bf65a32 toolchain-funcs 14a8ae365191b518fad51caad7a08f3e multilib d1408425c7c4a7669b9b17735404b693
+_md5_=e4a4f8dcd2844ab4dcf0496bbe23f470
diff --git a/net-im/teams-for-linux/Manifest b/net-im/teams-for-linux/Manifest
new file mode 100644
index 00000000..86fa77b9
--- /dev/null
+++ b/net-im/teams-for-linux/Manifest
@@ -0,0 +1,12 @@
+DIST teams-for-linux_1.0.49_amd64.deb 71631696 BLAKE2B d4d5c667e40bedd5636985de26acdd2561ed36d9e54d5034c8dc549b1a194ec569e89d109348aad930f7305f7d48f99052258b3d3f8df92ebb07c5d19baf12f1 SHA512 e517ba5fe7d24ad6da88ebe3f7f6bdf93a9bd3be2fd231770a3cafe5db588d2024bf98f93b8081e1922effafb918f88773ef865353cd7c23e0d11663ef72409b
+DIST teams-for-linux_1.0.52_amd64.deb 71618068 BLAKE2B 9198b70dbca3da65a74bb7066a1886b88c96098bb9f2758a7eeec7979f282b56ecc50d2a8ef4e5b52ae6dfac63ce5f0141a2f6ea03c8584e1da45ea096775a83 SHA512 7d69d71086ea5d532474a4008f0b9f19629373f5f9dcac4ecfc7a3284f1e3758e46f3ca9079f4de2bade0dc4c663a452b188fa73b4e82aaff777edcb7d9664fd
+DIST teams-for-linux_1.0.53_amd64.deb 71627500 BLAKE2B 7fd6e90a66adc0303de2da5d025fc7b5798063a1eb9cbbd5366bdc27ca973a315da218e259d4890cd9b5bff314aa8de1090bca1e0c0064e3073226ffcd7b6cbe SHA512 76bf66854a9cd87d8c2c9d6c1f8cf870d8e5f605dd193fb13deb49a2d685377700c31500d47341a1504ce2262f89a75ebd94bd5fd15053f61e56463029a3913c
+DIST teams-for-linux_1.0.54_amd64.deb 71304288 BLAKE2B c8e4441c3d978c9545e67ccc410a866fb3abe2ac2eedf860fc2730e93857a265ec5ebae6e69407b876aa840f2d0c48ad9f97f28cfc9fbd3b21842e56c2ad9200 SHA512 69f6c191c8527f6c7bc62e40ca8703335db8e2085e83d21e1c534bace9c885d70c46a08f15ac0b09b0ea4d12a1d17ab2dfb7bb7b627d68ae0f400e12f7bf5752
+DIST teams-for-linux_1.0.55_amd64.deb 71296948 BLAKE2B 20b7a03b08a765c0d4b73ebe45af13f19a25ff4f90b73639d98911aa97aad6618c9140cac80d38185702deb74995eddfaa53bf83f9dfaa85782e8715f99112ca SHA512 f1a6e05fdbe1393775bf9e0526945106ee52821e1abb05a9c99e3dd35a47535fcf805ce9e8c20ff0bf9df2da8fca3141838ec4851502c4e9aae8112e8f4a0cdd
+DIST teams-for-linux_1.0.58_amd64.deb 71293910 BLAKE2B 9f03a8fd46877769949e1a8cb82b29f22f860f34fc93d2fe79fff551dd7d8c37c1abbc380462db95dc5a786721b7e55256dec53e7607e49497cca6976e780410 SHA512 1c4dccd696b141e940d02c4d64f7b89636ea61629046220ab6e658a6043bd69e9363462a08564390651e1603809a19215c9658249ce78810feb3e59a8ad21b2e
+EBUILD teams-for-linux-1.0.49.ebuild 3387 BLAKE2B 9b228a9415840d9af66c04ed2b5ab574750352a4046e7177c7b5f5e2e98a1cc844359bf9eb42340902b70b709c00e8b073c0e2e87deac8197de11915cd442066 SHA512 e31460ec0cf447d6044ebbe4e9e74af7d412f550d6598b406d3524c1f3158f57e91a3f936e41a3cb03a96e7f26c2a626215cb064671d32afb4abc638255c5128
+EBUILD teams-for-linux-1.0.52.ebuild 3387 BLAKE2B 9b228a9415840d9af66c04ed2b5ab574750352a4046e7177c7b5f5e2e98a1cc844359bf9eb42340902b70b709c00e8b073c0e2e87deac8197de11915cd442066 SHA512 e31460ec0cf447d6044ebbe4e9e74af7d412f550d6598b406d3524c1f3158f57e91a3f936e41a3cb03a96e7f26c2a626215cb064671d32afb4abc638255c5128
+EBUILD teams-for-linux-1.0.53.ebuild 3387 BLAKE2B 9b228a9415840d9af66c04ed2b5ab574750352a4046e7177c7b5f5e2e98a1cc844359bf9eb42340902b70b709c00e8b073c0e2e87deac8197de11915cd442066 SHA512 e31460ec0cf447d6044ebbe4e9e74af7d412f550d6598b406d3524c1f3158f57e91a3f936e41a3cb03a96e7f26c2a626215cb064671d32afb4abc638255c5128
+EBUILD teams-for-linux-1.0.54.ebuild 3387 BLAKE2B 9b228a9415840d9af66c04ed2b5ab574750352a4046e7177c7b5f5e2e98a1cc844359bf9eb42340902b70b709c00e8b073c0e2e87deac8197de11915cd442066 SHA512 e31460ec0cf447d6044ebbe4e9e74af7d412f550d6598b406d3524c1f3158f57e91a3f936e41a3cb03a96e7f26c2a626215cb064671d32afb4abc638255c5128
+EBUILD teams-for-linux-1.0.55.ebuild 3387 BLAKE2B 9b228a9415840d9af66c04ed2b5ab574750352a4046e7177c7b5f5e2e98a1cc844359bf9eb42340902b70b709c00e8b073c0e2e87deac8197de11915cd442066 SHA512 e31460ec0cf447d6044ebbe4e9e74af7d412f550d6598b406d3524c1f3158f57e91a3f936e41a3cb03a96e7f26c2a626215cb064671d32afb4abc638255c5128
+EBUILD teams-for-linux-1.0.58.ebuild 3387 BLAKE2B 9b228a9415840d9af66c04ed2b5ab574750352a4046e7177c7b5f5e2e98a1cc844359bf9eb42340902b70b709c00e8b073c0e2e87deac8197de11915cd442066 SHA512 e31460ec0cf447d6044ebbe4e9e74af7d412f550d6598b406d3524c1f3158f57e91a3f936e41a3cb03a96e7f26c2a626215cb064671d32afb4abc638255c5128
diff --git a/net-im/teams/teams-1.5.00.23861.ebuild b/net-im/teams-for-linux/teams-for-linux-1.0.49.ebuild
similarity index 69%
rename from net-im/teams/teams-1.5.00.23861.ebuild
rename to net-im/teams-for-linux/teams-for-linux-1.0.49.ebuild
index f792495a..19e85bf0 100644
--- a/net-im/teams/teams-1.5.00.23861.ebuild
+++ b/net-im/teams-for-linux/teams-for-linux-1.0.49.ebuild
@@ -9,15 +9,16 @@ CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he
inherit chromium-2 desktop unpacker xdg
-DESCRIPTION="Microsoft Teams, an Office 365 multimedia collaboration client, pre-release"
-HOMEPAGE="https://products.office.com/en-us/microsoft-teams/group-chat-software/"
-SRC_URI="https://packages.microsoft.com/repos/ms-teams/pool/main/t/${PN}/${PN}_${PV}_amd64.deb"
+DESCRIPTION="Unofficial Microsoft Teams, an Office 365 multimedia collaboration client"
+HOMEPAGE="https://github.com/IsmaelMartinez/teams-for-linux/"
+SRC_URI="https://github.com/IsmaelMartinez/${PN}/releases/download/v${PV}/${PN}_${PV}_amd64.deb"
LICENSE="ms-teams-pre"
SLOT="0"
KEYWORDS="-* ~amd64"
RESTRICT="bindist mirror splitdebug test"
-IUSE="swiftshader system-ffmpeg"
+#IUSE="swiftshader system-ffmpeg"
+IUSE="system-ffmpeg"
QA_PREBUILT="*"
# libasound2 (>= 1.0.16), libatk-bridge2.0-0 (>= 2.5.3), libatk1.0-0 (>= 2.2.0), libatspi2.0-0 (>= 2.9.90), libc6 (>= 2.17), libcairo2 (>= 1.10.0)
@@ -66,25 +67,26 @@ RDEPEND="
S="${WORKDIR}"
-src_prepare() {
- default
- sed -i '/OnlyShowIn=/d' usr/share/applications/${PN}.desktop || die
- sed -e "s@^TEAMS_PATH=.*@TEAMS_PATH=${EPREFIX}/opt/${PN}/${PN}@" \
- -i usr/bin/${PN} || die
-}
+#src_prepare() {
+# default
+# sed -i '/OnlyShowIn=/d' usr/share/applications/${PN}.desktop || die
+# sed -e "s@^TEAMS_PATH=.*@TEAMS_PATH=${EPREFIX}/opt/${PN}/${PN}@" \
+# -i usr/bin/${PN} || die
+#}
src_install() {
- rm -f _gpgorigin || die
- rm -r "usr/share/${PN}/resources/assets/"{.gitignore,macos,tlb,windows,x86,x64,arm64} || die
- rm -r "usr/share/${PN}/resources/tmp" || die
- rm "usr/share/${PN}/chrome-sandbox" || die
+ rm "opt/${PN}/chrome-sandbox" || die
insinto /opt
- doins -r usr/share/${PN}
+ doins -r opt/${PN}
- dobin usr/bin/${PN}
domenu usr/share/applications/${PN}.desktop
- doicon usr/share/pixmaps/${PN}.png
+
+ local res
+ for res in 16 32 256 512; do
+ newicon -s ${res} usr/share/icons/hicolor/${res}x${res}/apps/${PN}.png ${PN}.png
+ done
+
pushd "${ED}/opt/${PN}/locales" > /dev/null || die
chromium_remove_language_paks
@@ -96,12 +98,11 @@ src_install() {
elog "Using system ffmpeg. This is experimental and may lead to crashes."
fi
- if ! use swiftshader; then
- rm -r "${ED}/opt/${PN}/swiftshader" || die
- elog "Running without SwiftShader OpenGL implementation. If Teams doesn't start "
- elog "or you experience graphic issues, then try with USE=swiftshader enabled."
- fi
+# if ! use swiftshader; then
+# rm -r "${ED}/opt/${PN}/swiftshader" || die
+# elog "Running without SwiftShader OpenGL implementation. If Teams doesn't start "
+# elog "or you experience graphic issues, then try with USE=swiftshader enabled."
+# fi
- fperms +x /usr/bin/${PN}
fperms +x /opt/${PN}/${PN}
}
diff --git a/net-im/teams-for-linux/teams-for-linux-1.0.52.ebuild b/net-im/teams-for-linux/teams-for-linux-1.0.52.ebuild
new file mode 100644
index 00000000..19e85bf0
--- /dev/null
+++ b/net-im/teams-for-linux/teams-for-linux-1.0.52.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he
+ hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr
+ sv sw ta te th tr uk vi zh-CN zh-TW"
+
+inherit chromium-2 desktop unpacker xdg
+
+DESCRIPTION="Unofficial Microsoft Teams, an Office 365 multimedia collaboration client"
+HOMEPAGE="https://github.com/IsmaelMartinez/teams-for-linux/"
+SRC_URI="https://github.com/IsmaelMartinez/${PN}/releases/download/v${PV}/${PN}_${PV}_amd64.deb"
+
+LICENSE="ms-teams-pre"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+RESTRICT="bindist mirror splitdebug test"
+#IUSE="swiftshader system-ffmpeg"
+IUSE="system-ffmpeg"
+
+QA_PREBUILT="*"
+# libasound2 (>= 1.0.16), libatk-bridge2.0-0 (>= 2.5.3), libatk1.0-0 (>= 2.2.0), libatspi2.0-0 (>= 2.9.90), libc6 (>= 2.17), libcairo2 (>= 1.10.0)
+# libcups2 (>= 1.7.0), libdrm2 (>= 2.4.38), libexpat1 (>= 2.0.1), libgbm1 (>= 17.1.0~rc2), libgcc1 (>= 1:3.0), libgdk-pixbuf2.0-0 (>= 2.22.0),
+# libglib2.0-0 (>= 2.39.4), libgtk-3-0 (>= 3.19.12), libnspr4 (>= 2:4.9-2~), libnss3 (>= 2:3.22), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0),
+# libx11-6 (>= 2:1.4.99.1), libx11-xcb1, libxcb-dri3-0, libxcb1 (>= 1.6), libxcomposite1 (>= 1:0.3-1), libxcursor1 (>> 1.1.2), libxdamage1 (>= 1:1.1),
+# libxext6, libxfixes3, libxi6 (>= 2:1.2.99.4), libxrandr2, libxrender1, libxtst6, apt-transport-https, libfontconfig1 (>= 2.11.0), libdbus-1-3 (>= 1.6.18),
+# libstdc++6 (>= 4.8.1)
+RDEPEND="
+ || (
+ >=app-accessibility/at-spi2-core-2.46.0:2
+ ( app-accessibility/at-spi2-atk dev-libs/atk )
+ )
+ app-crypt/libsecret
+ dev-libs/expat
+ dev-libs/glib
+ dev-libs/nspr
+ dev-libs/nss
+ media-libs/alsa-lib
+ media-libs/fontconfig
+ media-libs/mesa[gbm(+)]
+ net-print/cups
+ sys-apps/dbus
+ sys-apps/util-linux
+ sys-libs/glibc
+ x11-libs/cairo
+ x11-libs/libdrm
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:3
+ x11-libs/libX11
+ x11-libs/libXScrnSaver
+ x11-libs/libXcomposite
+ x11-libs/libXcursor
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXi
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/libXtst
+ x11-libs/libxcb
+ x11-libs/libxkbfile
+ x11-libs/pango
+ system-ffmpeg? ( /dev/null || die
+ chromium_remove_language_paks
+ popd > /dev/null || die
+
+ if use system-ffmpeg; then
+ rm "${ED}/opt/${PN}/libffmpeg.so" || die
+ dosym "../../usr/$(get_libdir)/chromium/libffmpeg.so" "opt/${PN}/libffmpeg.so" || die
+ elog "Using system ffmpeg. This is experimental and may lead to crashes."
+ fi
+
+# if ! use swiftshader; then
+# rm -r "${ED}/opt/${PN}/swiftshader" || die
+# elog "Running without SwiftShader OpenGL implementation. If Teams doesn't start "
+# elog "or you experience graphic issues, then try with USE=swiftshader enabled."
+# fi
+
+ fperms +x /opt/${PN}/${PN}
+}
diff --git a/net-im/teams-for-linux/teams-for-linux-1.0.53.ebuild b/net-im/teams-for-linux/teams-for-linux-1.0.53.ebuild
new file mode 100644
index 00000000..19e85bf0
--- /dev/null
+++ b/net-im/teams-for-linux/teams-for-linux-1.0.53.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he
+ hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr
+ sv sw ta te th tr uk vi zh-CN zh-TW"
+
+inherit chromium-2 desktop unpacker xdg
+
+DESCRIPTION="Unofficial Microsoft Teams, an Office 365 multimedia collaboration client"
+HOMEPAGE="https://github.com/IsmaelMartinez/teams-for-linux/"
+SRC_URI="https://github.com/IsmaelMartinez/${PN}/releases/download/v${PV}/${PN}_${PV}_amd64.deb"
+
+LICENSE="ms-teams-pre"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+RESTRICT="bindist mirror splitdebug test"
+#IUSE="swiftshader system-ffmpeg"
+IUSE="system-ffmpeg"
+
+QA_PREBUILT="*"
+# libasound2 (>= 1.0.16), libatk-bridge2.0-0 (>= 2.5.3), libatk1.0-0 (>= 2.2.0), libatspi2.0-0 (>= 2.9.90), libc6 (>= 2.17), libcairo2 (>= 1.10.0)
+# libcups2 (>= 1.7.0), libdrm2 (>= 2.4.38), libexpat1 (>= 2.0.1), libgbm1 (>= 17.1.0~rc2), libgcc1 (>= 1:3.0), libgdk-pixbuf2.0-0 (>= 2.22.0),
+# libglib2.0-0 (>= 2.39.4), libgtk-3-0 (>= 3.19.12), libnspr4 (>= 2:4.9-2~), libnss3 (>= 2:3.22), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0),
+# libx11-6 (>= 2:1.4.99.1), libx11-xcb1, libxcb-dri3-0, libxcb1 (>= 1.6), libxcomposite1 (>= 1:0.3-1), libxcursor1 (>> 1.1.2), libxdamage1 (>= 1:1.1),
+# libxext6, libxfixes3, libxi6 (>= 2:1.2.99.4), libxrandr2, libxrender1, libxtst6, apt-transport-https, libfontconfig1 (>= 2.11.0), libdbus-1-3 (>= 1.6.18),
+# libstdc++6 (>= 4.8.1)
+RDEPEND="
+ || (
+ >=app-accessibility/at-spi2-core-2.46.0:2
+ ( app-accessibility/at-spi2-atk dev-libs/atk )
+ )
+ app-crypt/libsecret
+ dev-libs/expat
+ dev-libs/glib
+ dev-libs/nspr
+ dev-libs/nss
+ media-libs/alsa-lib
+ media-libs/fontconfig
+ media-libs/mesa[gbm(+)]
+ net-print/cups
+ sys-apps/dbus
+ sys-apps/util-linux
+ sys-libs/glibc
+ x11-libs/cairo
+ x11-libs/libdrm
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:3
+ x11-libs/libX11
+ x11-libs/libXScrnSaver
+ x11-libs/libXcomposite
+ x11-libs/libXcursor
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXi
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/libXtst
+ x11-libs/libxcb
+ x11-libs/libxkbfile
+ x11-libs/pango
+ system-ffmpeg? ( /dev/null || die
+ chromium_remove_language_paks
+ popd > /dev/null || die
+
+ if use system-ffmpeg; then
+ rm "${ED}/opt/${PN}/libffmpeg.so" || die
+ dosym "../../usr/$(get_libdir)/chromium/libffmpeg.so" "opt/${PN}/libffmpeg.so" || die
+ elog "Using system ffmpeg. This is experimental and may lead to crashes."
+ fi
+
+# if ! use swiftshader; then
+# rm -r "${ED}/opt/${PN}/swiftshader" || die
+# elog "Running without SwiftShader OpenGL implementation. If Teams doesn't start "
+# elog "or you experience graphic issues, then try with USE=swiftshader enabled."
+# fi
+
+ fperms +x /opt/${PN}/${PN}
+}
diff --git a/net-im/teams-for-linux/teams-for-linux-1.0.54.ebuild b/net-im/teams-for-linux/teams-for-linux-1.0.54.ebuild
new file mode 100644
index 00000000..19e85bf0
--- /dev/null
+++ b/net-im/teams-for-linux/teams-for-linux-1.0.54.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he
+ hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr
+ sv sw ta te th tr uk vi zh-CN zh-TW"
+
+inherit chromium-2 desktop unpacker xdg
+
+DESCRIPTION="Unofficial Microsoft Teams, an Office 365 multimedia collaboration client"
+HOMEPAGE="https://github.com/IsmaelMartinez/teams-for-linux/"
+SRC_URI="https://github.com/IsmaelMartinez/${PN}/releases/download/v${PV}/${PN}_${PV}_amd64.deb"
+
+LICENSE="ms-teams-pre"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+RESTRICT="bindist mirror splitdebug test"
+#IUSE="swiftshader system-ffmpeg"
+IUSE="system-ffmpeg"
+
+QA_PREBUILT="*"
+# libasound2 (>= 1.0.16), libatk-bridge2.0-0 (>= 2.5.3), libatk1.0-0 (>= 2.2.0), libatspi2.0-0 (>= 2.9.90), libc6 (>= 2.17), libcairo2 (>= 1.10.0)
+# libcups2 (>= 1.7.0), libdrm2 (>= 2.4.38), libexpat1 (>= 2.0.1), libgbm1 (>= 17.1.0~rc2), libgcc1 (>= 1:3.0), libgdk-pixbuf2.0-0 (>= 2.22.0),
+# libglib2.0-0 (>= 2.39.4), libgtk-3-0 (>= 3.19.12), libnspr4 (>= 2:4.9-2~), libnss3 (>= 2:3.22), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0),
+# libx11-6 (>= 2:1.4.99.1), libx11-xcb1, libxcb-dri3-0, libxcb1 (>= 1.6), libxcomposite1 (>= 1:0.3-1), libxcursor1 (>> 1.1.2), libxdamage1 (>= 1:1.1),
+# libxext6, libxfixes3, libxi6 (>= 2:1.2.99.4), libxrandr2, libxrender1, libxtst6, apt-transport-https, libfontconfig1 (>= 2.11.0), libdbus-1-3 (>= 1.6.18),
+# libstdc++6 (>= 4.8.1)
+RDEPEND="
+ || (
+ >=app-accessibility/at-spi2-core-2.46.0:2
+ ( app-accessibility/at-spi2-atk dev-libs/atk )
+ )
+ app-crypt/libsecret
+ dev-libs/expat
+ dev-libs/glib
+ dev-libs/nspr
+ dev-libs/nss
+ media-libs/alsa-lib
+ media-libs/fontconfig
+ media-libs/mesa[gbm(+)]
+ net-print/cups
+ sys-apps/dbus
+ sys-apps/util-linux
+ sys-libs/glibc
+ x11-libs/cairo
+ x11-libs/libdrm
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:3
+ x11-libs/libX11
+ x11-libs/libXScrnSaver
+ x11-libs/libXcomposite
+ x11-libs/libXcursor
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXi
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/libXtst
+ x11-libs/libxcb
+ x11-libs/libxkbfile
+ x11-libs/pango
+ system-ffmpeg? ( /dev/null || die
+ chromium_remove_language_paks
+ popd > /dev/null || die
+
+ if use system-ffmpeg; then
+ rm "${ED}/opt/${PN}/libffmpeg.so" || die
+ dosym "../../usr/$(get_libdir)/chromium/libffmpeg.so" "opt/${PN}/libffmpeg.so" || die
+ elog "Using system ffmpeg. This is experimental and may lead to crashes."
+ fi
+
+# if ! use swiftshader; then
+# rm -r "${ED}/opt/${PN}/swiftshader" || die
+# elog "Running without SwiftShader OpenGL implementation. If Teams doesn't start "
+# elog "or you experience graphic issues, then try with USE=swiftshader enabled."
+# fi
+
+ fperms +x /opt/${PN}/${PN}
+}
diff --git a/net-im/teams-for-linux/teams-for-linux-1.0.55.ebuild b/net-im/teams-for-linux/teams-for-linux-1.0.55.ebuild
new file mode 100644
index 00000000..19e85bf0
--- /dev/null
+++ b/net-im/teams-for-linux/teams-for-linux-1.0.55.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he
+ hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr
+ sv sw ta te th tr uk vi zh-CN zh-TW"
+
+inherit chromium-2 desktop unpacker xdg
+
+DESCRIPTION="Unofficial Microsoft Teams, an Office 365 multimedia collaboration client"
+HOMEPAGE="https://github.com/IsmaelMartinez/teams-for-linux/"
+SRC_URI="https://github.com/IsmaelMartinez/${PN}/releases/download/v${PV}/${PN}_${PV}_amd64.deb"
+
+LICENSE="ms-teams-pre"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+RESTRICT="bindist mirror splitdebug test"
+#IUSE="swiftshader system-ffmpeg"
+IUSE="system-ffmpeg"
+
+QA_PREBUILT="*"
+# libasound2 (>= 1.0.16), libatk-bridge2.0-0 (>= 2.5.3), libatk1.0-0 (>= 2.2.0), libatspi2.0-0 (>= 2.9.90), libc6 (>= 2.17), libcairo2 (>= 1.10.0)
+# libcups2 (>= 1.7.0), libdrm2 (>= 2.4.38), libexpat1 (>= 2.0.1), libgbm1 (>= 17.1.0~rc2), libgcc1 (>= 1:3.0), libgdk-pixbuf2.0-0 (>= 2.22.0),
+# libglib2.0-0 (>= 2.39.4), libgtk-3-0 (>= 3.19.12), libnspr4 (>= 2:4.9-2~), libnss3 (>= 2:3.22), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0),
+# libx11-6 (>= 2:1.4.99.1), libx11-xcb1, libxcb-dri3-0, libxcb1 (>= 1.6), libxcomposite1 (>= 1:0.3-1), libxcursor1 (>> 1.1.2), libxdamage1 (>= 1:1.1),
+# libxext6, libxfixes3, libxi6 (>= 2:1.2.99.4), libxrandr2, libxrender1, libxtst6, apt-transport-https, libfontconfig1 (>= 2.11.0), libdbus-1-3 (>= 1.6.18),
+# libstdc++6 (>= 4.8.1)
+RDEPEND="
+ || (
+ >=app-accessibility/at-spi2-core-2.46.0:2
+ ( app-accessibility/at-spi2-atk dev-libs/atk )
+ )
+ app-crypt/libsecret
+ dev-libs/expat
+ dev-libs/glib
+ dev-libs/nspr
+ dev-libs/nss
+ media-libs/alsa-lib
+ media-libs/fontconfig
+ media-libs/mesa[gbm(+)]
+ net-print/cups
+ sys-apps/dbus
+ sys-apps/util-linux
+ sys-libs/glibc
+ x11-libs/cairo
+ x11-libs/libdrm
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:3
+ x11-libs/libX11
+ x11-libs/libXScrnSaver
+ x11-libs/libXcomposite
+ x11-libs/libXcursor
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXi
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/libXtst
+ x11-libs/libxcb
+ x11-libs/libxkbfile
+ x11-libs/pango
+ system-ffmpeg? ( /dev/null || die
+ chromium_remove_language_paks
+ popd > /dev/null || die
+
+ if use system-ffmpeg; then
+ rm "${ED}/opt/${PN}/libffmpeg.so" || die
+ dosym "../../usr/$(get_libdir)/chromium/libffmpeg.so" "opt/${PN}/libffmpeg.so" || die
+ elog "Using system ffmpeg. This is experimental and may lead to crashes."
+ fi
+
+# if ! use swiftshader; then
+# rm -r "${ED}/opt/${PN}/swiftshader" || die
+# elog "Running without SwiftShader OpenGL implementation. If Teams doesn't start "
+# elog "or you experience graphic issues, then try with USE=swiftshader enabled."
+# fi
+
+ fperms +x /opt/${PN}/${PN}
+}
diff --git a/net-im/teams-for-linux/teams-for-linux-1.0.58.ebuild b/net-im/teams-for-linux/teams-for-linux-1.0.58.ebuild
new file mode 100644
index 00000000..19e85bf0
--- /dev/null
+++ b/net-im/teams-for-linux/teams-for-linux-1.0.58.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he
+ hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr
+ sv sw ta te th tr uk vi zh-CN zh-TW"
+
+inherit chromium-2 desktop unpacker xdg
+
+DESCRIPTION="Unofficial Microsoft Teams, an Office 365 multimedia collaboration client"
+HOMEPAGE="https://github.com/IsmaelMartinez/teams-for-linux/"
+SRC_URI="https://github.com/IsmaelMartinez/${PN}/releases/download/v${PV}/${PN}_${PV}_amd64.deb"
+
+LICENSE="ms-teams-pre"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+RESTRICT="bindist mirror splitdebug test"
+#IUSE="swiftshader system-ffmpeg"
+IUSE="system-ffmpeg"
+
+QA_PREBUILT="*"
+# libasound2 (>= 1.0.16), libatk-bridge2.0-0 (>= 2.5.3), libatk1.0-0 (>= 2.2.0), libatspi2.0-0 (>= 2.9.90), libc6 (>= 2.17), libcairo2 (>= 1.10.0)
+# libcups2 (>= 1.7.0), libdrm2 (>= 2.4.38), libexpat1 (>= 2.0.1), libgbm1 (>= 17.1.0~rc2), libgcc1 (>= 1:3.0), libgdk-pixbuf2.0-0 (>= 2.22.0),
+# libglib2.0-0 (>= 2.39.4), libgtk-3-0 (>= 3.19.12), libnspr4 (>= 2:4.9-2~), libnss3 (>= 2:3.22), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0),
+# libx11-6 (>= 2:1.4.99.1), libx11-xcb1, libxcb-dri3-0, libxcb1 (>= 1.6), libxcomposite1 (>= 1:0.3-1), libxcursor1 (>> 1.1.2), libxdamage1 (>= 1:1.1),
+# libxext6, libxfixes3, libxi6 (>= 2:1.2.99.4), libxrandr2, libxrender1, libxtst6, apt-transport-https, libfontconfig1 (>= 2.11.0), libdbus-1-3 (>= 1.6.18),
+# libstdc++6 (>= 4.8.1)
+RDEPEND="
+ || (
+ >=app-accessibility/at-spi2-core-2.46.0:2
+ ( app-accessibility/at-spi2-atk dev-libs/atk )
+ )
+ app-crypt/libsecret
+ dev-libs/expat
+ dev-libs/glib
+ dev-libs/nspr
+ dev-libs/nss
+ media-libs/alsa-lib
+ media-libs/fontconfig
+ media-libs/mesa[gbm(+)]
+ net-print/cups
+ sys-apps/dbus
+ sys-apps/util-linux
+ sys-libs/glibc
+ x11-libs/cairo
+ x11-libs/libdrm
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:3
+ x11-libs/libX11
+ x11-libs/libXScrnSaver
+ x11-libs/libXcomposite
+ x11-libs/libXcursor
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXi
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/libXtst
+ x11-libs/libxcb
+ x11-libs/libxkbfile
+ x11-libs/pango
+ system-ffmpeg? ( /dev/null || die
+ chromium_remove_language_paks
+ popd > /dev/null || die
+
+ if use system-ffmpeg; then
+ rm "${ED}/opt/${PN}/libffmpeg.so" || die
+ dosym "../../usr/$(get_libdir)/chromium/libffmpeg.so" "opt/${PN}/libffmpeg.so" || die
+ elog "Using system ffmpeg. This is experimental and may lead to crashes."
+ fi
+
+# if ! use swiftshader; then
+# rm -r "${ED}/opt/${PN}/swiftshader" || die
+# elog "Running without SwiftShader OpenGL implementation. If Teams doesn't start "
+# elog "or you experience graphic issues, then try with USE=swiftshader enabled."
+# fi
+
+ fperms +x /opt/${PN}/${PN}
+}
diff --git a/net-im/teams/Manifest b/net-im/teams/Manifest
deleted file mode 100644
index 0c294fac..00000000
--- a/net-im/teams/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST teams_1.5.00.23861_amd64.deb 85466286 BLAKE2B fb989e0f6fcf65aad52586de83a1c6da2f7a8c3d7509f3c09fec61a6a3a83660df47284c5c76964eb845441e294a0c4e29517aa0b9df1c4356efed1e1bd1a50d SHA512 04a6199343af844e14d24fd78c659c1055c277f3832a00984915c20abb4d4c59a7ce4629b4c1340a634b4ab82f2329f9830bf77b40fce53ca4b54973451c3f29
-EBUILD teams-1.5.00.23861.ebuild 3503 BLAKE2B 99c89bc8b77ec632034af770fdc31d940e6df8861e4475bf328a23cca630bfbe68a10337561fb2024a6d00702faf1242f3148b325e858c23b7c249d4f14991e0 SHA512 057b8785ef5cdc06d559f4e700b1643240bf5ec5864302485d0f45525e13ee2b029bf6d5875c6d045a2af3799c77a5d38865a91d2f93bd11873be1da10273bab
diff --git a/net-misc/chrome-remote-desktop/Manifest b/net-misc/chrome-remote-desktop/Manifest
new file mode 100644
index 00000000..bef3d0db
--- /dev/null
+++ b/net-misc/chrome-remote-desktop/Manifest
@@ -0,0 +1,6 @@
+AUX chrome-remote-desktop-91.0.4472.10-always-sudo.patch 593 BLAKE2B 4cba2a4869437d2d392274c0f0586153406480eb1614297420e161285d981eedf03a4e090a309dfe55163e13387bf4c649586847ccee64dd2e88f9c7263b6b66 SHA512 f4aa5a2473c1872d06fea2611594f63c888717cd93618587b020dcb6aaeb7889443358dbc74da5c7763fb6ef08a6ecf9345d94874c582c799abbf8db8957c790
+AUX chrome-remote-desktop.conf.d 283 BLAKE2B a0146298fa2e18e16911587de10aa3dd229cfb26a2d1865637cc4c69c317f4cb303b98daa7f91b6e69cc34c6fbbab3d19332396d4f5c11eeef4958401e26ff14 SHA512 5391c4a2d5787047f773abbf1c5a9dd3842160d768122edc32f0a0275e198882a41a3ca88526d52347f89d1fb4e1a51b6dc785c4dd4a0c0b5935e1e6eff30f49
+AUX chrome-remote-desktop.rc 1183 BLAKE2B d1d56ac91a2ced2c6f13019f9d5c7f1d554c2fbd3f57842d6d0b791f2e90233e4d6e8a49155b634a5e20c0bad212a5bc5f63924b1a83d45db01b1fd69445fa07 SHA512 831391b6fcaeeda476a3064d6fff1fdcebb8037aba124814a81ad4a1336a68973f319a003d1ed0938eea68f5ddad179fe29fb12efa05fd204f7fa9c5fb8dd735
+DIST chrome-remote-desktop_110.0.5481.14_amd64.deb 17742536 BLAKE2B 3a010b73f786e013aa4bf358811ab306e87681860c1db12b5e915c80b653da0a7e190ff36c78c91fa7a68a8873c7f66a23bb6bdb98630fd881b30c33f12559f7 SHA512 66a374f04664c26e15c5c42b2dbd942dd9cdbc23127733f2f1c136deff868509db80c17028b5f9cae48a460b22443f39af337313dfd865705134737d72372600
+EBUILD chrome-remote-desktop-110.0.5481.14.ebuild 4812 BLAKE2B 7d7be0891730a1c34a30f2ea9713b426138f4a93baeef7c5e577bbe2e9fef53c713e6f890df93c2ea768f3b70197ec5c76ef9fedb6b93278989c59878247e467 SHA512 5d5dd89039b2ae57e6535c78044c33369150fb78af609530c9f06a98f767173588b52cc1569bba6070e04be2f48ae68b8cf193f13d0c65a7c85e7cdbabe99bcd
+MISC metadata.xml 248 BLAKE2B 2545c58c45b8fd57a236bab059e0bd3da47a3e0d3881d141a9b2dc2e275a2d8f0663d83366b45103b48fd257d62a4a2314a8dd6b79113f8b86c91a90524918c5 SHA512 1397e06cb2ad5941988872f37df6f54100aaa06bfc7ef30ba394f95191ddaa1e9f2180d8eb856eb10f9646d9cbc4a6f020805470633c492519e66e3de788439a
diff --git a/net-misc/chrome-remote-desktop/chrome-remote-desktop-110.0.5481.14.ebuild b/net-misc/chrome-remote-desktop/chrome-remote-desktop-110.0.5481.14.ebuild
new file mode 100644
index 00000000..ee4c9a09
--- /dev/null
+++ b/net-misc/chrome-remote-desktop/chrome-remote-desktop-110.0.5481.14.ebuild
@@ -0,0 +1,144 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Base URL: https://dl.google.com/linux/chrome-remote-desktop/deb/
+# Fetch the Release file:
+# https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/Release
+# Which gives you the Packages file:
+# https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-i386/Packages
+# https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-amd64/Packages
+# And finally gives you the file name:
+# pool/main/c/chrome-remote-desktop/chrome-remote-desktop_29.0.1547.32_amd64.deb
+#
+# Use curl to find the answer:
+# curl -q https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-amd64/Packages | grep ^Filename
+
+EAPI="7"
+
+PYTHON_COMPAT=( python3_{9,10,11} )
+PLOCALES="am ar bg bn ca cs da de el en_GB en es_419 es et fa fil fi fr gu he hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv sw ta te th tr uk vi zh_CN zh_TW"
+
+inherit unpacker python-single-r1 optfeature plocale
+
+DESCRIPTION="access remote computers via Chrome!"
+PLUGIN_URL="https://chrome.google.com/remotedesktop"
+HOMEPAGE="https://support.google.com/chrome/answer/1649523
+ https://chrome.google.com/remotedesktop"
+BASE_URI="https://dl.google.com/linux/chrome-remote-desktop/deb/pool/main/c/${PN}/${PN}_${PV}"
+SRC_URI="amd64? ( ${BASE_URI}_amd64.deb )"
+
+LICENSE="google-chrome"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="bindist mirror"
+
+# Packages we execute, but don't link.
+RDEPEND="app-admin/sudo
+ ${PYTHON_DEPS}"
+# All the libs this package links against.
+RDEPEND+="
+ >=dev-libs/expat-2
+ dev-libs/glib:2
+ dev-libs/nspr
+ dev-libs/nss
+ $(python_gen_cond_dep 'dev-python/psutil[${PYTHON_USEDEP}]')
+ media-libs/fontconfig
+ media-libs/freetype:2
+ sys-apps/dbus
+ sys-devel/gcc
+ sys-libs/glibc
+ sys-libs/libutempter
+ sys-libs/pam
+ x11-apps/xdpyinfo
+ x11-apps/setxkbmap
+ x11-libs/cairo
+ x11-libs/gtk+:3
+ x11-libs/libX11
+ x11-libs/libxcb
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libxkbcommon
+ x11-libs/libXrandr
+ x11-libs/libXtst
+ x11-libs/pango"
+# Settings we just need at runtime.
+# TODO: Look at switching to xf86-video-dummy & xf86-input-void instead of xvfb.
+# - The env var (CHROME_REMOTE_DESKTOP_USE_XORG) seems to be stripped before being checked.
+# - The Xorg invocation uses absolute paths with -logfile & -config which are rejected.
+# - The config takes over the active display in addition to starting up a virtual one.
+RDEPEND+="
+ x11-base/xorg-server[xvfb]"
+BDEPEND="$(unpacker_src_uri_depends)"
+
+S=${WORKDIR}
+
+QA_PREBUILT="/opt/google/chrome-remote-desktop/*"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-91.0.4472.10-always-sudo.patch #541708
+)
+
+src_prepare() {
+ default
+
+ gunzip usr/share/doc/${PN}/*.gz || die
+
+ cd opt/google/chrome-remote-desktop
+ python_fix_shebang chrome-remote-desktop
+
+ cd remoting_locales
+ # These isn't always included.
+ rm -f fake-bidi* || die
+ PLOCALES=${PLOCALES//_/-} plocale_find_changes "${PWD}" '' '.pak'
+}
+
+src_install() {
+ pushd opt/google/chrome-remote-desktop/remoting_locales >/dev/null || die
+ rm_pak() { local l=${1//_/-}; rm "${l}.pak" "${l}.pak.info"; }
+ plocale_for_each_disabled_locale rm_pak
+ popd >/dev/null
+
+ insinto /etc
+ doins -r etc/opt
+ dosym ../opt/chrome/native-messaging-hosts /etc/chromium/native-messaging-hosts #581754
+
+ insinto /opt
+ doins -r opt/google
+ chmod a+rx "${ED}"/opt/google/${PN}/* || die
+ fperms +s /opt/google/${PN}/user-session
+
+ dodir /etc/pam.d
+ dosym system-remote-login /etc/pam.d/${PN}
+
+ dodoc usr/share/doc/${PN}/changelog*
+
+ newinitd "${FILESDIR}"/${PN}.rc ${PN}
+ newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
+}
+
+pkg_postinst() {
+ optfeature "Dynamic resolution changes" "x11-apps/xrandr"
+
+ if [[ -z ${REPLACING_VERSIONS} ]] ; then
+ elog "Two ways to launch the server:"
+ elog "(1) access an existing desktop"
+ elog " (a) install the Chrome plugin on the server & client:"
+ elog " ${PLUGIN_URL}"
+ elog " (b) on the server, run the Chrome plugin & enable remote access"
+ elog " (c) on the client, connect to the server"
+ elog "(2) headless system"
+ elog " (a) install the Chrome plugin on the client:"
+ elog " ${PLUGIN_URL}"
+ elog " (b) run ${EPREFIX}/opt/google/chrome-remote-desktop/start-host --help to get the auth URL"
+ elog " (c) when it redirects you to a blank page, look at the URL for a code=XXX field"
+ elog " (d) run start-host again, and past the code when asked for an authorization code"
+ elog " (e) on the client, connect to the server"
+ elog
+ elog "Configuration settings you might want to be aware of:"
+ elog " ~/.${PN}-session - shell script to start your session"
+ elog " /etc/init.d/${PN} - script to auto-restart server"
+ fi
+}
diff --git a/net-misc/chrome-remote-desktop/files/chrome-remote-desktop-91.0.4472.10-always-sudo.patch b/net-misc/chrome-remote-desktop/files/chrome-remote-desktop-91.0.4472.10-always-sudo.patch
new file mode 100644
index 00000000..9e9ebd80
--- /dev/null
+++ b/net-misc/chrome-remote-desktop/files/chrome-remote-desktop-91.0.4472.10-always-sudo.patch
@@ -0,0 +1,20 @@
+https://bugs.gentoo.org/541708
+
+just use `sudo` for everything
+
+--- a/opt/google/chrome-remote-desktop/chrome-remote-desktop
++++ b/opt/google/chrome-remote-desktop/chrome-remote-desktop
+@@ -1092,12 +1092,7 @@
+
+
+ def run_command_as_root(command):
+- if os.getenv("DISPLAY"):
+- # TODO(rickyz): Add a Polkit policy that includes a more friendly
+- # message about what this command does.
+- command = ["/usr/bin/pkexec"] + command
+- else:
+- command = ["/usr/bin/sudo", "-k", "--"] + command
++ command = ["/usr/bin/sudo", "-k", "--"] + command
+
+ return subprocess.call(command)
+
diff --git a/net-misc/chrome-remote-desktop/files/chrome-remote-desktop.conf.d b/net-misc/chrome-remote-desktop/files/chrome-remote-desktop.conf.d
new file mode 100644
index 00000000..aa3d8919
--- /dev/null
+++ b/net-misc/chrome-remote-desktop/files/chrome-remote-desktop.conf.d
@@ -0,0 +1,7 @@
+# /etc/conf.d/chrome-remote-desktop: config file for /etc/init.d/chrome-remote-desktop
+
+# List of users to start Chrome Remote Desktop for.
+CHROME_REMOTING_USERS=''
+
+# Options to pass to chrome-remote-desktop. Only the -s option is interesting.
+#OPTIONS='-s 1600x1200 -s 3840x1600'
diff --git a/net-misc/chrome-remote-desktop/files/chrome-remote-desktop.rc b/net-misc/chrome-remote-desktop/files/chrome-remote-desktop.rc
new file mode 100644
index 00000000..272923ce
--- /dev/null
+++ b/net-misc/chrome-remote-desktop/files/chrome-remote-desktop.rc
@@ -0,0 +1,65 @@
+#!/sbin/openrc-run
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+extra_started_commands="checkconfig reload"
+
+CRD=/opt/google/chrome-remote-desktop/chrome-remote-desktop
+
+depend() {
+ need net
+ use logger
+}
+
+checkconfig() {
+ local ret=0
+ if [ -z "${CHROME_REMOTING_USERS}" ] ; then
+ eerror "You must set CHROME_REMOTING_USERS in /etc/conf.d/${SVCNAME} first"
+ ret=1
+ else
+ local user
+ for user in ${CHROME_REMOTING_USERS} ; do
+ if ! id "${user}" >/dev/null ; then
+ eerror "Invalid user found in CHROME_REMOTING_USERS: ${user}"
+ ret=1
+ fi
+ done
+ fi
+ return ${ret}
+}
+
+for_users() {
+ local user ret msg log
+ msg=$1; shift
+
+ for user in ${CHROME_REMOTING_USERS} ; do
+ ebegin "${msg} ${SVCNAME} for ${user}"
+
+ # We need to background the app as it won't fork until the network
+ # (including DNS) is available.
+ start-stop-daemon \
+ -b \
+ -u "${user}" \
+ -x "${CRD}" \
+ -- \
+ ${OPTIONS} \
+ "$@"
+ eend $?
+ : $(( ret |= $? ))
+ done
+
+ return ${ret}
+}
+
+start() {
+ checkconfig || return
+ for_users Starting --start
+}
+
+stop() {
+ for_users Stopping --stop
+}
+
+reload() {
+ for_users Reloading --reload
+}
diff --git a/net-misc/chrome-remote-desktop/metadata.xml b/net-misc/chrome-remote-desktop/metadata.xml
new file mode 100644
index 00000000..7517f8d9
--- /dev/null
+++ b/net-misc/chrome-remote-desktop/metadata.xml
@@ -0,0 +1,8 @@
+
+
+
+
+ Mike Frysinger
+ vapier@gentoo.org
+
+
diff --git a/net-misc/remotedesktopmanager/Manifest b/net-misc/remotedesktopmanager/Manifest
index 18a3a1fb..ed79aae1 100644
--- a/net-misc/remotedesktopmanager/Manifest
+++ b/net-misc/remotedesktopmanager/Manifest
@@ -1,4 +1,8 @@
DIST RemoteDesktopManager_2022.3.0.8_amd64.deb 163403232 BLAKE2B 685b3985a2c97275f6feb4ab66f97486d0e9d4e3b6f937934ae9e2be952554a666616a332dd5a0886a4ce86d15d1bacfc9bfe3ce053d76468c326f0f24e887a5 SHA512 431f27927abd5c32f645d5d47917083ee039878fd3b54992ce6429de9e135835cff630238002d6134fd84ecb23c47fe0536067e0f392f98e585ed834716bfe22
+DIST RemoteDesktopManager_2023.1.0.3_amd64.deb 196774640 BLAKE2B 7a6dd3dc02f13c1e5443e02dfee66aa99fecdd0c80cd06ddf4c91e1970b369f9b754d6cec23f7c5637f7d8f3851940e91d9f92224e142e5cf6146df16dbfda3f SHA512 be02df55ec54223af0d93e61a87342ebe6843bb489447cf27b0e2f423e4280cd4485cb98be1374cae0bd26b5a0ac487f579d44c731b2d76d863a068af4174db8
+DIST RemoteDesktopManager_2023.1.0.4_amd64.deb 176039816 BLAKE2B e953d15a87499dcc66101a4a672bf2ed06e62360ee020df2ae191ef2de50a9b54df929c9e84dbf67486ace3d4d564a69b6b999cc9ea8343194691cc34b8b81ec SHA512 86189a9639016b1c482c131c7d44fcec285bb6c08d58e9cafcdd1e88bf6fb51a308ec4bdcc7bff8548a193d589bd5492601d27f42ecaeb027ed7989edfb171b7
EBUILD remotedesktopmanager-2022.3.0.8.ebuild 1255 BLAKE2B c60bd29885c0d26c43315aa54fe00f721c86364ed3f8e061dd9a3fe040680c6b3f252262ea209cb2e32221e630e74bc910e4308a1eaaa6c82e17d0bb3d45024b SHA512 4ca7cdfdfcea791a890b182f1e1460e20b6cc5c76a5cf165b43df675d77722123aa03c9ff7b544665f7cb98478c307077a114cdab6ed3e8f09a754231fa2eb58
+EBUILD remotedesktopmanager-2023.1.0.3.ebuild 1255 BLAKE2B c60bd29885c0d26c43315aa54fe00f721c86364ed3f8e061dd9a3fe040680c6b3f252262ea209cb2e32221e630e74bc910e4308a1eaaa6c82e17d0bb3d45024b SHA512 4ca7cdfdfcea791a890b182f1e1460e20b6cc5c76a5cf165b43df675d77722123aa03c9ff7b544665f7cb98478c307077a114cdab6ed3e8f09a754231fa2eb58
+EBUILD remotedesktopmanager-2023.1.0.4.ebuild 1255 BLAKE2B c60bd29885c0d26c43315aa54fe00f721c86364ed3f8e061dd9a3fe040680c6b3f252262ea209cb2e32221e630e74bc910e4308a1eaaa6c82e17d0bb3d45024b SHA512 4ca7cdfdfcea791a890b182f1e1460e20b6cc5c76a5cf165b43df675d77722123aa03c9ff7b544665f7cb98478c307077a114cdab6ed3e8f09a754231fa2eb58
MISC ChangeLog 889 BLAKE2B 216bbbfe9b264ef06f5b56748af1ea7366fa49f2406604264b7d22ce8f464ffd7491a57912d7cf1be7d3dc030578960acca895236d6e06fd017f02a9138f0b7f SHA512 09aa97933a9709827b6e3c01ce8a3829cb3d494f7fdac570faa30da6fac440c752391d8dcaf7d03c5cd1163686e8921c1bf4ad75827e4b8df05bbcde03548488
MISC metadata.xml 408 BLAKE2B 66a3e2838d5c5f95c7463733cd13b1230ef3ca005ec0c5dac797561be30f950da98dfa41eeb4d43cf97500c9a2e0d04c57b0b084d60107072a988dd7c4d16ded SHA512 9cac3e4a07c425e87274de776e03d243e462341168235cd3991ef4706aa1a902cf6591ae8e965b9c4ed370fc2ebef3ca805a9c761d05c4b994ae8667198b267c
diff --git a/net-misc/remotedesktopmanager/remotedesktopmanager-2023.1.0.3.ebuild b/net-misc/remotedesktopmanager/remotedesktopmanager-2023.1.0.3.ebuild
new file mode 100644
index 00000000..4353f9f9
--- /dev/null
+++ b/net-misc/remotedesktopmanager/remotedesktopmanager-2023.1.0.3.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils unpacker pam
+
+DESCRIPTION="Remote DesktopManager"
+HOMEPAGE="https://remotedesktopmanager.com"
+
+#SRC_URI="https://cdn.devolutions.net/download/Linux/RDM/${PV}/RemoteDesktopManager.Free_${PV}_amd64.deb"
+SRC_URI="https://cdn.devolutions.net/download/Linux/RDM/${PV}/RemoteDesktopManager_${PV}_amd64.deb"
+
+LICENSE="Devolution"
+
+SLOT="0"
+
+KEYWORDS="~amd64"
+
+IUSE=""
+
+RESTRICT="strip mirror test"
+
+DEPEND="|| ( sys-devel/base-gcc sys-devel/gcc )
+ sys-apps/dbus
+ sys-apps/systemd
+ sys-libs/glibc
+ sys-libs/pam"
+
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack_deb ${A}
+}
+
+src_install() {
+ dodir /opt/devolutions/RemoteDesktopManager
+ cp -aR usr/lib/devolutions/RemoteDesktopManager/* "${D}/opt/devolutions/RemoteDesktopManager"
+ dodir /opt/bin
+ sed -e 's!usr/lib!opt!g' bin/remotedesktopmanager > "${D}/opt/bin/remotedesktopmanager"
+ chmod +x "${D}/opt/bin/remotedesktopmanager"
+ dodir /usr/share/applications
+ sed -e "s!usr/lib!opt!g" usr/share/applications/remotedesktopmanager.desktop > "${D}/usr/share/applications/remotedesktopmanager.desktop"
+ dodir /usr/share/icons
+ cp -aR usr/share/icons/* "${D}/usr/share/icons"
+}
diff --git a/net-misc/remotedesktopmanager/remotedesktopmanager-2023.1.0.4.ebuild b/net-misc/remotedesktopmanager/remotedesktopmanager-2023.1.0.4.ebuild
new file mode 100644
index 00000000..4353f9f9
--- /dev/null
+++ b/net-misc/remotedesktopmanager/remotedesktopmanager-2023.1.0.4.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils unpacker pam
+
+DESCRIPTION="Remote DesktopManager"
+HOMEPAGE="https://remotedesktopmanager.com"
+
+#SRC_URI="https://cdn.devolutions.net/download/Linux/RDM/${PV}/RemoteDesktopManager.Free_${PV}_amd64.deb"
+SRC_URI="https://cdn.devolutions.net/download/Linux/RDM/${PV}/RemoteDesktopManager_${PV}_amd64.deb"
+
+LICENSE="Devolution"
+
+SLOT="0"
+
+KEYWORDS="~amd64"
+
+IUSE=""
+
+RESTRICT="strip mirror test"
+
+DEPEND="|| ( sys-devel/base-gcc sys-devel/gcc )
+ sys-apps/dbus
+ sys-apps/systemd
+ sys-libs/glibc
+ sys-libs/pam"
+
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack_deb ${A}
+}
+
+src_install() {
+ dodir /opt/devolutions/RemoteDesktopManager
+ cp -aR usr/lib/devolutions/RemoteDesktopManager/* "${D}/opt/devolutions/RemoteDesktopManager"
+ dodir /opt/bin
+ sed -e 's!usr/lib!opt!g' bin/remotedesktopmanager > "${D}/opt/bin/remotedesktopmanager"
+ chmod +x "${D}/opt/bin/remotedesktopmanager"
+ dodir /usr/share/applications
+ sed -e "s!usr/lib!opt!g" usr/share/applications/remotedesktopmanager.desktop > "${D}/usr/share/applications/remotedesktopmanager.desktop"
+ dodir /usr/share/icons
+ cp -aR usr/share/icons/* "${D}/usr/share/icons"
+}
diff --git a/net-print/hplip/Manifest b/net-print/hplip/Manifest
new file mode 100644
index 00000000..f3c0abd1
--- /dev/null
+++ b/net-print/hplip/Manifest
@@ -0,0 +1,6 @@
+DIST hplip-3.22.10.tar.gz 29333247 BLAKE2B 484f470cb1ca639f6bbfa380230e94d8d219c2bc65a145e410e0be6c47ac82e7ac177d5d12a1ef9401682da2db6c7eba97424c2b2f9a2435b17f3a9ab4114e83 SHA512 0be9cd48cddebffb2472f36669ba92edbcf9019cb3b561a9630457949a6e6f13eab552582027b02468b4732e376f17321929502ad4d1f6bb4d5ea1262b171ef7
+DIST hplip-3.22.6-patches-1.tar.xz 17948 BLAKE2B ab6f0482dfebba2a1974cf6adb8037846a7e8990f15a74641af4db73d363b02d7c37baf958a8a9e83eebfc8bcccd058959c3cee448a832b26fd8a2097614c4fd SHA512 a6e3921d15ab75386f71a5e4a1aab48a014279cffd5141b152a7c1e985c7685892fd555eeb5578ab5f266ce8763c98d30d4630c3ec69ba1209a9856d6d5b0ead
+DIST hplip-3.22.6.tar.gz 29331408 BLAKE2B 7f2bc09ab2d7950d8e84b4c23d35fd5370ddc51d1d61c674fad0ce1667f8ecf9c25e0b57c155b688d932db583d3c6af528da86348ebe64ce8da9c8d051b2be34 SHA512 cb25c07c767d3d8921468429ef154401a4df9d2fdf87ead3ab18f0d06e1bd3de610843b8131641a1af8d920c7e15e290a0923405bf609cdc0a3fba9df93ddb5e
+EBUILD hplip-3.22.10.ebuild 8241 BLAKE2B 159075ad8d3b22f60bc0aa24f51174607d16b48ec16e472f66729384593daa235a2a8580a94a9d9b3a47cf373dc9403133349b43cb4ce654321cea4a85fe845d SHA512 cc6abcdde4b6acfd397c0b5b10358aa972294427edfaea0530766c3b3dc9ddb4ffab946e4513fc6a5806fdd4255a1356b301602fe20cc561e2f1907386f36b89
+EBUILD hplip-3.22.6.ebuild 8241 BLAKE2B 159075ad8d3b22f60bc0aa24f51174607d16b48ec16e472f66729384593daa235a2a8580a94a9d9b3a47cf373dc9403133349b43cb4ce654321cea4a85fe845d SHA512 cc6abcdde4b6acfd397c0b5b10358aa972294427edfaea0530766c3b3dc9ddb4ffab946e4513fc6a5806fdd4255a1356b301602fe20cc561e2f1907386f36b89
+MISC metadata.xml 1849 BLAKE2B 381cc0d0fe08d072487850a5f5ac6e264cb4ee5db8722b6f83ad9d4e6e78948a7768e80ea2a8a2313bdca1029b59a02d8c3ca309d9438d5e4d63585f7a6b2a83 SHA512 0f5f42b561099e943d99dc5e50cfd42577582b31590c0cd98f276e5acc364fb31f4a48cf91b33e923d24daa77b7b3a6bc54a0c24d9ebff9e3ec82c957a5671e3
diff --git a/net-print/hplip/hplip-3.22.10.ebuild b/net-print/hplip/hplip-3.22.10.ebuild
new file mode 100644
index 00000000..1a3d8189
--- /dev/null
+++ b/net-print/hplip/hplip-3.22.10.ebuild
@@ -0,0 +1,290 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9,10,11} )
+PYTHON_REQ_USE="threads(+),xml(+)"
+
+inherit autotools linux-info python-single-r1 readme.gentoo-r1 udev
+
+DESCRIPTION="HP Linux Imaging and Printing - Print, scan, fax drivers and service tools"
+HOMEPAGE="https://developers.hp.com/hp-linux-imaging-and-printing"
+SRC_URI="mirror://sourceforge/hplip/${P}.tar.gz
+ https://dev.gentoo.org/~billie/distfiles/${PN}-3.22.6-patches-1.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 arm arm64 ppc ppc64 x86"
+
+IUSE="doc fax +hpcups hpijs kde libnotify libusb0 minimal parport policykit qt5 scanner +snmp static-ppds X"
+
+COMMON_DEPEND="
+ net-print/cups
+ sys-apps/dbus
+ virtual/jpeg:0
+ hpijs? ( net-print/cups-filters[foomatic] )
+ !libusb0? ( virtual/libusb:1 )
+ libusb0? ( virtual/libusb:0 )
+ ${PYTHON_DEPS}
+ !minimal? (
+ scanner? (
+ media-gfx/sane-backends
+ )
+ snmp? (
+ dev-libs/openssl:0=
+ net-analyzer/net-snmp:=
+ net-dns/avahi[dbus,python,${PYTHON_SINGLE_USEDEP}]
+ )
+ )
+"
+BDEPEND="
+ virtual/pkgconfig
+"
+DEPEND="
+ ${COMMON_DEPEND}
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ app-text/ghostscript-gpl
+ !minimal? (
+ $(python_gen_cond_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]' 'python3*')
+ kernel_linux? ( virtual/udev )
+ $(python_gen_cond_dep '
+ >=dev-python/dbus-python-1.2.0-r1[${PYTHON_USEDEP}]
+ dev-python/distro[${PYTHON_USEDEP}]
+ fax? ( dev-python/reportlab[${PYTHON_USEDEP}] )
+ qt5? (
+ >=dev-python/PyQt5-5.5.1[dbus,gui,widgets,${PYTHON_USEDEP}]
+ libnotify? ( dev-python/notify2[${PYTHON_USEDEP}] )
+ )
+ scanner? (
+ >=dev-python/reportlab-3.2[${PYTHON_USEDEP}]
+ >=dev-python/pillow-3.1.1[${PYTHON_USEDEP}]
+ X? (
+ || (
+ kde? ( kde-misc/skanlite )
+ media-gfx/xsane
+ media-gfx/sane-frontends
+ )
+ )
+ )
+ ')
+ )
+ policykit? ( sys-auth/polkit )
+"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+PATCHES=(
+ "${WORKDIR}/patches"
+)
+
+CONFIG_CHECK="~PARPORT ~PPDEV"
+ERROR_PARPORT="Please make sure kernel parallel port support is enabled (PARPORT and PPDEV)."
+
+#DISABLE_AUTOFORMATTING="yes"
+DOC_CONTENTS="
+For more information on setting up your printer please take
+a look at the hplip section of the gentoo printing guide:
+https://wiki.gentoo.org/wiki/Printing
+"
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+
+ use scanner && ! use X && ewarn "You need USE=X for the scanner GUI."
+
+ use parport && linux-info_pkg_setup
+
+ if use minimal ; then
+ ewarn "Installing driver portions only, make sure you know what you are doing."
+ ewarn "Depending on the USE flags set for hpcups or hpijs the appropiate driver"
+ ewarn "is installed. If both USE flags are set hpijs overrides hpcups."
+ ewarn "This also disables fax, network, scanner and gui support!"
+ fi
+
+ if ! use hpcups && ! use hpijs ; then
+ ewarn "Installing neither hpcups (USE=-hpcups) nor hpijs (USE=-hpijs) driver,"
+ ewarn "which is probably not what you want."
+ ewarn "You will almost certainly not be able to print."
+ fi
+}
+
+src_prepare() {
+ default
+
+ python_fix_shebang .
+
+ # Make desktop files follow the specification
+ # Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=443680
+ # Upstream bug: https://bugs.launchpad.net/hplip/+bug/1080324
+ sed -i -e '/^Categories=/s/Application;//' \
+ -e '/^Encoding=.*/d' hplip.desktop.in || die
+ sed -i -e '/^Categories=/s/Application;//' \
+ -e '/^Version=.*/d' \
+ -e '/^Comment=.*/d' hplip-systray.desktop.in || die
+
+ # Fix for Gentoo bug https://bugs.gentoo.org/show_bug.cgi?id=345725
+ # Upstream bug: https://bugs.launchpad.net/hplip/+bug/880847,
+ # https://bugs.launchpad.net/hplip/+bug/500086
+ local udevdir=$(get_udevdir)
+ sed -i -e "s|/etc/udev|${udevdir}|g" \
+ $(find . -type f -exec grep -l /etc/udev {} +) || die
+
+ # Force recognition of Gentoo distro by hp-check
+ sed -i \
+ -e "s:file('/etc/issue', 'r').read():'Gentoo':" \
+ installer/core_install.py || die
+
+ eautoreconf
+}
+
+src_configure() {
+ local drv_build minimal_build
+
+ if use hpcups ; then
+ drv_build="$(use_enable hpcups hpcups-install)"
+ if use static-ppds ; then
+ drv_build="${drv_build} --enable-cups-ppd-install"
+ drv_build="${drv_build} --disable-cups-drv-install"
+ else
+ drv_build="${drv_build} --enable-cups-drv-install"
+ drv_build="${drv_build} --disable-cups-ppd-install"
+ fi
+ else
+ drv_build="--disable-hpcups-install"
+ drv_build="${drv_build} --disable-cups-drv-install"
+ drv_build="${drv_build} --disable-cups-ppd-install"
+ fi
+
+ if use hpijs ; then
+ drv_build="${drv_build} $(use_enable hpijs hpijs-install)"
+ if use static-ppds ; then
+ drv_build="${drv_build} --enable-foomatic-ppd-install"
+ drv_build="${drv_build} --disable-foomatic-drv-install"
+ else
+ drv_build="${drv_build} --enable-foomatic-drv-install"
+ drv_build="${drv_build} --disable-foomatic-ppd-install"
+ fi
+ else
+ drv_build="${drv_build} --disable-hpijs-install"
+ drv_build="${drv_build} --disable-foomatic-drv-install"
+ drv_build="${drv_build} --disable-foomatic-ppd-install"
+ fi
+
+ if use minimal ; then
+ if use hpijs ; then
+ minimal_build="--enable-hpijs-only-build"
+ else
+ minimal_build="--disable-hpijs-only-build"
+ fi
+ if use hpcups ; then
+ minimal_build="${minimal_build} --enable-hpcups-only-build"
+ else
+ minimal_build="${minimal_build} --disable-hpcups-only-build"
+ fi
+ minimal_build="${minimal_build} --disable-fax-build"
+ minimal_build="${minimal_build} --disable-network-build"
+ minimal_build="${minimal_build} --disable-scan-build"
+ minimal_build="${minimal_build} --disable-gui-build"
+ else
+ if use fax ; then
+ minimal_build="${minimal_build} --enable-fax-build"
+ else
+ minimal_build="${minimal_build} --disable-fax-build"
+ fi
+ if use snmp ; then
+ minimal_build="${minimal_build} --enable-network-build"
+ else
+ minimal_build="${minimal_build} --disable-network-build"
+ fi
+ if use scanner ; then
+ minimal_build="${minimal_build} --enable-scan-build"
+ else
+ minimal_build="${minimal_build} --disable-scan-build"
+ fi
+ if use qt5 ; then
+ minimal_build="${minimal_build} --enable-qt5"
+ minimal_build="${minimal_build} --enable-gui-build"
+ else
+ minimal_build="${minimal_build} --disable-gui-build"
+ minimal_build="${minimal_build} --disable-qt5"
+ fi
+ fi
+
+ # disable class driver for now
+ econf \
+ --disable-class-driver \
+ --disable-cups11-build \
+ --disable-foomatic-rip-hplip-install \
+ --disable-imageProcessor-build \
+ --disable-lite-build \
+ --disable-shadow-build \
+ --disable-qt3 \
+ --disable-qt4 \
+ --disable-udev_sysfs_rules \
+ --with-cupsbackenddir=$(cups-config --serverbin)/backend \
+ --with-cupsfilterdir=$(cups-config --serverbin)/filter \
+ --with-docdir=/usr/share/doc/${PF} \
+ --with-htmldir=/usr/share/doc/${PF}/html \
+ --enable-hpps-install \
+ --enable-dbus-build \
+ ${drv_build} \
+ ${minimal_build} \
+ $(use_enable doc doc-build) \
+ $(use_enable libusb0 libusb01_build) \
+ $(use_enable parport pp-build) \
+ $(use_enable policykit)
+
+ # hpijs ppds are created at configure time but are not installed (3.17.11)
+
+ # Use system foomatic-rip for hpijs driver instead of foomatic-rip-hplip
+ # The hpcups driver does not use foomatic-rip
+ #local i
+ #for i in ppd/hpijs/*.ppd.gz ; do
+ # rm -f ${i}.temp || die
+ # gunzip -c ${i} | sed 's/foomatic-rip-hplip/foomatic-rip/g' | \
+ # gzip > ${i}.temp || die
+ # mv ${i}.temp ${i} || die
+ #done
+}
+
+src_install() {
+ # Disable parallel install
+ # Gentoo Bug: https://bugs.gentoo.org/show_bug.cgi?id=578018
+ emake -j1 DESTDIR="${D}" install
+ einstalldocs
+ # default
+
+ # Installed by sane-backends
+ # Gentoo Bug: https://bugs.gentoo.org/show_bug.cgi?id=201023
+ rm -f "${ED}"/etc/sane.d/dll.conf || die
+
+ # Remove desktop and autostart files
+ # Gentoo Bug: https://bugs.gentoo.org/show_bug.cgi?id=638770
+ use qt5 || {
+ rm -Rf "${ED}"/usr/share/applications "${ED}"/etc/xdg
+ }
+
+ rm -f "${ED}"/usr/share/doc/${PF}/{copyright,README_LIBJPG,COPYING} || die
+ rmdir --ignore-fail-on-non-empty "${ED}"/usr/share/doc/${PF}/ || die
+
+ # Remove hal fdi files
+ rm -rf "${ED}"/usr/share/hal || die
+
+ find "${D}" -name '*.la' -delete || die
+
+ python_optimize "${ED}"/usr/share/hplip
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ udev_reload
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ udev_reload
+}
diff --git a/net-print/hplip/hplip-3.22.6.ebuild b/net-print/hplip/hplip-3.22.6.ebuild
new file mode 100644
index 00000000..1a3d8189
--- /dev/null
+++ b/net-print/hplip/hplip-3.22.6.ebuild
@@ -0,0 +1,290 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9,10,11} )
+PYTHON_REQ_USE="threads(+),xml(+)"
+
+inherit autotools linux-info python-single-r1 readme.gentoo-r1 udev
+
+DESCRIPTION="HP Linux Imaging and Printing - Print, scan, fax drivers and service tools"
+HOMEPAGE="https://developers.hp.com/hp-linux-imaging-and-printing"
+SRC_URI="mirror://sourceforge/hplip/${P}.tar.gz
+ https://dev.gentoo.org/~billie/distfiles/${PN}-3.22.6-patches-1.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 arm arm64 ppc ppc64 x86"
+
+IUSE="doc fax +hpcups hpijs kde libnotify libusb0 minimal parport policykit qt5 scanner +snmp static-ppds X"
+
+COMMON_DEPEND="
+ net-print/cups
+ sys-apps/dbus
+ virtual/jpeg:0
+ hpijs? ( net-print/cups-filters[foomatic] )
+ !libusb0? ( virtual/libusb:1 )
+ libusb0? ( virtual/libusb:0 )
+ ${PYTHON_DEPS}
+ !minimal? (
+ scanner? (
+ media-gfx/sane-backends
+ )
+ snmp? (
+ dev-libs/openssl:0=
+ net-analyzer/net-snmp:=
+ net-dns/avahi[dbus,python,${PYTHON_SINGLE_USEDEP}]
+ )
+ )
+"
+BDEPEND="
+ virtual/pkgconfig
+"
+DEPEND="
+ ${COMMON_DEPEND}
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ app-text/ghostscript-gpl
+ !minimal? (
+ $(python_gen_cond_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]' 'python3*')
+ kernel_linux? ( virtual/udev )
+ $(python_gen_cond_dep '
+ >=dev-python/dbus-python-1.2.0-r1[${PYTHON_USEDEP}]
+ dev-python/distro[${PYTHON_USEDEP}]
+ fax? ( dev-python/reportlab[${PYTHON_USEDEP}] )
+ qt5? (
+ >=dev-python/PyQt5-5.5.1[dbus,gui,widgets,${PYTHON_USEDEP}]
+ libnotify? ( dev-python/notify2[${PYTHON_USEDEP}] )
+ )
+ scanner? (
+ >=dev-python/reportlab-3.2[${PYTHON_USEDEP}]
+ >=dev-python/pillow-3.1.1[${PYTHON_USEDEP}]
+ X? (
+ || (
+ kde? ( kde-misc/skanlite )
+ media-gfx/xsane
+ media-gfx/sane-frontends
+ )
+ )
+ )
+ ')
+ )
+ policykit? ( sys-auth/polkit )
+"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+PATCHES=(
+ "${WORKDIR}/patches"
+)
+
+CONFIG_CHECK="~PARPORT ~PPDEV"
+ERROR_PARPORT="Please make sure kernel parallel port support is enabled (PARPORT and PPDEV)."
+
+#DISABLE_AUTOFORMATTING="yes"
+DOC_CONTENTS="
+For more information on setting up your printer please take
+a look at the hplip section of the gentoo printing guide:
+https://wiki.gentoo.org/wiki/Printing
+"
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+
+ use scanner && ! use X && ewarn "You need USE=X for the scanner GUI."
+
+ use parport && linux-info_pkg_setup
+
+ if use minimal ; then
+ ewarn "Installing driver portions only, make sure you know what you are doing."
+ ewarn "Depending on the USE flags set for hpcups or hpijs the appropiate driver"
+ ewarn "is installed. If both USE flags are set hpijs overrides hpcups."
+ ewarn "This also disables fax, network, scanner and gui support!"
+ fi
+
+ if ! use hpcups && ! use hpijs ; then
+ ewarn "Installing neither hpcups (USE=-hpcups) nor hpijs (USE=-hpijs) driver,"
+ ewarn "which is probably not what you want."
+ ewarn "You will almost certainly not be able to print."
+ fi
+}
+
+src_prepare() {
+ default
+
+ python_fix_shebang .
+
+ # Make desktop files follow the specification
+ # Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=443680
+ # Upstream bug: https://bugs.launchpad.net/hplip/+bug/1080324
+ sed -i -e '/^Categories=/s/Application;//' \
+ -e '/^Encoding=.*/d' hplip.desktop.in || die
+ sed -i -e '/^Categories=/s/Application;//' \
+ -e '/^Version=.*/d' \
+ -e '/^Comment=.*/d' hplip-systray.desktop.in || die
+
+ # Fix for Gentoo bug https://bugs.gentoo.org/show_bug.cgi?id=345725
+ # Upstream bug: https://bugs.launchpad.net/hplip/+bug/880847,
+ # https://bugs.launchpad.net/hplip/+bug/500086
+ local udevdir=$(get_udevdir)
+ sed -i -e "s|/etc/udev|${udevdir}|g" \
+ $(find . -type f -exec grep -l /etc/udev {} +) || die
+
+ # Force recognition of Gentoo distro by hp-check
+ sed -i \
+ -e "s:file('/etc/issue', 'r').read():'Gentoo':" \
+ installer/core_install.py || die
+
+ eautoreconf
+}
+
+src_configure() {
+ local drv_build minimal_build
+
+ if use hpcups ; then
+ drv_build="$(use_enable hpcups hpcups-install)"
+ if use static-ppds ; then
+ drv_build="${drv_build} --enable-cups-ppd-install"
+ drv_build="${drv_build} --disable-cups-drv-install"
+ else
+ drv_build="${drv_build} --enable-cups-drv-install"
+ drv_build="${drv_build} --disable-cups-ppd-install"
+ fi
+ else
+ drv_build="--disable-hpcups-install"
+ drv_build="${drv_build} --disable-cups-drv-install"
+ drv_build="${drv_build} --disable-cups-ppd-install"
+ fi
+
+ if use hpijs ; then
+ drv_build="${drv_build} $(use_enable hpijs hpijs-install)"
+ if use static-ppds ; then
+ drv_build="${drv_build} --enable-foomatic-ppd-install"
+ drv_build="${drv_build} --disable-foomatic-drv-install"
+ else
+ drv_build="${drv_build} --enable-foomatic-drv-install"
+ drv_build="${drv_build} --disable-foomatic-ppd-install"
+ fi
+ else
+ drv_build="${drv_build} --disable-hpijs-install"
+ drv_build="${drv_build} --disable-foomatic-drv-install"
+ drv_build="${drv_build} --disable-foomatic-ppd-install"
+ fi
+
+ if use minimal ; then
+ if use hpijs ; then
+ minimal_build="--enable-hpijs-only-build"
+ else
+ minimal_build="--disable-hpijs-only-build"
+ fi
+ if use hpcups ; then
+ minimal_build="${minimal_build} --enable-hpcups-only-build"
+ else
+ minimal_build="${minimal_build} --disable-hpcups-only-build"
+ fi
+ minimal_build="${minimal_build} --disable-fax-build"
+ minimal_build="${minimal_build} --disable-network-build"
+ minimal_build="${minimal_build} --disable-scan-build"
+ minimal_build="${minimal_build} --disable-gui-build"
+ else
+ if use fax ; then
+ minimal_build="${minimal_build} --enable-fax-build"
+ else
+ minimal_build="${minimal_build} --disable-fax-build"
+ fi
+ if use snmp ; then
+ minimal_build="${minimal_build} --enable-network-build"
+ else
+ minimal_build="${minimal_build} --disable-network-build"
+ fi
+ if use scanner ; then
+ minimal_build="${minimal_build} --enable-scan-build"
+ else
+ minimal_build="${minimal_build} --disable-scan-build"
+ fi
+ if use qt5 ; then
+ minimal_build="${minimal_build} --enable-qt5"
+ minimal_build="${minimal_build} --enable-gui-build"
+ else
+ minimal_build="${minimal_build} --disable-gui-build"
+ minimal_build="${minimal_build} --disable-qt5"
+ fi
+ fi
+
+ # disable class driver for now
+ econf \
+ --disable-class-driver \
+ --disable-cups11-build \
+ --disable-foomatic-rip-hplip-install \
+ --disable-imageProcessor-build \
+ --disable-lite-build \
+ --disable-shadow-build \
+ --disable-qt3 \
+ --disable-qt4 \
+ --disable-udev_sysfs_rules \
+ --with-cupsbackenddir=$(cups-config --serverbin)/backend \
+ --with-cupsfilterdir=$(cups-config --serverbin)/filter \
+ --with-docdir=/usr/share/doc/${PF} \
+ --with-htmldir=/usr/share/doc/${PF}/html \
+ --enable-hpps-install \
+ --enable-dbus-build \
+ ${drv_build} \
+ ${minimal_build} \
+ $(use_enable doc doc-build) \
+ $(use_enable libusb0 libusb01_build) \
+ $(use_enable parport pp-build) \
+ $(use_enable policykit)
+
+ # hpijs ppds are created at configure time but are not installed (3.17.11)
+
+ # Use system foomatic-rip for hpijs driver instead of foomatic-rip-hplip
+ # The hpcups driver does not use foomatic-rip
+ #local i
+ #for i in ppd/hpijs/*.ppd.gz ; do
+ # rm -f ${i}.temp || die
+ # gunzip -c ${i} | sed 's/foomatic-rip-hplip/foomatic-rip/g' | \
+ # gzip > ${i}.temp || die
+ # mv ${i}.temp ${i} || die
+ #done
+}
+
+src_install() {
+ # Disable parallel install
+ # Gentoo Bug: https://bugs.gentoo.org/show_bug.cgi?id=578018
+ emake -j1 DESTDIR="${D}" install
+ einstalldocs
+ # default
+
+ # Installed by sane-backends
+ # Gentoo Bug: https://bugs.gentoo.org/show_bug.cgi?id=201023
+ rm -f "${ED}"/etc/sane.d/dll.conf || die
+
+ # Remove desktop and autostart files
+ # Gentoo Bug: https://bugs.gentoo.org/show_bug.cgi?id=638770
+ use qt5 || {
+ rm -Rf "${ED}"/usr/share/applications "${ED}"/etc/xdg
+ }
+
+ rm -f "${ED}"/usr/share/doc/${PF}/{copyright,README_LIBJPG,COPYING} || die
+ rmdir --ignore-fail-on-non-empty "${ED}"/usr/share/doc/${PF}/ || die
+
+ # Remove hal fdi files
+ rm -rf "${ED}"/usr/share/hal || die
+
+ find "${D}" -name '*.la' -delete || die
+
+ python_optimize "${ED}"/usr/share/hplip
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ udev_reload
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ udev_reload
+}
diff --git a/net-print/hplip/metadata.xml b/net-print/hplip/metadata.xml
new file mode 100644
index 00000000..e50e7c0a
--- /dev/null
+++ b/net-print/hplip/metadata.xml
@@ -0,0 +1,29 @@
+
+
+
+
+ billie@gentoo.org
+ Daniel Pielmeier
+
+
+ printing@gentoo.org
+ Gentoo Printing Project
+
+
+
+ cpe:/a:hp:linux_imaging_and_printing_project
+ hplip
+
+
diff --git a/net-vpn/globalprotect-openconnect/Manifest b/net-vpn/globalprotect-openconnect/Manifest
new file mode 100644
index 00000000..5ad31214
--- /dev/null
+++ b/net-vpn/globalprotect-openconnect/Manifest
@@ -0,0 +1,2 @@
+DIST globalprotect-openconnect-1.4.9.tar.gz 129646 BLAKE2B c264671b1e9d629382e339f3249a9effdaf05daadae762ece0207ef3bca9bc457b57b5925763be05b10f3727277a98af5d442c3ebb3b1ec06f5f9110c4fbb90e SHA512 6d6c2ad419e7c9d0f07c8d580c23102fa04b427fa0f03bca2158398deb0e3ff636a5a7b2fef20dc9b4de3e5b6571d6a1c137992a6809da65bd599b8167aff0cf
+EBUILD globalprotect-openconnect-1.4.9.ebuild 1361 BLAKE2B be186a8e63a88a533f439da0ee9a56d8ce95473317e74d2cfc9c3ab8f2d9e69048d50459313f02a4e38cdf0a935a5bc14241d7464d72a4dec2f0dd3d35b7512b SHA512 23d4ac9855029dc8a6d889d18a89f626d4cfb802674c65f8e8ba4699f1d9f1c5529429be068f2b4622f1477ed46177549d8889dca325c36cb07ffdb5ffc716f8
diff --git a/net-vpn/globalprotect-openconnect/globalprotect-openconnect-1.4.9.ebuild b/net-vpn/globalprotect-openconnect/globalprotect-openconnect-1.4.9.ebuild
new file mode 100644
index 00000000..25b8c9db
--- /dev/null
+++ b/net-vpn/globalprotect-openconnect/globalprotect-openconnect-1.4.9.ebuild
@@ -0,0 +1,57 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="GlobalProtect VPN GUI based on Openconnect with SAML auth mode support"
+HOMEPAGE="https://github.com/yuezk/GlobalProtect-openconnect"
+SRC_URI="https://github.com/yuezk/GlobalProtect-openconnect/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/GlobalProtect-openconnect-${PV}"
+
+inherit cmake git-r3
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+ dev-qt/qtcore
+ dev-qt/qtdbus
+ dev-qt/qtgui
+ dev-qt/qtnetwork
+ dev-qt/qtwebsockets
+ dev-qt/qtwidgets
+ dev-qt/qtwebengine
+ dev-libs/qtkeychain
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+PLOG_REPO='https://github.com/SergiusTheBest/plog.git'
+PLOG_VERSION='1.1.8'
+SINGLEAPP_REPO='https://github.com/itay-grudev/SingleApplication.git'
+SINGLEAPP_VERSION='3.3.4'
+
+src_unpack() {
+ default_src_unpack
+ ## 3rd party submodules
+ # Plog
+ EGIT_REPO_URI="${PLOG_REPO}"
+ EGIT_COMMIT="${PLOG_VERSION}"
+ EGIT_CHECKOUT_DIR="${S}/3rdparty/plog"
+ git-r3_src_unpack
+ # SingleApplication
+ EGIT_REPO_URI="${SINGLEAPP_REPO}"
+ EGIT_COMMIT="v${SINGLEAPP_VERSION}"
+ EGIT_CHECKOUT_DIR="${S}/3rdparty/SingleApplication"
+ git-r3_src_unpack
+}
+
+src_compile() {
+ cmake -B build -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" -DCMAKE_BUILD_TYPE=Release
+ cmake --build build
+}
+
+src_install() {
+ emake DESTDIR="${D}" install -C build
+}
diff --git a/sys-boot/etcher/Manifest b/sys-boot/etcher/Manifest
index 316ef96a..72fb08ab 100644
--- a/sys-boot/etcher/Manifest
+++ b/sys-boot/etcher/Manifest
@@ -1,4 +1,6 @@
DIST balena-etcher-electron_1.7.9_amd64.deb 86767140 BLAKE2B 28408a987fc856217de5b9d41c235f97d25a76d08421870e31e84cf6c30c4dabe32c9e1aa0048fa11a74c55bd6fa69f3996662d959f44e8be8853d101c8684c4 SHA512 b7346d28bd1d989ba1c262febdc57f2f323a7c8eaf61e96ef9fff6b33c8ed2310b26deef0d599837aa5f6e6837b699b37f9c64dadb1bb119d1573abd7bd44625
DIST balena-etcher_1.10.6_amd64.deb 86839120 BLAKE2B 18528a58046f4564765759858170f4b2fa6710a567d90c21d2d51e7449d2d1ea35ab8b1a8091ff884275e61f9d4efc14449b5e47af3aaa3a71667ed85ce9d4c6 SHA512 3faf390524e94dc75b0f9e863407c49d10758b907ce27646c413a42b6fbda5feb38c0a63615532b78dbf96804af3dac2bf9d5666ef89f4138fd71ab9d152feb3
-EBUILD etcher-1.10.6.ebuild 1179 BLAKE2B d3179ca7aef37ff52a9b7f97efa438cf801695471e0574d2f6942eb2ca208488dcf72231a5a71af37cceb19870fa3a92a30de6d11f4a6119b1c82d4fd2140170 SHA512 9979debbc0135fea16d35a36bcf9023b0502414bbc14f572dcd1bfa4145110f7fbea65960e7781f76f4dc15b10971643a4579e63001372c736e77b7cf9a510f1
-EBUILD etcher-1.7.9.ebuild 1155 BLAKE2B eaf3c9a99a13e2a45907a8d4328d2f2f2164192687871f54c7383958dac3ab11f1cfc6c666a75b904baa190113d8b792afb3ce812238ea02c614ef61ee5f9753 SHA512 4c66453598ee209570e4ae0a0b6f0e0dc996baa46a38205a41abf129df29ad1bc003cff2902597fc7cc02d4be865a6637af296d80561a286b7e77f3cc261f8c5
+DIST balena-etcher_1.18.4_amd64.deb 90068302 BLAKE2B d339ef9d1a59126648b1ecd8eb586d8665668e4b93f4414bd20266b2eaa44f46494061c1e2d31843eace72c9804d17259d05a8c7b6b02776e33d03f952627080 SHA512 210c6df3901123aa50cdb841ccaed088ab43bb3adfb3726dae0bcc8a7ad6a1e10736580f417cea38edae0fe9e28a695776f4247a059bf82e10bd6fa268c8c95e
+EBUILD etcher-1.10.6.ebuild 1161 BLAKE2B 54b6ec9f9288e386aacdbf291d7073ef3e76ee80dd305ab599497fa4337d0ac4853c9ba09bd15d352dd789dcb3e814d9f0d4d61ec64321c68bd37c82918ddf6a SHA512 fd7e5626a8f494794fc29859f33ad71f2810220f145c61509502f1eef9f7c7206df2bf0515b4da2d8d5e24dd8399fd68149ac569199c4b35ed4493d095a0fbdd
+EBUILD etcher-1.18.4.ebuild 1161 BLAKE2B 54b6ec9f9288e386aacdbf291d7073ef3e76ee80dd305ab599497fa4337d0ac4853c9ba09bd15d352dd789dcb3e814d9f0d4d61ec64321c68bd37c82918ddf6a SHA512 fd7e5626a8f494794fc29859f33ad71f2810220f145c61509502f1eef9f7c7206df2bf0515b4da2d8d5e24dd8399fd68149ac569199c4b35ed4493d095a0fbdd
+EBUILD etcher-1.7.9.ebuild 1137 BLAKE2B 6b23dc1ca5d68783f2f1225d9316c7d1248147f0b7938946058e721077971b667a22085e138bee21b895b8348b067d6a6d6c4de3a3602a9e462647a3c13ff108 SHA512 44f4f9eec1e6e7c97544a1abfdcc15276a3865ff200d724c3961eb4595c90e8862f45dff822dd65cf69746ecbfe9b019a097d58bb93e8b08ff94c22f873f31d2
diff --git a/sys-boot/etcher/etcher-1.10.6.ebuild b/sys-boot/etcher/etcher-1.10.6.ebuild
index c8512597..7bc9bf10 100644
--- a/sys-boot/etcher/etcher-1.10.6.ebuild
+++ b/sys-boot/etcher/etcher-1.10.6.ebuild
@@ -17,7 +17,6 @@ KEYWORDS="amd64 x86"
IUSE=""
DEPEND="dev-libs/nss
- gnome-base/gconf
media-libs/alsa-lib
sys-apps/lsb-release
x11-libs/gtk+:2
diff --git a/sys-boot/etcher/etcher-1.18.4.ebuild b/sys-boot/etcher/etcher-1.18.4.ebuild
new file mode 100644
index 00000000..7bc9bf10
--- /dev/null
+++ b/sys-boot/etcher/etcher-1.18.4.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils unpacker
+
+DESCRIPTION="Flash OS images to SD cards & USB drives, safely and easily."
+HOMEPAGE="https://etcher.io/"
+#SRC_URI="https://github.com/balena-io/${PN}/releases/download/v${PV}/balena-${PN}-electron_${PV}_amd64.deb"
+SRC_URI="https://github.com/balena-io/${PN}/releases/download/v${PV}/balena-${PN}_${PV}_amd64.deb"
+
+LICENSE="GPL2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="dev-libs/nss
+ media-libs/alsa-lib
+ sys-apps/lsb-release
+ x11-libs/gtk+:2
+ x11-libs/libXtst
+ x11-libs/libnotify"
+RDEPEND="${DEPEND}"
+
+RESTRICT="mirror strip"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ unpack_deb ${A}
+}
+
+src_install() {
+ mv * "${D}" || die
+ sed -i "s/Utility/System/g" "${D}"usr/share/applications/balena-"${PN}".desktop
+ sed -i "s/Icon\=balena\-etcher/Icon\=etcher/g" "${D}"usr/share/applications/balena-"${PN}".desktop
+ sed -i "s/\/balena\-etcher/\/balena\-etcher \-\-disable\-gpu\-sandbox/g" "${D}"usr/share/applications/balena-"${PN}".desktop
+ rm -rf "${D}"usr/share/doc
+ fperms 0755 /opt/balenaEtcher/balena-"${PN}" || die
+}
diff --git a/sys-boot/etcher/etcher-1.7.9.ebuild b/sys-boot/etcher/etcher-1.7.9.ebuild
index 44e19b82..9b78c542 100644
--- a/sys-boot/etcher/etcher-1.7.9.ebuild
+++ b/sys-boot/etcher/etcher-1.7.9.ebuild
@@ -16,7 +16,6 @@ KEYWORDS="amd64 x86"
IUSE=""
DEPEND="dev-libs/nss
- gnome-base/gconf
media-libs/alsa-lib
sys-apps/lsb-release
x11-libs/gtk+:2