mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 19:43:24 -04:00
Merge updates from master
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
DIST known-folders-24845b0103e611c108d6bc334231c464e699742c.tar.gz 6618 BLAKE2B cdfe56329edcf50a07eea919b1a753ce965eeaa3c1d9e08289d74704809e489a7a674fb41c0fa16115a406512477cfa99953d434d44c52429c241df7e7bb4f1d SHA512 4ac156ad51793a733d8fd5a24936bd7b0bb8a527b9d19d9cb7d43c9ec7ac983f37dfc00fdfec23147964689201cdbee213e66b4af0917b0bb324b02e8a3a7151
|
||||
DIST tracy-f493d4aa8ba8141d9680473fad007d8a6348628e.tar.gz 5401470 BLAKE2B 8a027bfe82842d6d3caeddcf03499a3671a99f2210a40b434e9893a60da88775c19738230e8d55cb1de020fe9f0d7d414df76f36f4a55b04a0c41c8c0de8232b SHA512 e8a844ff015b4c7a261e3251be33deced4f4a29a8fc8254244c125b391266e7a38bdf8d988ff4aac10bd0ee5538fca1e274a0d91dcde08d0bd021006cb326e6f
|
||||
DIST zls-0.10.0.tar.gz 320226 BLAKE2B fc9c7c6e37d9347710520ddf0bc90b704ff6115210e044e68a973a2edefe024d14cf410ed0fe74400c1bed8b57f8316dc4298561f78de3abe112bc38df70404b SHA512 16a55ef0ecfac1bf43c4d917741db8389dc835cfdd9e78e9853180dad7218656c6a09b67b7185e7d87ccb2196a4deb457c3d476300eff01ce8c9bfab597576ad
|
||||
DIST zls-0.12.0-deps.tar.xz 20804 BLAKE2B 94a01028a56a4e5f692301435619c9132a70bd28b1ec78d381519108c6b6878fcf0d085080406b6855cdc68f5ac79b7e5eb0320747579b752cb2f2d79f89b89a SHA512 786dca28b56ffedf7a52cb2527f3fbc2b7e8207f6cec4667447ac30fa9237dca7e926fd3c6bb43d7868676e363a8a508775ef218a8050034bd1bc836ba64bf23
|
||||
DIST zls-0.12.0-version_data.tar.xz 16104 BLAKE2B 70a0a9933e3e9897537f048231117f1b151334af9d4d3ff5400f2b740e872f6c3df2b2e387a2f5c27bb5f20165e3632c90955b694de80e9cefc2d463f73d7647 SHA512 fda868da04daebd7b163e155049ed14af55373b09e546208100537b9827ff7a37ae3d02325cc06aa76db6f8e3fdf6ec26c9872f6c89bbe5c4a3a1aa230803000
|
||||
DIST zls-0.12.0.tar.gz 341927 BLAKE2B e347bb166f4b784dfaa154cac7459418a0fd6833823db843b3e83d351ff20d8fb0ce0e15c9d00d84c81d819710332bc95b7d59ee1a2c3930b2bfa12f65e250c1 SHA512 d27653ae57c89f5fea03ecaaefa4c273a6a3694db24a1ebdf735c7ef0ca145e2d61c8f19d18bd5434659ac8ed0f5f715e6d15e4252db87ad89ac9402f580a860
|
||||
|
||||
136
dev-zig/zls/zls-0.12.0.ebuild
Normal file
136
dev-zig/zls/zls-0.12.0.ebuild
Normal file
@@ -0,0 +1,136 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit edo
|
||||
|
||||
DESCRIPTION="The officially unofficial Ziglang language server"
|
||||
HOMEPAGE="https://github.com/zigtools/zls"
|
||||
|
||||
SRC_URI="
|
||||
https://github.com/zigtools/zls/archive/refs/tags/${PV}.tar.gz -> zls-${PV}.tar.gz
|
||||
https://codeberg.org/BratishkaErik/distfiles/releases/download/zls-${PV}/zls-${PV}-deps.tar.xz
|
||||
https://codeberg.org/BratishkaErik/distfiles/releases/download/zls-${PV}/zls-${PV}-version_data.tar.xz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
EZIG_MIN="0.12"
|
||||
EZIG_MAX_EXCLUSIVE="0.13"
|
||||
|
||||
DEPEND="|| ( dev-lang/zig:${EZIG_MIN} dev-lang/zig-bin:${EZIG_MIN} )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# see https://github.com/ziglang/zig/issues/3382
|
||||
# For now, Zig Build System doesn't support CFLAGS/LDFLAGS/etc.
|
||||
QA_FLAGS_IGNORED="usr/bin/zls"
|
||||
|
||||
# : copied from sys-fs/ncdu :
|
||||
# Many thanks to Florian Schmaus (Flowdalic)!
|
||||
# Adapted from https://github.com/gentoo/gentoo/pull/28986
|
||||
# Set the EZIG environment variable.
|
||||
zig-set_EZIG() {
|
||||
[[ -n ${EZIG} ]] && return
|
||||
|
||||
if [[ -n ${EZIG_OVERWRITE} ]]; then
|
||||
export EZIG="${EZIG_OVERWRITE}"
|
||||
return
|
||||
fi
|
||||
|
||||
local candidates candidate selected selected_ver
|
||||
|
||||
candidates=$(compgen -c zig-)
|
||||
|
||||
for candidate in ${candidates}; do
|
||||
if [[ ! ${candidate} =~ zig(-bin)?-([.0-9]+) ]]; then
|
||||
continue
|
||||
fi
|
||||
|
||||
local ver
|
||||
if (( ${#BASH_REMATCH[@]} == 3 )); then
|
||||
ver="${BASH_REMATCH[2]}"
|
||||
else
|
||||
ver="${BASH_REMATCH[1]}"
|
||||
fi
|
||||
|
||||
if [[ -n ${EZIG_EXACT_VER} ]]; then
|
||||
ver_test "${ver}" -ne "${EZIG_EXACT_VER}" && continue
|
||||
|
||||
selected="${candidate}"
|
||||
selected_ver="${ver}"
|
||||
break
|
||||
fi
|
||||
|
||||
if [[ -n ${EZIG_MIN} ]] \
|
||||
&& ver_test "${ver}" -lt "${EZIG_MIN}"; then
|
||||
# Candidate does not satisfy EZIG_MIN condition.
|
||||
continue
|
||||
fi
|
||||
|
||||
if [[ -n ${EZIG_MAX_EXCLUSIVE} ]] \
|
||||
&& ver_test "${ver}" -ge "${EZIG_MAX_EXCLUSIVE}"; then
|
||||
# Candidate does not satisfy EZIG_MAX_EXCLUSIVE condition.
|
||||
continue
|
||||
fi
|
||||
|
||||
if [[ -n ${selected_ver} ]] \
|
||||
&& ver_test "${selected_ver}" -gt "${ver}"; then
|
||||
# Candidate is older than the currently selected candidate.
|
||||
continue
|
||||
fi
|
||||
|
||||
selected="${candidate}"
|
||||
selected_ver="${ver}"
|
||||
done
|
||||
|
||||
if [[ -z ${selected} ]]; then
|
||||
die "Could not find (suitable) zig installation in PATH"
|
||||
fi
|
||||
|
||||
export EZIG="${selected}"
|
||||
export EZIG_VER="${ver}"
|
||||
}
|
||||
|
||||
# Invoke zig with the optionally provided arguments.
|
||||
ezig() {
|
||||
zig-set_EZIG
|
||||
|
||||
# Unfortunately, we cannot add more args here, since syntax is different
|
||||
# for every subcommands. Yes, even target/cpu :( f.i. :
|
||||
# -target/-mcpu for zig build-exe vs -Dtarget/-Dcpu for zig build-
|
||||
# -OReleaseSafe for zig build-exe vs -DReleaseSafe for zig build
|
||||
# (or even none, if hardcoded by upstream so choice is -Drelease=true/false)
|
||||
# Ofc we can patch this, but still...
|
||||
|
||||
edo "${EZIG}" "${@}"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export ZBS_ARGS=(
|
||||
--prefix usr/
|
||||
-Doptimize=ReleaseSafe
|
||||
--system "${WORKDIR}/zig-eclass/p/"
|
||||
-Dversion_data_file_path=version_data.zig
|
||||
--verbose
|
||||
)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
ezig build "${ZBS_ARGS[@]}" || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ezig build test "${ZBS_ARGS[@]}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="${ED}" ezig build install "${ZBS_ARGS[@]}" || die
|
||||
dodoc README.md
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "You can find more information about options here: https://github.com/zigtools/zls/wiki/Configuration"
|
||||
}
|
||||
@@ -125,5 +125,5 @@ src_install() {
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "You can find more information about options here https://github.com/zigtools/zls#configuration-options"
|
||||
elog "You can find more information about options here: https://github.com/zigtools/zls/wiki/Configuration"
|
||||
}
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
DIST dosbox-x-v2024.03.01.tar.gz 119593920 BLAKE2B 42c994247e55c1b2d67ed9e1bf90e99ddf9a08476b18ab802757becc0ee6959231d3665e39cfaef02a6b1c234e3faff10597d396d8d30ce01d8123b5107327bc SHA512 0eb835da3fdfd7f1c6160aa1a32a7eff7c38f46184f7cee088e0fb8edf09327f058fd45e7995955a7f335c704ddd69c1627731899a01687563990bb06f4d9cd1
|
||||
DIST dosbox-x-v2024.07.01.tar.gz 119702042 BLAKE2B 1c046a54b5a94deef6413592c48be08542c6d9c6d5b437880a354eb9df137fafb5da57d5f99e4bdcd83eea99a7a3550117c8ed66adcbca38aea484b116321068 SHA512 e6a0478be160b115ab09ffe13d7574d604fc7778105171da3591bd4239903cb5766118e0b05d158a89344bbbd1383885aa4fd724dce4601595438634724b2f24
|
||||
|
||||
@@ -1,215 +0,0 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools toolchain-funcs xdg
|
||||
|
||||
if [[ "${PV}" == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/joncampbell123/dosbox-x.git"
|
||||
else
|
||||
SRC_URI="https://github.com/joncampbell123/dosbox-x/archive/dosbox-x-v${PV}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${PN}-v${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Complete, accurate DOS emulator forked from DOSBox"
|
||||
HOMEPAGE="https://dosbox-x.com/"
|
||||
|
||||
# Stay consistent with games-emulation/dosbox::gentoo even though source file
|
||||
# headers specify the GPL version to be "either version 2 of the License, or
|
||||
# (at your option) any later version." The same header is used in both the
|
||||
# DOSBox source tree and the DOSBox-X source tree.
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="X debug ffmpeg fluidsynth opengl png slirp truetype"
|
||||
# Unit tests are only available in debug builds
|
||||
RESTRICT="!debug? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
dev-lang/nasm
|
||||
sys-libs/libcap
|
||||
"
|
||||
|
||||
# Unconditionally pulling in automagically-enabled optional dependencies:
|
||||
# - media-libs/alsa-lib
|
||||
# - media-libs/sdl2-net
|
||||
# - net-libs/libpcap
|
||||
#
|
||||
# With media-libs/libsdl2[-X,wayland], this package does work on a Wayland
|
||||
# desktop, but (at least on GNOME) the program does not launch in a movable
|
||||
# and resizable window; whereas with media-libs/libsdl2[X], it does. Thus,
|
||||
# unconditionally require media-libs/libsdl2[X] for better user experience.
|
||||
#
|
||||
# DOSBox-X works with multiple audio backends of SDL 2 but requires at least
|
||||
# one available backend (https://bugs.gentoo.org/901303). Unconditionally
|
||||
# depending on media-libs/libsdl2[alsa] to satisfy this requirement since
|
||||
# this ebuild already unconditionally pulls in media-libs/alsa-lib.
|
||||
COMMON_DEPEND="
|
||||
media-libs/alsa-lib
|
||||
media-libs/libsdl2[X,alsa,opengl?,sound,threads,video]
|
||||
media-libs/sdl2-net
|
||||
net-libs/libpcap
|
||||
sys-libs/zlib
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libxkbfile
|
||||
)
|
||||
debug? ( sys-libs/ncurses:= )
|
||||
ffmpeg? ( media-video/ffmpeg:= )
|
||||
fluidsynth? ( media-sound/fluidsynth:= )
|
||||
opengl? ( media-libs/libglvnd[X] )
|
||||
png? ( media-libs/libpng:= )
|
||||
slirp? ( net-libs/libslirp )
|
||||
truetype? ( media-libs/freetype )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
"
|
||||
|
||||
# DOSBox-X can still run normally without any of these dependencies --
|
||||
# it just cannot show a file dialog. However, upon the initial launch,
|
||||
# DOSBox-X will try to show a file dialog to let the user choose the
|
||||
# working directory; without one of these dependencies, the user would
|
||||
# see nothing when they launch DOSBox-X for the first time.
|
||||
FILE_DIALOG_DEPEND="
|
||||
|| (
|
||||
gnome-extra/zenity
|
||||
kde-apps/kdialog
|
||||
x11-misc/xdialog
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
${FILE_DIALOG_DEPEND}
|
||||
"
|
||||
|
||||
pkg_pretend() {
|
||||
if use ffmpeg && use !png; then
|
||||
ewarn "Setting the 'ffmpeg' USE flag when the 'png' USE flag is"
|
||||
ewarn "unset does not have any effect. Unsetting the 'png' USE"
|
||||
ewarn "flag disables the video capture feature, so additional"
|
||||
ewarn "video capture formats enabled by the 'ffmpeg' USE flag"
|
||||
ewarn "will end up being unused."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# https://bugs.gentoo.org/887669
|
||||
# Mask lines touching '-O*', and avoid creating an empty command
|
||||
# list as a result to not break 'if', 'for', or functions
|
||||
sed -i -E -e 's/((C|CXX)FLAGS=.*-O)/: \1/' configure.ac ||
|
||||
die "Failed to stop configure.ac from touching '-O*' compiler flags"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
# Always use SDL 2, even though the package provides the option to
|
||||
# build with SDL 1.x, because this package is expected to be built
|
||||
# with the bundled, heavily-modified version of SDL 1.x if that
|
||||
# branch is used. Compiler errors are likely to occur if the
|
||||
# bundled version of SDL 1.x is not used. Bundled dependencies
|
||||
# should be avoided on Gentoo, so SDL 2 is more preferable.
|
||||
--enable-sdl2
|
||||
|
||||
# Explicitly enable ALSA MIDI support, same as default. As of
|
||||
# v2022.08.0, even when it is disabled, media-libs/alsa-lib will
|
||||
# still be automagically linked if it is present in the build
|
||||
# environment (presumably for other components of this package),
|
||||
# so the dependency cannot be made optional by disabling this
|
||||
# option. Plus, disabling this option has no observable effect
|
||||
# on build time, build size, or the program's functionality, as
|
||||
# 'mididevice=alsa' still works with '--disable-alsa-midi'.
|
||||
--enable-alsa-midi
|
||||
|
||||
$(use_enable debug '' heavy)
|
||||
|
||||
$(use_enable X x11)
|
||||
$(use_enable ffmpeg avcodec)
|
||||
$(use_enable fluidsynth libfluidsynth)
|
||||
$(use_enable opengl)
|
||||
$(use_enable png screenshots)
|
||||
$(use_enable slirp libslirp)
|
||||
$(use_enable truetype freetype)
|
||||
)
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# https://bugs.gentoo.org/856352
|
||||
emake AR="$(tc-getAR)"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
set -- src/dosbox-x -tests
|
||||
echo "${@}" >&2
|
||||
"${@}" || die "Unit tests failed"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
xdg_pkg_preinst
|
||||
|
||||
# Returns whether or not the USE flag specified with the first positional
|
||||
# argument is newly enabled for this installation of the package.
|
||||
newuse() {
|
||||
local flag="${1}"
|
||||
|
||||
# The 'has_version' call tests if any USE flags are newly enabled.
|
||||
# It is to extract information about any existing copy of this
|
||||
# package installed on the system, which is why it should be made
|
||||
# before the new copy of this package just built is merged.
|
||||
use "${flag}" && ! has_version "${CATEGORY}/${PN}[${flag}]"
|
||||
}
|
||||
|
||||
newuse debug && PRINT_NOTES_FOR_DEBUGGER=1
|
||||
newuse fluidsynth && PRINT_NOTES_FOR_FLUIDSYNTH=1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
|
||||
if [[ "${PRINT_NOTES_FOR_DEBUGGER}" ]]; then
|
||||
elog
|
||||
elog "Note on the Debugger"
|
||||
elog
|
||||
elog "The debugger can only be started when DOSBox-X is launched"
|
||||
elog "from a terminal. Otherwise, the \"Start DOSBox-X Debugger\""
|
||||
elog "option in the \"Debug\" drop-down menu would be unavailable."
|
||||
elog
|
||||
elog "For more information about the debugger, please consult:"
|
||||
elog " ${EPREFIX}/usr/share/doc/${PF}/README.debugger*"
|
||||
fi
|
||||
|
||||
if [[ "${PRINT_NOTES_FOR_FLUIDSYNTH}" ]]; then
|
||||
elog
|
||||
elog "Note on FluidSynth"
|
||||
elog
|
||||
elog "To use FluidSynth as the MIDI device for DOSBox-X, a soundfont"
|
||||
elog "is required. If no existing soundfont is available, a new one"
|
||||
elog "can be installed and configured for DOSBox-X very easily:"
|
||||
elog
|
||||
elog "1. Install the following package:"
|
||||
elog " media-sound/fluid-soundfont"
|
||||
elog "2. Add the following lines to DOSBox-X's configuration file:"
|
||||
elog " [midi]"
|
||||
elog " mididevice=fluidsynth"
|
||||
elog
|
||||
elog "Usually, there is no need to explicitly specify the soundfont"
|
||||
elog "file's path because the package mentioned in step 1 installs"
|
||||
elog "soundfont files to a standard location, allowing them to be"
|
||||
elog "detected and selected automatically."
|
||||
elog
|
||||
elog "For advanced FluidSynth configuration, please consult:"
|
||||
elog " https://dosbox-x.com/wiki/Guide%3ASetting-up-MIDI-in-DOSBox%E2%80%90X#_fluidsynth"
|
||||
fi
|
||||
}
|
||||
@@ -1,2 +1,4 @@
|
||||
DIST supersonic-0.12.0-vendor.tar.xz 8597980 BLAKE2B 63d4ab29ef686972a91f777e3e116862f2aeae6ad54600255124aa67d18b1f589e530f55b569ae9271976fc2ffac1758fba713be9f2ec0dd08e619ec953cb9a6 SHA512 c72a5040f59da8d5f4d070864f3aaa9281c97a65823fe05e55a50b5496d0292f33637f794f4f711efd6058194aff6128b0dd4a3f4b9128ca2d616703d1aa99d1
|
||||
DIST supersonic-0.12.0.tar.gz 63643996 BLAKE2B 91782c2fd7921eeefa0c6e4c0db008ad3db43cfeed00e53adb4eda92491ec98c0f52fab0cd8dc05c6396f6503d1902aea9c9dbd657d215e536dc395998e0a523 SHA512 4da62497c8878ea939139a0752426ba6a2443137f46bebab16241dc67e222661614985841442234a38bf17270e62d1b8326598893b68a6359be02078737cd3e4
|
||||
DIST supersonic-0.13.0-vendor.tar.xz 8727176 BLAKE2B 34be3feedb7ea5df286b95f260ec9832d49ce5a1c46b747dcea2340ae44b5a4b77ea1815f78953bd3d8b6577fe4323db6bf9e4dbf6d3b76facdcdb72f34fc6f1 SHA512 3a357ed40b69286380a7d550d6e3fc016e194df57ba1f0e02dd8794bc4c0f7311315599f2c79d20d2e5f1f75ca29990b81a49f79febdf3f00e49b305daf27316
|
||||
DIST supersonic-0.13.0.tar.gz 63671925 BLAKE2B 4f8a68f90723db2da3c2a6f16c796b46453b7ad767b0294109c0a92e1630de8a406e7993510e5817893aac1548f7ef8188b57dd73cd343c16524d113f7e96e26 SHA512 6cbc2d1f49c977633d3db94896b400a510090c7f8cec7e45b227ed2c9e4e202568182cb63e57755aa2b1c09adf136cbbd5a00d75c583a3c29f2bdf58c5fd2e8c
|
||||
|
||||
38
media-sound/supersonic/supersonic-0.13.0.ebuild
Normal file
38
media-sound/supersonic/supersonic-0.13.0.ebuild
Normal file
@@ -0,0 +1,38 @@
|
||||
# Copyright 2023-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop go-module xdg
|
||||
|
||||
DESCRIPTION="A lightweight and full-featured cross-platform desktop client"
|
||||
HOMEPAGE="https://github.com/dweymouth/supersonic"
|
||||
SRC_URI="https://github.com/dweymouth/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" https://gentoo.kropotkin.rocks/go-pkgs/${P}-vendor.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="
|
||||
media-video/mpv[libmpv]
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXi
|
||||
x11-libs/libXinerama
|
||||
"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
ego build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin supersonic
|
||||
sed -i 's/supersonic-desktop/supersonic/g' "res/${PN}-desktop.desktop" || die
|
||||
domenu "res/${PN}-desktop.desktop"
|
||||
local x
|
||||
for x in 128 256 512; do
|
||||
newicon -s ${x} res/appicon-${x}.png supersonic.png
|
||||
done
|
||||
}
|
||||
@@ -1,17 +1,10 @@
|
||||
DIST chatterino-2.4.6.tar.gz 1899260 BLAKE2B 8527ccf49dec7e1b4c5e7551f8d4d07e309db0744fe736cf033e2b9bcef614f4cae7066f6a5b1b8eca83f2e0bdf4c9847035a3ffc1fbfde14442aa7e35d3d47f SHA512 6bd42cd88e144ca29cf85e1ad86dc06843140fe3841e4304fdb8e3d6ecb5e70739d88e190cca05e4608966c9b5817ff176c34d430d29a024368fbcd7889392b6
|
||||
DIST chatterino-2.5.1.tar.gz 2054772 BLAKE2B d7b4f29bbec67403787d2ca7c3870fcab59f9f7ca1ce0daa08bcb12df774c2990f8146793589026f2e6e0fb982e1939cafcbbca66ed42113a0cc562e5cdd8c00 SHA512 29595bbbd161783deeb6159188f9271565a86907158178dbfd5ba576c1896dac708e65785d671673fb071fc00047e918a3b7066f57ee2b370d6b21ef4c106f2e
|
||||
DIST libcommuni-030710a.tar.gz 477847 BLAKE2B 5da62609ee0551f8aa722fa6da5427297dc960de87733a88d54dc75e9db061664bfa42955b1cb30bb27ebb1668138c80bd6e8f1f932ecec096dd1ffb026557b8 SHA512 4a056c6c69b5a6b1f29118034f7769de68f06c99549714272f515182e118bb744ba43956795ec42f1b283c89c30db53b19ac27988c31d185132ce71741e3b062
|
||||
DIST magic_enum-e1a68e9.tar.gz 172016 BLAKE2B 08742840e395c125e8ab06039dfe6d0a98085660ae6c8aa560be4d48672d8123f0219dfddda3000236100331b051d06b0570ee30ee671b90dd96678f5f701161 SHA512 76a88937e713d0560f915d6ea68b03bdca0acb81d5644b02e25fd0ed3427cddcad93634d095c9b002d0f97589c5bd1b26cc9a56ca9ccf9f6d1b3d46866b8c110
|
||||
DIST magic_enum-e55b9b5.tar.gz 198416 BLAKE2B a0cfc5aa1c45f69664d69c809d3c561a52641f9764f6e9d558a03ef1581f244b9ecf069d366bb9889db9fa3591fe2698cce2d5a3151d2217cd8c21497cf5391f SHA512 466ba8e6e9122e55fb49b1a842b3f88ddc5faa5ea096df445dec1feba0c9db09748e735874b7839bf5f822f39480fa556a6bfaac0855c065df23b00ce45c5b3d
|
||||
DIST miniaudio-3898fff.tar.gz 1454527 BLAKE2B b891ad87adbdf330db9c29a9ae522651c8c2047e2726f921a6de3d6c06a2fb9ccdd572687f4f725dcb0f3cab888584688ae2a55c23e3e6375d834e693d6f7b7c SHA512 c1d6c5c846e648b975dae34eea437ba4b4b999f6ba64298171853abcdc2649b29fb55789dd8332835e9f5089274ebe6c7c6f12f42f146e60cb56b6a24960c652
|
||||
DIST miniaudio-4a5b74b.tar.gz 1469710 BLAKE2B 17d8d94cb0ae7aa4308f7cade6f0c0732be80645b8b92d16ae44cc5de5c4181b29ce084b8ff85f7f02f33259f53e6d02164ddc8b6e2384a6c7eb12d194a090d7 SHA512 d9328238e738280fccc34ae0d6d6ac68a171a30aef53defd5d74b6991b1c8dd63d0d433ede52d50f191984cefdabf414913b3f458d39a4fe16e0ade4beefaf7a
|
||||
DIST rapidjson-d87b698.tar.gz 1057391 BLAKE2B 37364a1e1ac33ed3b4751dd8826d9f0af237d2402c686937e185ea32819ea2e3c03bff3846ccccb3472ae4d9bf310cf5fdd7162f7daa53b12efeb49cdcd323ab SHA512 1770668c954e1bfa40da3956ccf2252703d2addb058bb8c0bf579abac585262452d0e15dcfed9ac2fa358c0da305d706226fdab8310b584017aba98e4f31db4f
|
||||
DIST sanitizers-cmake-3f0542e.tar.gz 7451 BLAKE2B 2ca72e3ecda02d4f0eed05be0954af02706425e94626d5a4b9d897968e35c341413171e2388ece7e83dad9eb7b5e2c2f73811ea8db8fa33b0bce6d5dd53550b7 SHA512 10cd4eeb3bbb7bf5c6f5cf8b5bc6a531b1ec8bdc147583d8de028a3e4b8b9d0e258aad81f02135267ce8f7d87b30999dedd25b44c0754b5c31e00d8481cd412f
|
||||
DIST sanitizers-cmake-c3dc841.tar.gz 7433 BLAKE2B 4a49004309460a62a26ece8f1964106a0fd1d3790274f38d94c2b3a05fbb6ca32e2f6864bb5b93a4607d0e7b2e980b3952378adddd852ecfa79287899624443b SHA512 ef8704d1b47fb3b36f8101f0f0df40b6c4235ea657edeedce4d641e5fe68503639af457e21aa75e5eaa559aea440edf5dd63a643fd09551ba503c5324cc9b569
|
||||
DIST serialize-17946d6.tar.gz 10771 BLAKE2B 496e2d8b742d26739e5f7dd534b29bf5f9a942ff25bf8952e936e7d0fbd737683ac825341b8986e58452774d77be147ecb3da8eab829525267fff3ec1d35eeb0 SHA512 2ea660b6f164b8ba5b419e8381272dca507fcab09434421915a9b4be5e95cba08e72e708f16b3b22f5e0cae6dab2ef332d0a7976c287f048710e328d9a8913be
|
||||
DIST serialize-bbf0a34.tar.gz 10279 BLAKE2B c814cdcdac5143cdf7b8bc3d64f28b5c7f10cd809e5115f7b07f7c3ab413930dc57bb29c6af51c7c362a487d0a69fa74c7025e16621d80a011c71218d2219bd5 SHA512 8c1b44c6fbfa1c30f25cef842e36486d1e9e0a50ce13f82e76e6539f64f44db993a51091d7e9c34c3a0f7530097ef76b34079bff06ad74b6bd691593f7de5e50
|
||||
DIST settings-70fbc72.tar.gz 43407 BLAKE2B 65a5dbb8722788c7b3f7a7312b145405c61f95d1f79ba7d433a01fe4a54f15fe12ecb347944ad5ce28fb0777bc57153c52f0a31bf0c4f3c9b6d92c56192a6124 SHA512 811dabaf1c90f1a614c1df8b7dbe791a16e658cbe36dc56b108006ee0a14d8b4ca58752e5e2fe088fe0a8b59966a93c9de5d5c0a172ee1556ba01326e6a6f4fc
|
||||
DIST settings-f168c09.tar.gz 35679 BLAKE2B f6fae9c67d845eee736c7589bb7c9b644b17b8e4dc23a0372e3e220ec92db102443dd94d65b19e01986c2316b20fa37329d9dab547c2b85368e298f4dd511d0f SHA512 8538255dffe41133ddd92ef780313b8ce91aa237f0061c100139a63354551d2800845ab5806b4e93f34178ad45e08f1126b3f5404b5eca78ef87856bb4de1e4c
|
||||
DIST signals-6561aa5.tar.gz 14645 BLAKE2B 35302a32756dc9c007a980689e52fb3a59204e59f147012f700073b5bea01f820d8983ce45273eb987d271676e8c8d64430d296e789c332afcb3c190d0c7a54a SHA512 a332f947a3d669843ed9d4b3a9d9f7d071e9702c74b8fe80f0081941c26e2bfdbb8d9a273530f744930e22138eed4f811206e2f6bb6d3e8460ccd276bc5e03bc
|
||||
DIST signals-d067706.tar.gz 14543 BLAKE2B 973979e0470582d3bf54689beb5e2071dd130d21121ff2e80cfeb63221f78c28d7dda9177848e2dd8366c44f734d892d1aaab22238a383517109b9d4f2ce58aa SHA512 5489151f2d036dc8834346f902cf740e1b1b6823d385d2bc7c5d715af6911ade9ee383c591c48bdb8bdfca70890f48e8333ee39c6319d3871239f99d34a51cc9
|
||||
DIST websocketpp-b9aeec6.tar.gz 716277 BLAKE2B 4e43e5a1c49215d5cdbe64a526dcfd31637c0b463a74b7b49857fdcd0a2e1e7ca3060b1ff3043df6ae1f2445d55e14cc3a5ef40b11392c74e5e3e1ae37c23817 SHA512 5449a10086c1b80d0d2865bac90539f64613156050816e97a2da1a2bc1f6710ac72305747e839a13e49b2ce1b25610480c110743aef60d7d148f2c39339289c4
|
||||
|
||||
@@ -1,80 +0,0 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake optfeature xdg-utils
|
||||
|
||||
DESCRIPTION="Chat client for https://twitch.tv"
|
||||
HOMEPAGE="https://chatterino.com/"
|
||||
SRC_URI="
|
||||
https://github.com/Chatterino/chatterino2/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/Chatterino/libcommuni/archive/030710a.tar.gz -> libcommuni-030710a.tar.gz
|
||||
https://github.com/Neargye/magic_enum/archive/e1a68e9.tar.gz -> magic_enum-e1a68e9.tar.gz
|
||||
https://github.com/mackron/miniaudio/archive/3898fff.tar.gz -> miniaudio-3898fff.tar.gz
|
||||
https://github.com/Tencent/rapidjson/archive/d87b698.tar.gz -> rapidjson-d87b698.tar.gz
|
||||
https://github.com/pajlada/serialize/archive/bbf0a34.tar.gz -> serialize-bbf0a34.tar.gz
|
||||
https://github.com/pajlada/settings/archive/f168c09.tar.gz -> settings-f168c09.tar.gz
|
||||
https://github.com/pajlada/signals/archive/6561aa5.tar.gz -> signals-6561aa5.tar.gz
|
||||
https://github.com/zaphoyd/websocketpp/archive/b9aeec6.tar.gz -> websocketpp-b9aeec6.tar.gz
|
||||
https://github.com/arsenm/sanitizers-cmake/archive/c3dc841.tar.gz -> sanitizers-cmake-c3dc841.tar.gz
|
||||
"
|
||||
|
||||
S=${WORKDIR}/chatterino2-${PV}
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/openssl:=
|
||||
dev-libs/qtkeychain:=
|
||||
dev-qt/qtconcurrent:5
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtdbus:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtmultimedia:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qtwidgets:5
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-libs/boost
|
||||
"
|
||||
BDEPEND="dev-qt/linguist-tools:5"
|
||||
|
||||
src_prepare() {
|
||||
rmdir --ignore-fail-on-non-empty ./lib/*/ ./cmake/*/ || die
|
||||
ln -sr ../libcommuni-* ./lib/libcommuni || die
|
||||
ln -sr ../magic_enum-* ./lib/magic_enum || die
|
||||
ln -sr ../miniaudio-* ./lib/miniaudio || die
|
||||
ln -sr ../rapidjson-* ./lib/rapidjson || die
|
||||
ln -sr ../serialize-* ./lib/serialize || die
|
||||
ln -sr ../settings-* ./lib/settings || die
|
||||
ln -sr ../signals-* ./lib/signals || die
|
||||
ln -sr ../websocketpp-* ./lib/websocketpp || die
|
||||
ln -sr ../sanitizers-cmake-* ./cmake/sanitizers-cmake || die
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DUSE_SYSTEM_QTKEYCHAIN=ON
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
mv "${D}"/usr/share/icons/hicolor/256x256/apps/{com.chatterino.,}chatterino.png || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
optfeature "for opening streams in a local video player" net-misc/streamlink
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
@@ -20,7 +20,7 @@ SRC_URI="
|
||||
https://github.com/arsenm/sanitizers-cmake/archive/3f0542e.tar.gz -> sanitizers-cmake-3f0542e.tar.gz
|
||||
"
|
||||
|
||||
S=${WORKDIR}/chatterino2-${PV}
|
||||
S="${WORKDIR}/chatterino2-${PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
@@ -45,16 +45,17 @@ DEPEND="
|
||||
BDEPEND="dev-qt/linguist-tools:5"
|
||||
|
||||
src_prepare() {
|
||||
rmdir --ignore-fail-on-non-empty ./lib/*/ ./cmake/*/ || die
|
||||
ln -sr ../libcommuni-* ./lib/libcommuni || die
|
||||
ln -sr ../magic_enum-* ./lib/magic_enum || die
|
||||
ln -sr ../miniaudio-* ./lib/miniaudio || die
|
||||
ln -sr ../rapidjson-* ./lib/rapidjson || die
|
||||
ln -sr ../serialize-* ./lib/serialize || die
|
||||
ln -sr ../settings-* ./lib/settings || die
|
||||
ln -sr ../signals-* ./lib/signals || die
|
||||
ln -sr ../websocketpp-* ./lib/websocketpp || die
|
||||
ln -sr ../sanitizers-cmake-* ./cmake/sanitizers-cmake || die
|
||||
rmdir --ignore-fail-on-non-empty ./lib/*/ ./cmake/*/ || die "can't remove stubbed libdirs"
|
||||
|
||||
local libname
|
||||
for libname in libcommuni magic_enum miniaudio rapidjson serialize settings signals websocketpp; do
|
||||
ln -sr ../${libname}-* ./lib/${libname} || die "failed to create symlink for ${libname}"
|
||||
done
|
||||
ln -sr ../sanitizers-cmake-* ./cmake/sanitizers-cmake || die "failed to create symlink for sanitizers-cmake"
|
||||
|
||||
# bug 936966
|
||||
sed 's/-Werror[^[:space:])"]*//' -i --follow-symlinks \
|
||||
{src,lib/{magic_enum/test,rapidjson,serialize,settings,websocketpp}}/CMakeLists.txt || die
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
DIST discord-ptb-0.0.29.deb 77105454 BLAKE2B 191e70c5abb8284220bbc61c312b5feba63bda5833498627abe4829798d2647252933a17b4840f32432fdef5cbd8c494a0789d2620a0853ff6d7ba8fcb78eb02 SHA512 2bfd70927f5b622043abd1e47af0c86c6b5f6adcdfd8b2170a3c47bb5a9904e84d76dd08ddbb5c8da29f0a79a774c3a2106a1d33991cd5acaf7b454e476e5a0c
|
||||
DIST discord-ptb-0.0.97.deb 103058320 BLAKE2B 5c99f18f54c6eff755d427c15aca3000829a4580c8178d1ce786cd98d1beabed9a28cc6c04940ec8e46e865f78daa436212b7335b3d93811c6a9d3e50086426f SHA512 a8b11e5f4f1f5b14c4cf67b352d3f80ac56289f2f7259c6b5a2177b74e5f14dff6d38b1368e8c1e99ecc86962ba870b1156ea3b9eb23731c1da05dd0ea1c2a73
|
||||
|
||||
89
net-im/discord-ptb-bin/discord-ptb-bin-0.0.97.ebuild
Normal file
89
net-im/discord-ptb-bin/discord-ptb-bin-0.0.97.ebuild
Normal file
@@ -0,0 +1,89 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN=${PN/-bin/}
|
||||
MY_BIN="D${MY_PN/d/}"
|
||||
MY_BIN="${MY_BIN/-ptb/}PTB"
|
||||
|
||||
inherit desktop linux-info pax-utils unpacker xdg
|
||||
|
||||
DESCRIPTION="All-in-one voice and text chat"
|
||||
HOMEPAGE="https://discordapp.com/"
|
||||
SRC_URI="https://dl-ptb.discordapp.net/apps/linux/${PV}/${MY_PN}-${PV}.deb"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="all-rights-reserved"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
RESTRICT="mirror bindist"
|
||||
|
||||
# libXScrnSaver is used through dlopen (bug #825370)
|
||||
RDEPEND="
|
||||
app-accessibility/at-spi2-atk:2
|
||||
app-accessibility/at-spi2-core:2
|
||||
dev-libs/atk
|
||||
dev-libs/expat
|
||||
dev-libs/glib:2
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
media-libs/alsa-lib
|
||||
media-libs/mesa[gbm(+)]
|
||||
net-print/cups
|
||||
sys-apps/dbus
|
||||
sys-libs/glibc
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libdrm
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libxshmfence
|
||||
x11-libs/pango
|
||||
"
|
||||
|
||||
QA_PREBUILT="
|
||||
opt/discord-ptb/${MY_BIN}
|
||||
opt/discord-ptb/chrome-sandbox
|
||||
opt/discord-ptb/chrome_crashpad_handler
|
||||
opt/discord-ptb/libffmpeg.so
|
||||
opt/discord-ptb/libvk_swiftshader.so
|
||||
opt/discord-ptb/libvulkan.so.1
|
||||
opt/discord-ptb/libEGL.so
|
||||
opt/discord-ptb/libGLESv2.so
|
||||
opt/discord-ptb/libVkICD_mock_icd.so
|
||||
opt/discord-ptb/swiftshader/libEGL.so
|
||||
opt/discord-ptb/swiftshader/libGLESv2.so
|
||||
opt/discord-ptb/swiftshader/libvk_swiftshader.so
|
||||
"
|
||||
|
||||
CONFIG_CHECK="~USER_NS"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i \
|
||||
-e "s:/usr/share/${MY_PN}/${MY_BIN}:/opt/${MY_PN}/${MY_BIN}:g" \
|
||||
usr/share/${MY_PN}/${MY_PN}.desktop || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newicon usr/share/${MY_PN}/${MY_PN//-ptb}.png ${MY_PN}.png
|
||||
domenu usr/share/${MY_PN}/${MY_PN}.desktop
|
||||
|
||||
insinto /opt/${MY_PN}
|
||||
doins -r usr/share/${MY_PN}/.
|
||||
fperms +x /opt/${MY_PN}/${MY_BIN}
|
||||
dosym ../../opt/${MY_PN}/${MY_BIN} usr/bin/${MY_PN}
|
||||
|
||||
pax-mark -m "${ED}"/opt/${MY_PN}/${MY_PN}
|
||||
}
|
||||
@@ -1,2 +1,4 @@
|
||||
DIST yggdrasil-go-0.5.5-vendor.tar.xz 1443888 BLAKE2B 712bcb42a38b10c950ac8c6ce9301dbbaf4a77026bcc2c6d78321c7423ef3dc0fcba5bf94c0cd674af3e911eda476ae8c7d7bb7c782328c5201e91efe2958d1d SHA512 10be1cd6dd5b4fb11b70c48e9cdeb26f4534424dbb0dcd93d0a3d8de3b63d0849dcc55b3394ba3ab74c19e15592d26c2be7e9f4e89a8dccb6c17da572907b5ba
|
||||
DIST yggdrasil-go-0.5.5.tar.gz 105482 BLAKE2B 7afbde70e2aec71f47ba32730611d22b87fa23ff4d488a33ca82124cb4ec211c654e780b3c8c703100eb065c05c54561ca36136765050c96e297f30a5656bc61 SHA512 13ee5c719335d7a599019d004cd8d82883c7a2beb707de968a0934982364a0f70982f14157bd9aaabda9595f194594901a9158cfeb272491a71b5392abd79dc4
|
||||
DIST yggdrasil-go-0.5.6-vendor.tar.xz 1434944 BLAKE2B 7abeea0b8a50ec2d2a9dd99842e50912d0e9d4f327dbf5c66c69d2848d219264bef068183e5e80e400f3b187d733cbe708fbc3493f27af1e1922a078f31e1202 SHA512 de555d765155f20e47c742b5dba330ab2659c0a414cbe6c7a3103328f21c8d6a45bb35755c9a1b7c190d4c0aeb2495ca8e1f0ea350b55bec7de405f7b35ecc86
|
||||
DIST yggdrasil-go-0.5.6.tar.gz 106181 BLAKE2B 01302cb2a4e08f84bcc33b01e86315a948d0bf6900c2e592edc6cc618ef8d09ea20793ea41ae1ed61ef094a9266a2ff3df840a8ca59c0ba496a03519b8869497 SHA512 1c6f8767000a41d4b4f62c3e6df1e562289b3e699542a2fa99781b74eed2eda7e3c5968f50d068360d72b9308e8e27dfd14f42fd7ff2c63982dd48cc5afd85c2
|
||||
|
||||
60
net-p2p/yggdrasil-go/yggdrasil-go-0.5.6.ebuild
Normal file
60
net-p2p/yggdrasil-go/yggdrasil-go-0.5.6.ebuild
Normal file
@@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit fcaps go-module linux-info systemd
|
||||
|
||||
DESCRIPTION="An experiment in scalable routing as an encrypted IPv6 overlay network"
|
||||
HOMEPAGE="https://yggdrasil-network.github.io/"
|
||||
SRC_URI="
|
||||
https://github.com/yggdrasil-network/yggdrasil-go/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://codeberg.org/BratishkaErik/distfiles/releases/download/yggdrasil-go-${PV}/yggdrasil-go-${PV}-vendor.tar.xz
|
||||
"
|
||||
|
||||
LICENSE="LGPL-3 MIT Apache-2.0 BSD ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
RESTRICT="mirror"
|
||||
|
||||
DEPEND="
|
||||
acct-user/yggdrasil
|
||||
acct-group/yggdrasil
|
||||
"
|
||||
|
||||
BDEPEND=">=dev-lang/go-1.21"
|
||||
|
||||
DOCS=( README.md CHANGELOG.md )
|
||||
|
||||
FILECAPS=(
|
||||
cap_net_admin,cap_net_bind_service "usr/bin/yggdrasil"
|
||||
)
|
||||
|
||||
CONFIG_CHECK="~TUN"
|
||||
ERROR_TUN="Your kernel lacks TUN support."
|
||||
|
||||
src_compile() {
|
||||
local ver_config="github.com/yggdrasil-network/yggdrasil-go/src/version"
|
||||
|
||||
local version_disable_detect_flags="-X ${ver_config}.buildName=${PN}"
|
||||
version_disable_detect_flags+=" -X ${ver_config}.buildVersion=v${PV}"
|
||||
|
||||
GOFLAGS+=" -mod=vendor -trimpath"
|
||||
|
||||
local GO_LDFLAGS
|
||||
GO_LDFLAGS="-s -linkmode external -extldflags \"${LDFLAGS}\" ${version_disable_detect_flags}"
|
||||
|
||||
local cmd
|
||||
for cmd in yggdrasil{,ctl}; do
|
||||
ego build ${GOFLAGS} "-ldflags=${GO_LDFLAGS}" ./cmd/"${cmd}"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin yggdrasil{,ctl}
|
||||
einstalldocs
|
||||
|
||||
systemd_dounit "contrib/systemd/yggdrasil.service"
|
||||
systemd_dounit "contrib/systemd/yggdrasil-default-config.service"
|
||||
doinitd "contrib/openrc/yggdrasil"
|
||||
}
|
||||
@@ -1,5 +1,7 @@
|
||||
diff --git a/OMSens/analysis/indiv_sens.py b/analysis/indiv_sens.py
|
||||
index 676c0b6..e12f022 100644
|
||||
Regular expression strings are not explicitly defined as raw strings. This
|
||||
causes modern python versions (tested with 3.12) to trigger warnings/errors.
|
||||
|
||||
See-also: https://github.com/OpenModelica/OpenModelica/issues/12757
|
||||
--- a/OMSens/analysis/indiv_sens.py
|
||||
+++ b/OMSens/analysis/indiv_sens.py
|
||||
@@ -323,8 +323,8 @@ def slugify(value):
|
||||
@@ -13,8 +15,6 @@ index 676c0b6..e12f022 100644
|
||||
return value
|
||||
|
||||
|
||||
diff --git a/OMSens/modelica_interface/run_omc.py b/modelica_interface/run_omc.py
|
||||
index 583e0d6..1cd67e4 100644
|
||||
--- a/OMSens/modelica_interface/run_omc.py
|
||||
+++ b/OMSens/modelica_interface/run_omc.py
|
||||
@@ -36,7 +36,8 @@ def writeOMCLog(log_str, output_path):
|
||||
|
||||
1
sys-fs/fsverity-utils/Manifest
Normal file
1
sys-fs/fsverity-utils/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST fsverity-utils-1.6.tar.gz 43940 BLAKE2B 723edd75772ae74e95cd51740a67aede266ec1824cd6b5b68f0dfcd0f0c1165c08f36cefb460e2ae506c3afd5fc60d0df87552e1ae54582f95383868395769e7 SHA512 9a05264f75b270472dc8d18b0d5a7cb17c24f8b77aa5d1a06ad5dd7813526c06070ceb47a43aa999a542ea4cf5ce7e1500287e7944ce676a97a3cafb985dc4b8
|
||||
34
sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild
Normal file
34
sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild
Normal file
@@ -0,0 +1,34 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit linux-info
|
||||
inherit toolchain-funcs
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
EGIT_REPO_URI="https://git.kernel.org/pub/scm/fs/fsverity/fsverity-utils.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://git.kernel.org/pub/scm/fs/fsverity/${PN}.git/snapshot/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Userspace utility for file-level integrity/authenticity verification"
|
||||
HOMEPAGE="https://git.kernel.org/pub/scm/fs/fsverity/fsverity-utils.git"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="dev-libs/openssl:="
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" PKGCONF="$(tc-getPKG_CONFIG)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install CC="$(tc-getCC)" PKGCONF="$(tc-getPKG_CONFIG)" DESTDIR="${D}" \
|
||||
PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)"
|
||||
}
|
||||
12
sys-fs/fsverity-utils/metadata.xml
Normal file
12
sys-fs/fsverity-utils/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>mark@harmstone.com</email>
|
||||
<name>Mark Harmstone</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>mailto:fsverity@lists.linux.dev</bugs-to>
|
||||
<changelog>https://git.kernel.org/pub/scm/fs/fsverity/fsverity-utils.git/tree/NEWS.md</changelog>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,2 +1,4 @@
|
||||
DIST mycorrhiza-1.14.0-vendor.tar.xz 655368 BLAKE2B 86060d537b37f37d4aa5695d74664090d517fb59e33c089fffa7103a1c79d1cb8ce42aceff198f448e223ade032d37cf836c4035456e47ed5762a26658888014 SHA512 97819fe2fa23783fec8f8249fdcd2eea25d3dafa6bbe81ecffe481a48086a591507dd341ee08a484281f8b6c6bc9a5ef31d75ad7781b3f2e4221496d44af6eaf
|
||||
DIST mycorrhiza-1.14.0.tar.gz 137956 BLAKE2B 202c0e8591b480a13e24133a7d5f76a71669b69ea70bfb86981721269ce808e07a3c0177dca19f33dadbd4ccaef25fac28134b8f44a0bc6c2b7c7e2cbee22c39 SHA512 fe40f5d382255e5439ace7218c28c1df62e368325835e48d563a52c3432e1f0a967924e4cd569d860f3094f942b94d4a6807d8fbf76db6c6b758a8c74a92b77c
|
||||
DIST mycorrhiza-1.15.0-vendor.tar.xz 670776 BLAKE2B d43effa83bbff937419d4c9aeacb6c0107141653e26e78b98e27c975db47f170bdaf40f49a9f3d24a382a897963480f1500549ec3b16af3703b0702016a89a7a SHA512 5145107c91e8c58a71b7778731c6a40d4df791ada86a850c52c7358000fc398788510334b93d0e28e1053d1ed7013e80aaf0d500bc87c906e33822990467d7ca
|
||||
DIST mycorrhiza-1.15.0.tar.gz 141894 BLAKE2B ebb47ac42d0a1c2779e531473cb18c91c4e926a0f8d3c492b5aa8221d0e44f6ac79d9e7ba8e586375ec962e4fc0eb0c5a2c579bf28ca6c492e63cf106e9164ec SHA512 6ff0aada001d0b6be31aa1d8418e42b4db7166f0a97a5a5d627e7bfed64d9fe84bdc5fe30640249955fb406d6a725e4bd26fbf9931602b5a5ab9655d9da8432b
|
||||
|
||||
45
www-apps/mycorrhiza/mycorrhiza-1.15.0.ebuild
Normal file
45
www-apps/mycorrhiza/mycorrhiza-1.15.0.ebuild
Normal file
@@ -0,0 +1,45 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="Git-based wiki engine written in Go using mycomarkup"
|
||||
HOMEPAGE="https://mycorrhiza.wiki"
|
||||
SRC_URI="
|
||||
https://github.com/bouncepaw/mycorrhiza/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://codeberg.org/BratishkaErik/distfiles/releases/download/mycorrhiza-${PV}/mycorrhiza-${PV}-vendor.tar.xz
|
||||
"
|
||||
|
||||
LICENSE="AGPL-3 MIT Apache-2.0 BSD BSD-2 CC-BY-4.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
BDEPEND=">=dev-lang/go-1.22"
|
||||
RDEPEND="dev-vcs/git"
|
||||
|
||||
DOCS=( Boilerplate.md README.md )
|
||||
|
||||
src_compile() {
|
||||
ego build -buildmode=pie -ldflags "-s -linkmode external -extldflags '${LDFLAGS}'" -trimpath .
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin mycorrhiza
|
||||
|
||||
einstalldocs
|
||||
doman help/mycorrhiza.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Quick start: mycorrhiza /your/wiki/directory"
|
||||
elog
|
||||
elog "It will initialize a Git repository, set useful default settings"
|
||||
elog "And run a server on http://localhost:1737"
|
||||
elog "More information here: https://mycorrhiza.wiki/"
|
||||
elog "Also your wiki has built-in documentation :)"
|
||||
elog "You can view this documentation at http://localhost:1737/help"
|
||||
}
|
||||
Reference in New Issue
Block a user