mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
Merge updates from master
This commit is contained in:
54
app-emulation/box64/box64-0.3.0-r1.ebuild
Normal file
54
app-emulation/box64/box64-0.3.0-r1.ebuild
Normal file
@@ -0,0 +1,54 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake toolchain-funcs optfeature
|
||||
|
||||
DESCRIPTION="Linux Userspace x86_64 Emulator with a twist"
|
||||
HOMEPAGE="https://box86.org"
|
||||
SRC_URI="https://github.com/ptitSeb/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~arm64 ~ppc64"
|
||||
IUSE="static"
|
||||
|
||||
pkg_setup() {
|
||||
if [[ $(tc-endian) == big ]]; then
|
||||
eerror "box86/box64 sadly does not support big endian systems."
|
||||
die "big endian not supported!"
|
||||
fi
|
||||
|
||||
if [[ ${CHOST} != *gnu* || ${CHOST} != *linux* ]]; then
|
||||
eerror "box86/64 requires a glibc and a linux system. Musl support is possible, upstream welcomes PRs!"
|
||||
die "Not a GNU+Linux system"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local -a mycmakeargs=(
|
||||
-DNOGIT=1
|
||||
-DARM_DYNAREC=0
|
||||
-DRV64_DYNAREC=0
|
||||
)
|
||||
|
||||
(use arm || use arm64) && mycmakeargs+=( -DARM64=1 -DARM_DYNAREC=1 )
|
||||
use riscv && mycmakeargs+=( -DRV64=1 -DRV64_DYNAREC=1 )
|
||||
use ppc64 && mycmakeargs+=( -DPPC64LE=1 )
|
||||
use loong && mycmakeargs+=( -DLARCH64=1 )
|
||||
use amd64 && mycmakeargs+=( -DLD80BITS=1 -DNOALIGN=1 )
|
||||
use static && mycmakeargs+=( -DSTATICBUILD=1 )
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
dostrip -x "usr/lib/x86_64-linux-gnu/*"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "OpenGL for GLES devices" \
|
||||
"media-libs/gl4es"
|
||||
}
|
||||
@@ -50,6 +50,7 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
dostrip -x "usr/lib/x86_64-linux-gnu/*"
|
||||
}
|
||||
|
||||
|
||||
2
gui-apps/swayr/Manifest
Normal file
2
gui-apps/swayr/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
DIST swayr-0.27.4.tar.gz 1019633 BLAKE2B b44e6906262b4a9da1c19df052fdf6836626cb975fefd6d431395e0b32f72e4764b22428e0518ddd65241fa62ea7afbb9200e5e0eae534dc63e4afc3f5678a46 SHA512 029e7cec885c375968c343f9395e97bdda60864aea1b6b8b9b08cbad8099c23733e3e97eba4c65fbbd234ba048e92efaa876e8735931d61d6db5bd2f2ce27c89
|
||||
DIST swayr-swayrbar-0.4.2-crates.tar.xz 19230052 BLAKE2B d3114dc6cd1288294eb42aa7edecbafa4195a19dcf0febaae96051ef85421eb359b4a16f5797e4d47159a294e7648a1d5227f8d43b126cdc84d8b8ed579009b1 SHA512 d2ea34da44713d0abd25bbc49a45cac1f4f4f4545afb765302e45fc7da3231b567a301c46b94439383a29c9a43c3dace5a8f20a62d2d72037c61202893337122
|
||||
12
gui-apps/swayr/metadata.xml
Normal file
12
gui-apps/swayr/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">
|
||||
<email>nicolas.parlant@parhuet.fr</email>
|
||||
<name>Nicolas PARLANT</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="sourcehut">~tsdh/swayr</remote-id>
|
||||
</upstream>
|
||||
|
||||
</pkgmetadata>
|
||||
40
gui-apps/swayr/swayr-0.27.4.ebuild
Normal file
40
gui-apps/swayr/swayr-0.27.4.ebuild
Normal file
@@ -0,0 +1,40 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES="
|
||||
"
|
||||
|
||||
inherit cargo systemd
|
||||
|
||||
# swayr is packaged with swayrbar and the archive is versioned from swayrbar.
|
||||
MY_PV="0.4.2"
|
||||
|
||||
DESCRIPTION="A LRU window-switcher (and more) for the sway window manager"
|
||||
HOMEPAGE="https://sr.ht/~tsdh/swayr/"
|
||||
SRC_URI="https://git.sr.ht/~tsdh/swayr/archive/swayrbar-${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" https://raw.githubusercontent.com/PPN-SD/vendor/refs/tags/swayr-swayrbar-${MY_PV}/swayr-swayrbar-${MY_PV}-crates.tar.xz"
|
||||
|
||||
S="${WORKDIR}/swayr-swayrbar-${MY_PV}/"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
# Dependent crate licenses, autogenerated by pycargoebuild
|
||||
LICENSE+=" Apache-2.0 BSD-2 MIT MPL-2.0 Unicode-DFS-2016"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
QA_FLAGS_IGNORED="
|
||||
/usr/bin/swayr
|
||||
/usr/bin/swayrd
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e '/^lto =/d' -e 's/^strip = "symbols"$/strip = false/g' Cargo.toml || die "failed to sed Cargo.toml"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install --path ${PN}
|
||||
systemd_newunit ${PN}/etc/swayrd.service swayrd.service
|
||||
}
|
||||
2
gui-apps/swayrbar/Manifest
Normal file
2
gui-apps/swayrbar/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
DIST swayr-swayrbar-0.4.2-crates.tar.xz 19230052 BLAKE2B d3114dc6cd1288294eb42aa7edecbafa4195a19dcf0febaae96051ef85421eb359b4a16f5797e4d47159a294e7648a1d5227f8d43b126cdc84d8b8ed579009b1 SHA512 d2ea34da44713d0abd25bbc49a45cac1f4f4f4545afb765302e45fc7da3231b567a301c46b94439383a29c9a43c3dace5a8f20a62d2d72037c61202893337122
|
||||
DIST swayrbar-0.4.2.tar.gz 1019633 BLAKE2B b44e6906262b4a9da1c19df052fdf6836626cb975fefd6d431395e0b32f72e4764b22428e0518ddd65241fa62ea7afbb9200e5e0eae534dc63e4afc3f5678a46 SHA512 029e7cec885c375968c343f9395e97bdda60864aea1b6b8b9b08cbad8099c23733e3e97eba4c65fbbd234ba048e92efaa876e8735931d61d6db5bd2f2ce27c89
|
||||
12
gui-apps/swayrbar/metadata.xml
Normal file
12
gui-apps/swayrbar/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">
|
||||
<email>nicolas.parlant@parhuet.fr</email>
|
||||
<name>Nicolas PARLANT</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="sourcehut">~tsdh/swayr</remote-id>
|
||||
</upstream>
|
||||
|
||||
</pkgmetadata>
|
||||
37
gui-apps/swayrbar/swayrbar-0.4.2.ebuild
Normal file
37
gui-apps/swayrbar/swayrbar-0.4.2.ebuild
Normal file
@@ -0,0 +1,37 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES="
|
||||
"
|
||||
|
||||
inherit cargo
|
||||
|
||||
DESCRIPTION="A swaybar-protocol implementation for sway/swaybar"
|
||||
HOMEPAGE="https://sr.ht/~tsdh/swayr/"
|
||||
SRC_URI="https://git.sr.ht/~tsdh/swayr/archive/${P}.tar.gz"
|
||||
SRC_URI+=" https://raw.githubusercontent.com/PPN-SD/vendor/refs/tags/swayr-${P}/swayr-${P}-crates.tar.xz"
|
||||
|
||||
S="${WORKDIR}/swayr-${P}/"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
# Dependent crate licenses, autogenerated by pycargoebuild
|
||||
LICENSE+=" Apache-2.0 BSD-2 MIT MPL-2.0 Unicode-DFS-2016"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
QA_FLAGS_IGNORED="/usr/bin/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e '/^lto =/d' -e 's/^strip = "symbols"$/strip = false/g' Cargo.toml || die "failed to sed Cargo.toml"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install --path ${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Verify the dependencies of every module you intend to use."
|
||||
}
|
||||
Reference in New Issue
Block a user