ccache with intel-llvm changes, xwayland-satellite with llvm bump
This commit is contained in:
parent
1e83b25c7e
commit
437ac32b8c
15 changed files with 469 additions and 0 deletions
3
dev-util/ccache/Manifest
Normal file
3
dev-util/ccache/Manifest
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
DIST ccache-4.13-docs.tar.xz 89264 BLAKE2B 7d59c28dd68a28d3ca4393a5aaa0c3ed6ee839178f7b7ad19eea1d7ea9cf527156ca3bdb39c20fad43691b43fb375ad890020abc30a96aa2d1d39d16f8f2d314 SHA512 4953ad7862adb5ffd5951e226345006e3c928789d30f65754e9af74743ef334f4b83b3b028ebfb00445d28aac96a0c4823aabf634e47df0e44f674e58d383135
|
||||
DIST ccache-4.13.3.tar.xz 537828 BLAKE2B 07175c1f4ccf97638d85abc1de26302d38d08a498db9c151fbddecec7f438570ee15f2eadc222aa0bad21beab55ac4f2ceb5f20a47442144cc15898902806d8e SHA512 93766932df147395eb2ec1d58e660be4d713fb0e210d9b1d7ab8798d708abc3a99ced2580b31c0a819035a6c7b033edf61bbc2343d2f02e8f18de44faa8f7f9a
|
||||
DIST ccache-4.13.3.tar.xz.minisig 315 BLAKE2B 162e52b1d43db84dfb7c1c5a3c156e911a6e73c4b4dfe8958dfa1d2667063f62d88b47cef3f387fd41ab49357c056c42e56a2502421db1517670b3bb2b3a34bb SHA512 a016e41e244c6cd33211f6a3ceb57d31943a5a14c240a6f80e23babf8d11650ecc28360b9089d21ae8538ea9a2f6eae234381a958f322468c7086ad857ec2483
|
||||
148
dev-util/ccache/ccache-4.13.3.ebuild
Normal file
148
dev-util/ccache/ccache-4.13.3.ebuild
Normal file
|
|
@ -0,0 +1,148 @@
|
|||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# XXX: We don't use CCACHE_* for these vars like we do in e.g. cmake/libabigail/qemu
|
||||
# because Portage unsets them. Aaaah!
|
||||
#
|
||||
# Generate using https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-ccache-docs
|
||||
# Set to 1 if prebuilt, 0 if not
|
||||
# (the construct below is to allow overriding from env for script)
|
||||
: ${MY_DOCS_PREBUILT:=1}
|
||||
|
||||
MY_DOCS_PREBUILT_DEV=sam
|
||||
MY_DOCS_VERSION=$(ver_cut 1-2)
|
||||
# Default to generating docs (inc. man pages) if no prebuilt; overridden later
|
||||
# See bug #784815
|
||||
MY_DOCS_USEFLAG="+doc"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/ccache.minisig
|
||||
VERIFY_SIG_METHOD=minisig
|
||||
inherit cmake toolchain-funcs flag-o-matic prefix verify-sig
|
||||
|
||||
DESCRIPTION="Fast compiler cache"
|
||||
HOMEPAGE="https://ccache.dev/"
|
||||
SRC_URI="https://github.com/ccache/ccache/releases/download/v${PV}/${P}.tar.xz"
|
||||
SRC_URI+=" verify-sig? ( https://github.com/ccache/ccache/releases/download/v${PV}/${P}.tar.xz.minisig )"
|
||||
if [[ ${MY_DOCS_PREBUILT} == 1 ]] ; then
|
||||
SRC_URI+=" !doc? ( https://dev.gentoo.org/~${MY_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${MY_DOCS_VERSION}-docs.tar.xz )"
|
||||
MY_DOCS_USEFLAG="doc"
|
||||
fi
|
||||
|
||||
# https://ccache.dev/license.html
|
||||
# ccache, blake3
|
||||
LICENSE="GPL-3+ || ( CC0-1.0 Apache-2.0 )"
|
||||
LICENSE+=" elibc_mingw? ( LGPL-3 ISC PSF-2 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~riscv ~s390 ~sparc ~x86"
|
||||
# Enable 'static-c++' by default to make 'gcc' ebuild Just Work: bug #761220
|
||||
IUSE="${MY_DOCS_USEFLAG} redis +static-c++ test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
>=app-arch/zstd-1.3.4:=
|
||||
!static-c++? (
|
||||
>=dev-cpp/cpp-httplib-0.20.0:=
|
||||
>=dev-libs/libfmt-8.0.0:=
|
||||
)
|
||||
>=dev-libs/blake3-1.8.2:=
|
||||
>=dev-libs/xxhash-0.8.3
|
||||
redis? ( >=dev-libs/hiredis-1.3.0:= )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
dev-util/shadowman
|
||||
sys-apps/gentoo-functions
|
||||
"
|
||||
DEPEND+=" dev-cpp/expected"
|
||||
# Needed for eselect calls in pkg_*
|
||||
IDEPEND="dev-util/shadowman"
|
||||
|
||||
# clang-specific tests use dev-libs/elfutils to compare objects for equality.
|
||||
# Let's pull in the dependency unconditionally.
|
||||
BDEPEND="
|
||||
doc? ( dev-ruby/asciidoctor )
|
||||
test? (
|
||||
>=dev-cpp/doctest-2.4.12
|
||||
dev-libs/elfutils
|
||||
)
|
||||
verify-sig? ( sec-keys/minisig-keys-ccache )
|
||||
"
|
||||
|
||||
DOCS=( doc/{authors,manual,news}.adoc CONTRIBUTING.md README.md )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.5-nvcc-test.patch
|
||||
"${FILESDIR}"/${PN}-4.0-objdump.patch
|
||||
"${FILESDIR}"/${PN}-4.13-avoid-run-user.patch
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
# Avoid aborting on the doc tarball
|
||||
if use verify-sig ; then
|
||||
verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.minisig}
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
cp "${FILESDIR}"/ccache-config-3 ccache-config || die
|
||||
eprefixify ccache-config
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Mainly used in tests
|
||||
tc-export CC OBJDUMP
|
||||
|
||||
local mycmakeargs=(
|
||||
-DENABLE_DOCUMENTATION=$(usex doc)
|
||||
-DENABLE_TESTING=$(usex test)
|
||||
-DDEPS=LOCAL
|
||||
-DREDIS_STORAGE_BACKEND=$(usex redis)
|
||||
)
|
||||
|
||||
# Avoid dependency on libstdc++.so. Useful for cases when
|
||||
# we would like to use ccache to build older gcc which injects
|
||||
# into ccache locally built (possibly outdated) libstdc++
|
||||
# See bug #761220 for examples.
|
||||
#
|
||||
# Ideally gcc should not use LD_PRELOAD to avoid this type of failure.
|
||||
if use static-c++ ; then
|
||||
append-ldflags -static-libstdc++
|
||||
mycmakeargs+=(
|
||||
-DDEP_CPPHTTPLIB=BUNDLED
|
||||
-DDEP_FMT=BUNDLED
|
||||
)
|
||||
fi
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
dobin ccache-config
|
||||
insinto /usr/share/shadowman/tools
|
||||
newins - ccache <<<"${EPREFIX}/usr/lib/ccache/bin"
|
||||
|
||||
# If USE=doc, there'll be newly generated docs which we install instead.
|
||||
if ! use doc && [[ ${MY_DOCS_PREBUILT} == 1 ]] ; then
|
||||
doman "${WORKDIR}"/${PN}-${MY_DOCS_VERSION}-docs/doc/*.[0-8]
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if [[ -z ${REPLACED_BY_VERSION} && -z ${ROOT} ]] ; then
|
||||
eselect compiler-shadow remove ccache
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${ROOT} ]] ; then
|
||||
eselect compiler-shadow update ccache
|
||||
fi
|
||||
}
|
||||
11
dev-util/ccache/files/ccache-3.5-nvcc-test.patch
Normal file
11
dev-util/ccache/files/ccache-3.5-nvcc-test.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
Disable 'nvcc' tests to avoid test failure
|
||||
on system with gcc-7+ enabled by default.
|
||||
--- a/test/run
|
||||
+++ b/test/run
|
||||
@@ -425,2 +425,6 @@ else
|
||||
fi
|
||||
+# Disable nvcc tests in Gentoo as nvcc requires gcc<7.
|
||||
+# Not a default normally.
|
||||
+REAL_NVCC=
|
||||
+REAL_CUOBJDUMP=
|
||||
echo
|
||||
12
dev-util/ccache/files/ccache-4.0-objdump.patch
Normal file
12
dev-util/ccache/files/ccache-4.0-objdump.patch
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
Allow ${CHOST}-objdump (or any other override)
|
||||
--- a/test/run
|
||||
+++ b/test/run
|
||||
@@ -133,7 +133,7 @@ objdump_cmd() {
|
||||
# back to brute force and ignorance.
|
||||
strings "$1"
|
||||
else
|
||||
- objdump -W "$file"
|
||||
+ ${OBJDUMP-objdump} -W "$file"
|
||||
fi
|
||||
}
|
||||
|
||||
34
dev-util/ccache/files/ccache-4.11-avoid-run-user.patch
Normal file
34
dev-util/ccache/files/ccache-4.11-avoid-run-user.patch
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
Gentoo's sandbox does not whitelist this path by default yet.
|
||||
|
||||
(4.1 update:
|
||||
https://github.com/ccache/ccache/issues/984
|
||||
https://github.com/ccache/ccache/issues/1044
|
||||
https://github.com/ccache/ccache/commit/a0edd4294f6a5a2d3f0c7b01273736f975f250e1
|
||||
https://github.com/ccache/ccache/commit/ef2e922f9642f943199138447b29ec53fa63ea68
|
||||
... gets us closer, but not there yet.)
|
||||
|
||||
And see https://github.com/ccache/ccache/discussions/1086#discussioncomment-3327565.
|
||||
|
||||
https://bugs.gentoo.org/837362 for 4.6 issue.
|
||||
https://bugs.gentoo.org/883799 and https://bugs.gentoo.org/887019 for 4.8 issue.
|
||||
--- a/src/ccache/config.cpp
|
||||
+++ b/src/ccache/config.cpp
|
||||
@@ -1240,17 +1240,5 @@ Config::check_key_tables_consistency()
|
||||
fs::path
|
||||
Config::default_temporary_dir() const
|
||||
{
|
||||
- static const fs::path run_user_tmp_dir = [] {
|
||||
-#ifndef _WIN32
|
||||
- const char* const xdg_runtime_dir = getenv("XDG_RUNTIME_DIR");
|
||||
- if (xdg_runtime_dir && DirEntry(xdg_runtime_dir).is_directory()) {
|
||||
- fs::path dir = FMT("{}/ccache-tmp", xdg_runtime_dir);
|
||||
- if (fs::create_directories(dir) && access(dir.c_str(), W_OK) == 0) {
|
||||
- return dir;
|
||||
- }
|
||||
- }
|
||||
-#endif
|
||||
- return fs::path();
|
||||
- }();
|
||||
- return !run_user_tmp_dir.empty() ? run_user_tmp_dir : m_cache_dir / "tmp";
|
||||
+ return m_cache_dir / "tmp";
|
||||
}
|
||||
37
dev-util/ccache/files/ccache-4.11.3-libfmt-libcxx-21.patch
Normal file
37
dev-util/ccache/files/ccache-4.11.3-libfmt-libcxx-21.patch
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
From https://github.com/fmtlib/fmt/commit/f4345467fce7edbc6b36c3fa1cf197a67be617e2 Mon Sep 17 00:00:00 2001
|
||||
From: Remy Jette <remy@remyjette.com>
|
||||
Date: Sat, 21 Jun 2025 07:28:14 -0700
|
||||
Subject: [PATCH] Fix compilation on clang-21 / libc++-21 (#4477)
|
||||
|
||||
`<cstdlib>` was not being included, so malloc and free were only declared
|
||||
via transitive includes. Some includes changed in the latest libc++-21
|
||||
build which broke fmt.
|
||||
|
||||
Also changed `malloc`/`free` to `std::malloc` and `std::free`, as
|
||||
putting those symbols in the global namespace is optional for the
|
||||
implementation when including `<cstdlib>`.
|
||||
--- a/src/third_party/fmt/fmt/format.h
|
||||
+++ b/src/third_party/fmt/fmt/format.h
|
||||
@@ -44,6 +44,7 @@
|
||||
# include <cmath> // std::signbit
|
||||
# include <cstddef> // std::byte
|
||||
# include <cstdint> // uint32_t
|
||||
+# include <cstdlib> // std::malloc, std::free
|
||||
# include <cstring> // std::memcpy
|
||||
# include <limits> // std::numeric_limits
|
||||
# include <new> // std::bad_alloc
|
||||
@@ -755,12 +756,12 @@ template <typename T> struct allocator : private std::decay<void> {
|
||||
|
||||
T* allocate(size_t n) {
|
||||
FMT_ASSERT(n <= max_value<size_t>() / sizeof(T), "");
|
||||
- T* p = static_cast<T*>(malloc(n * sizeof(T)));
|
||||
+ T* p = static_cast<T*>(std::malloc(n * sizeof(T)));
|
||||
if (!p) FMT_THROW(std::bad_alloc());
|
||||
return p;
|
||||
}
|
||||
|
||||
- void deallocate(T* p, size_t) { free(p); }
|
||||
+ void deallocate(T* p, size_t) { std::free(p); }
|
||||
};
|
||||
|
||||
} // namespace detail
|
||||
25
dev-util/ccache/files/ccache-4.13-avoid-run-user.patch
Normal file
25
dev-util/ccache/files/ccache-4.13-avoid-run-user.patch
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
Gentoo's sandbox does not whitelist this path by default yet.
|
||||
|
||||
(4.1 update:
|
||||
https://github.com/ccache/ccache/issues/984
|
||||
https://github.com/ccache/ccache/issues/1044
|
||||
https://github.com/ccache/ccache/commit/a0edd4294f6a5a2d3f0c7b01273736f975f250e1
|
||||
https://github.com/ccache/ccache/commit/ef2e922f9642f943199138447b29ec53fa63ea68
|
||||
... gets us closer, but not there yet.)
|
||||
|
||||
And see https://github.com/ccache/ccache/discussions/1086#discussioncomment-3327565.
|
||||
|
||||
https://bugs.gentoo.org/837362 for 4.6 issue.
|
||||
https://bugs.gentoo.org/883799 and https://bugs.gentoo.org/887019 for 4.8 issue.
|
||||
--- a/src/ccache/config.cpp
|
||||
+++ b/src/ccache/config.cpp
|
||||
@@ -1505,8 +1505,7 @@ Config::check_key_tables_consistency()
|
||||
fs::path
|
||||
Config::default_temporary_dir() const
|
||||
{
|
||||
- const auto dir = get_xdg_runtime_tmp_dir();
|
||||
- return !dir.empty() ? dir : m_cache_dir / "tmp";
|
||||
+ return m_cache_dir / "tmp";
|
||||
}
|
||||
|
||||
std::filesystem::path
|
||||
97
dev-util/ccache/files/ccache-config-3
Normal file
97
dev-util/ccache/files/ccache-config-3
Normal file
|
|
@ -0,0 +1,97 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# ccache-config - helper script for ccache and its ebuild
|
||||
#
|
||||
# Copyright 2003-2014 Superlucidity Services, LLC
|
||||
# Copyright 2013-2014 Gentoo Foundation
|
||||
# This program licensed under the GNU GPL version 2.
|
||||
#
|
||||
# This script developed by Zachary T Welch at Superlucidity Services, LLC
|
||||
# it was cloned from the distcc-config script
|
||||
#
|
||||
# Additional features to come; this provides a starting point
|
||||
|
||||
EPREFIX='@GENTOO_PORTAGE_EPREFIX@'
|
||||
|
||||
. "${EPREFIX}"/lib/gentoo/functions.sh 2>/dev/null || {
|
||||
ebegin() { echo " * $* ..."; }
|
||||
eend() {
|
||||
local r=${1:-$?}
|
||||
[ ${r} -eq 0 ] && echo " [ OK ]" || echo " [ !! ]"
|
||||
return $r
|
||||
}
|
||||
}
|
||||
|
||||
LIBDIR="lib"
|
||||
|
||||
# this should be getopt'd someday (override with CC_QUIET=1)
|
||||
CC_VERBOSE=1
|
||||
unset _CC_QUIET
|
||||
c_quiet() {
|
||||
[ -n "${CC_QUIET:-${_CC_QUIET}}" ] || [ -z "${CC_VERBOSE}" ]
|
||||
}
|
||||
|
||||
c_ebegin() { c_quiet || ebegin "$@" ; }
|
||||
c_eend() { c_quiet || eend "$@" ; }
|
||||
|
||||
###
|
||||
# the following functions manage the ccache symlinks
|
||||
# they allow the user or other scripts (namely gcc-config) to
|
||||
# automatically update ccache's links when upgrading toolchains
|
||||
#
|
||||
cc_path() {
|
||||
echo ${ROOT%/}${EPREFIX}/usr/${LIBDIR}/ccache/bin/$1
|
||||
}
|
||||
cc_remove_link() {
|
||||
local t=$(cc_path "$1")
|
||||
if [ -L ${t} ]; then
|
||||
c_ebegin "Removing ${t}"
|
||||
rm -f "${t}"
|
||||
c_eend
|
||||
|
||||
# Trim the empty dir if possible. #517242
|
||||
t=${t%/*}
|
||||
if rmdir "${t}" 2>/dev/null; then
|
||||
rmdir "${t%/*}" 2>/dev/null
|
||||
fi
|
||||
:
|
||||
fi
|
||||
}
|
||||
cc_install_link() {
|
||||
# Search the PATH for the specified compiler
|
||||
# then create shadow link in /usr/lib/ccache/bin to ccache
|
||||
|
||||
if command -v "$1" >/dev/null ; then
|
||||
# first be sure any old link is removed
|
||||
_CC_QUIET=1
|
||||
cc_remove_link "$1"
|
||||
unset _CC_QUIET
|
||||
|
||||
# then create the new link
|
||||
local t=$(cc_path "$1")
|
||||
c_ebegin "Creating ccache shadow link ${t}"
|
||||
mkdir -p -m 0755 "${t%/*}" && ln -s "${EPREFIX}"/usr/bin/ccache "${t}"
|
||||
c_eend
|
||||
fi
|
||||
}
|
||||
cc_links() {
|
||||
local a
|
||||
for a in gcc cc c++ g++ icc icpc icx icpx clang clang++ ; do
|
||||
"cc_${1}_link" "${2}${2:+-}${a}"
|
||||
done
|
||||
}
|
||||
|
||||
###
|
||||
# main routine
|
||||
|
||||
case $1 in
|
||||
--install-links )
|
||||
cc_links install "$2"
|
||||
;;
|
||||
--remove-links )
|
||||
cc_links remove "$2"
|
||||
;;
|
||||
* )
|
||||
echo "usage: $0 {--install-links|--remove-links} [ CHOST ]"
|
||||
;;
|
||||
esac
|
||||
19
dev-util/ccache/metadata.xml
Normal file
19
dev-util/ccache/metadata.xml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>toolchain@gentoo.org</email>
|
||||
<name>Gentoo Toolchain Project</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="redis">Enable Redis backend for storage via <pkg>dev-libs/hiredis</pkg></flag>
|
||||
<flag name="static-c++">Avoid dynamic dependency on gcc's libstdc++.</flag>
|
||||
</use>
|
||||
<longdescription lang="en">
|
||||
ccache acts as a caching pre-processor to C/C++ compilers, improving
|
||||
compilation time when recompiling previously compiled source.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">ccache/ccache</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
2
gui-apps/xwayland-satellite/Manifest
Normal file
2
gui-apps/xwayland-satellite/Manifest
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
DIST xwayland-satellite-0.8.1-crates.tar.xz 10173496 BLAKE2B 66d54cd2c0b5d7c16e1125c102bb854ff526b617e8a0f4dbb7071bb56ec0928c267b96a04c97fe7d6c34db50a214da9dc4ab5d83227304aae6f7ef927c209c4f SHA512 cf7fc724ecd131b863669fab91beb341bc9ad2c0e0b35ae637adccdbbc79595852cf81641c4a905cf150e11a6013299eee85ea21dee45668b545845bd1bbfcf2
|
||||
DIST xwayland-satellite-0.8.1.tar.gz 213937 BLAKE2B 3a1407fb3c0c1876114ec337199314f1fa9e347c2ed4f3ced46158c859d7a23a7fcc6041844480b95485c4982eb3dcee41855d61b88ce9cf63ea58759c286079 SHA512 f0d08d0a1ca19f286cddceac0d731b37df37a4bf8c158437dc82a46d9eb2888cf87265ca7d9b58afcf4941800349949979c73510e3f30980d6ec6a4822f205e8
|
||||
12
gui-apps/xwayland-satellite/metadata.xml
Normal file
12
gui-apps/xwayland-satellite/metadata.xml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<name>Jonas Frei</name>
|
||||
<email>freijon@pm.me</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">Supreeeme/xwayland-satellite</remote-id>
|
||||
<bugs-to>https://github.com/Supreeeme/xwayland-satellite/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
50
gui-apps/xwayland-satellite/xwayland-satellite-0.8.1.ebuild
Normal file
50
gui-apps/xwayland-satellite/xwayland-satellite-0.8.1.ebuild
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
# Copyright 2024-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
LLVM_COMPAT=( {17..22} )
|
||||
# RUST_MIN_VER="1.85.0"
|
||||
RUST_NEEDS_LLVM=1
|
||||
|
||||
inherit llvm-r1 cargo
|
||||
|
||||
DESCRIPTION="Xwayland outside your Wayland"
|
||||
HOMEPAGE="https://github.com/Supreeeme/xwayland-satellite"
|
||||
SRC_URI="https://github.com/Supreeeme/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
DEPS_URI="https://github.com/gentoo-crate-dist/${PN}/releases/download/v${PV}/${P}-crates.tar.xz"
|
||||
SRC_URI+=" ${DEPS_URI}"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
# Dependent crate licenses
|
||||
LICENSE+=" Apache-2.0 BSD ISC MIT Unicode-DFS-2016 ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
# disable tests which need a running display server
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="
|
||||
>=x11-base/xwayland-23.1
|
||||
x11-libs/libxcb
|
||||
x11-libs/xcb-util-cursor
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
$(llvm_gen_dep 'llvm-core/clang:${LLVM_SLOT}=')
|
||||
"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/${PN}"
|
||||
|
||||
DOCS=( README.md )
|
||||
|
||||
pkg_setup() {
|
||||
llvm-r1_pkg_setup
|
||||
rust_pkg_setup
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install
|
||||
einstalldocs
|
||||
newman "${PN}.man" "${PN}.1"
|
||||
}
|
||||
17
metadata/md5-cache/gui-apps/xwayland-satellite-0.8.1
Normal file
17
metadata/md5-cache/gui-apps/xwayland-satellite-0.8.1
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
BDEPEND=llvm_slot_17? ( llvm-core/clang:17= ) llvm_slot_18? ( llvm-core/clang:18= ) llvm_slot_19? ( llvm-core/clang:19= ) llvm_slot_20? ( llvm-core/clang:20= ) llvm_slot_21? ( llvm-core/clang:21= ) llvm_slot_22? ( llvm-core/clang:22= ) llvm_slot_17? ( || ( dev-lang/rust-bin:1.77.1[llvm_slot_17] dev-lang/rust:1.77.1[llvm_slot_17] dev-lang/rust-bin:1.76.0[llvm_slot_17] dev-lang/rust:1.76.0[llvm_slot_17] dev-lang/rust-bin:1.75.0[llvm_slot_17] dev-lang/rust:1.75.0[llvm_slot_17] dev-lang/rust-bin:1.74.1[llvm_slot_17] dev-lang/rust:1.74.1[llvm_slot_17] ) ) llvm_slot_18? ( || ( dev-lang/rust-bin:1.81.0[llvm_slot_18] dev-lang/rust:1.81.0[llvm_slot_18] dev-lang/rust-bin:1.80.1[llvm_slot_18] dev-lang/rust:1.80.1[llvm_slot_18] dev-lang/rust-bin:1.79.0[llvm_slot_18] dev-lang/rust:1.79.0[llvm_slot_18] dev-lang/rust-bin:1.78.0[llvm_slot_18] dev-lang/rust:1.78.0[llvm_slot_18] ) ) llvm_slot_19? ( || ( dev-lang/rust-bin:1.86.0[llvm_slot_19] dev-lang/rust:1.86.0[llvm_slot_19] dev-lang/rust-bin:1.85.1[llvm_slot_19] dev-lang/rust:1.85.1[llvm_slot_19] dev-lang/rust-bin:1.85.0[llvm_slot_19] dev-lang/rust:1.85.0[llvm_slot_19] dev-lang/rust-bin:1.84.1[llvm_slot_19] dev-lang/rust:1.84.1[llvm_slot_19] dev-lang/rust-bin:1.84.0[llvm_slot_19] dev-lang/rust:1.84.0[llvm_slot_19] dev-lang/rust-bin:1.83.0[llvm_slot_19] dev-lang/rust:1.83.0[llvm_slot_19] dev-lang/rust-bin:1.82.0[llvm_slot_19] dev-lang/rust:1.82.0[llvm_slot_19] ) ) llvm_slot_20? ( || ( dev-lang/rust-bin:1.90.0[llvm_slot_20] dev-lang/rust:1.90.0[llvm_slot_20] dev-lang/rust-bin:1.89.0[llvm_slot_20] dev-lang/rust:1.89.0[llvm_slot_20] dev-lang/rust-bin:1.88.0[llvm_slot_20] dev-lang/rust:1.88.0[llvm_slot_20] dev-lang/rust-bin:1.87.0[llvm_slot_20] dev-lang/rust:1.87.0[llvm_slot_20] ) ) llvm_slot_21? ( || ( dev-lang/rust-bin:1.94.1[llvm_slot_21] dev-lang/rust:1.94.1[llvm_slot_21] dev-lang/rust-bin:1.94.0[llvm_slot_21] dev-lang/rust:1.94.0[llvm_slot_21] dev-lang/rust-bin:1.93.1[llvm_slot_21] dev-lang/rust:1.93.1[llvm_slot_21] dev-lang/rust-bin:1.93.0[llvm_slot_21] dev-lang/rust:1.93.0[llvm_slot_21] dev-lang/rust-bin:1.92.0[llvm_slot_21] dev-lang/rust:1.92.0[llvm_slot_21] dev-lang/rust-bin:1.91.0[llvm_slot_21] dev-lang/rust:1.91.0[llvm_slot_21] ) ) llvm_slot_22? ( || ( dev-lang/rust-bin:9999[llvm_slot_22] dev-lang/rust:9999[llvm_slot_22] dev-lang/rust-bin:1.95.0[llvm_slot_22] dev-lang/rust:1.95.0[llvm_slot_22] ) )
|
||||
DEFINED_PHASES=compile configure install setup test unpack
|
||||
DEPEND=>=x11-base/xwayland-23.1 x11-libs/libxcb x11-libs/xcb-util-cursor
|
||||
DESCRIPTION=Xwayland outside your Wayland
|
||||
EAPI=8
|
||||
HOMEPAGE=https://github.com/Supreeeme/xwayland-satellite
|
||||
INHERIT=llvm-r1 cargo
|
||||
IUSE=+llvm_slot_21 llvm_slot_17 llvm_slot_18 llvm_slot_19 llvm_slot_20 llvm_slot_22 debug
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=MPL-2.0 Apache-2.0 BSD ISC MIT Unicode-DFS-2016 ZLIB
|
||||
RDEPEND=>=x11-base/xwayland-23.1 x11-libs/libxcb x11-libs/xcb-util-cursor
|
||||
REQUIRED_USE=^^ ( llvm_slot_17 llvm_slot_18 llvm_slot_19 llvm_slot_20 llvm_slot_21 llvm_slot_22 )
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/Supreeeme/xwayland-satellite/archive/refs/tags/v0.8.1.tar.gz -> xwayland-satellite-0.8.1.tar.gz https://github.com/gentoo-crate-dist/xwayland-satellite/releases/download/v0.8.1/xwayland-satellite-0.8.1-crates.tar.xz
|
||||
_eclasses_=llvm-utils e7edb4086e31c8537574b263d899f826 llvm-r1 77771a412c60b32ce3205d377edd7b83 toolchain-funcs 5195689ff6a73b0e789acfa09d4fbcb9 flag-o-matic fd3558f73f6503093adee69adf41020d multiprocessing 45d0620f25c2f063ad6276ecd9ed9399 rust c5ae4c9b5eca97bd7fc77fede663873f rust-toolchain 76468983281b0a7fc167ca224f84ecfd cargo 53bab5a62cfc3526d8ed02c0a38a6033
|
||||
_md5_=bf46882b4f72cbcb9173917f567c5f3a
|
||||
1
profiles/base/make.defaults
Normal file
1
profiles/base/make.defaults
Normal file
|
|
@ -0,0 +1 @@
|
|||
USE_EXPAND="${USE_EXPAND} INTEL_TARGETS"
|
||||
1
profiles/desc/intel_targets.desc
Normal file
1
profiles/desc/intel_targets.desc
Normal file
|
|
@ -0,0 +1 @@
|
|||
gfx-bmg - Build Intel XPU AOT code for Battlemage GPUs.
|
||||
Loading…
Add table
Add a link
Reference in a new issue