Skip to content

Commit

Permalink
Update 2024-05-12
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonGantner committed May 12, 2024
1 parent 3ada5c4 commit 009155c
Show file tree
Hide file tree
Showing 38 changed files with 715 additions and 50 deletions.
2 changes: 2 additions & 0 deletions app-emulation/virt-manager/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
DIST virt-manager-4.1.0.tar.gz 3151412 BLAKE2B 1b4203be81bd7b82251225d691a4d9068f268e610f049bcadb96de5b539e964ca0b001f22f06ddd8266b58b079f60046f6d11942a1e4eadbc43f0607c46bbddd SHA512 725cb5bcbaebaafae417f95deffb4243ccdad769668cba6e1235f4607e2b29dbd099d2a9a3885981158f53ea854dd71cc29ed9d7557b2791161c13d34f2ef883
EBUILD virt-manager-4.1.0-r2.ebuild 2732 BLAKE2B b5952657b53f314040f1a5c7bc0f1fc5da9767c18b451d7f5dfea161a50f129a395dc476cd2bcdc1caeaef433a7825b9b98a9a3f3495ea9652fe1057986f3c64 SHA512 e9cb83fd6f2f505105e570df907cdc775d5f009221fb1342033abd2f67b1cb58b3578dbabf79cefbeb0ef2637aec1e999891dc9f998a3a02450f01b7f4a8bea5
106 changes: 106 additions & 0 deletions app-emulation/virt-manager/virt-manager-4.1.0-r2.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_SETUPTOOLS=no
inherit gnome2 distutils-r1 optfeature

DESCRIPTION="A graphical tool for administering virtual machines"
HOMEPAGE="https://virt-manager.org https://github.com/virt-manager/virt-manager"

if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/virt-manager/virt-manager.git"
EGIT_BRANCH="main"
SRC_URI=""
inherit git-r3
else
SRC_URI="https://virt-manager.org/download/sources/${PN}/${P}.tar.gz"
KEYWORDS="amd64 arm64 ppc64 x86"
fi

LICENSE="GPL-2"
SLOT="0"
IUSE="gui policykit sasl"

RDEPEND="
${PYTHON_DEPS}
|| ( dev-libs/libisoburn app-cdr/cdrtools )
>=app-emulation/libvirt-glib-1.0.0[introspection]
>=sys-libs/libosinfo-0.2.10[introspection]
$(python_gen_cond_dep '
dev-libs/libxml2[python,${PYTHON_USEDEP}]
dev-python/argcomplete[${PYTHON_USEDEP}]
>=dev-python/libvirt-python-6.10.0[${PYTHON_USEDEP}]
dev-python/pygobject:3[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
')
gui? (
gnome-base/dconf
>=net-libs/gtk-vnc-0.3.8[gtk3(+),introspection]
net-misc/spice-gtk[usbredir,gtk3,introspection,sasl?]
sys-apps/dbus
x11-libs/gtk+:3[introspection]
x11-libs/gtksourceview:4[introspection]
x11-libs/vte:2.91[introspection]
policykit? ( sys-auth/polkit[introspection] )
)
"
DEPEND="${RDEPEND}"
BDEPEND="dev-python/docutils"

DOCS=( README.md NEWS.md )

DISTUTILS_ARGS=(
--no-update-icon-cache
--no-compile-schemas
)

EPYTEST_IGNORE=(
# Wants to use /tmp osinfo config?
tests/test_cli.py

# These seem to be essentially coverage tests
tests/test_checkprops.py
)

distutils_enable_tests pytest

python_configure() {
esetup.py configure --default-graphics=spice
}

python_test() {
export VIRTINST_TEST_SUITE_FORCE_LIBOSINFO=0

epytest
}

python_install() {
esetup.py install
}

pkg_preinst() {
if use gui ; then
gnome2_pkg_preinst

cd "${ED}" || die
export GNOME2_ECLASS_ICONS=$(find 'usr/share/virt-manager/icons' -maxdepth 1 -mindepth 1 -type d 2> /dev/null || die)
else
rm -r "${ED}/usr/share/virt-manager/ui/" || die
rm -r "${ED}/usr/share/virt-manager/icons/" || die
rm -r "${ED}/usr/share/icons/" || die
rm -r "${ED}/usr/share/applications/virt-manager.desktop" || die
rm -r "${ED}/usr/bin/virt-manager" || die
fi
}

pkg_postinst() {
use gui && gnome2_pkg_postinst

optfeature "SSH_ASKPASS program implementation" lxqt-base/lxqt-openssh-askpass net-misc/ssh-askpass-fullscreen net-misc/x11-ssh-askpass
optfeature "QEMU host support" app-emulation/qemu[usbredir,spice]
optfeature "virt-install --location ISO support" dev-libs/libisoburn
}
4 changes: 2 additions & 2 deletions app-text/light/Manifest
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
DIST light-1.2.2.tar.gz 33009 BLAKE2B 6e23d7f89c1dbf412943f2b60a09f9189c5420649397a286fa964d249adb57cafb2943ef610dd13470e486d9dfb51ca40289d9974760e907f794baa27963821d SHA512 5815394fb1545d1e06234c261d475e1836e4c43e47e7707b8628891d20b70db04f1661b78ca1d236d549c734430b606498fa46de060c854791b13cf49de07b59
EBUILD light-1.2.2-r0.ebuild 495 BLAKE2B 62cc59f4028bd4f39bab8329ec08d8d551c6e2d5625ca38a168f7ec9d0dae10a2ac74e34c3ce1a335e00e081a735340daf85f50698f56d4a13a93291f339b03d SHA512 63e4c30b811189ebf775c063df2673497864243c1f79809d56452d9680362a427f434731857a0531d88d8809b41a5e0448db93c274070dcaba53e35a40e7b769
MISC metadata.xml 327 BLAKE2B 1eee432a4c5ff2220ef191c52cc4d5895e3f764c3097f8fd20928634c856436c7cbc54be208bb7038ec2f448dd1b744829a44cf292df4cd6cbf18d2639e491cb SHA512 69c2403aaf044f85b98f65875ea7fa75fe6ed589adae77278866dcf8958ccfd39a0580025132f55923b30165db990b9990e6d5f55aababe8d57f5b3f482c941b
EBUILD light-1.2.2-r0.ebuild 497 BLAKE2B cbbaffd72cbb65a42d90d5f5634625e03a30d70c6b3d34dddf67add0ed2b804a53a252271b0e0d3fc87e44275541284b4d3f6e5fd7b5df14921016ed409feb50 SHA512 66c24ca9add13a98f5102b01983285508e1c24192a541d783b14c1691a7be5b0a3f1892b13db6d5f1d2f30781546d55785001aea366b9f372e52f0bed3d3b2dd
MISC metadata.xml 382 BLAKE2B b4e47d615948866eae48a484cf91108247ca4bfde69eac7c763b6228893c6f15bbc5802fd7af60b218ddc2796d2554085529f8bdb27ff9075bde37cbddc0c4b4 SHA512 7e85cea472f5cabcb65989503ff16ab589565384b3c8406b6de057cedfe9c4328ae62ea189169827c055158c04505e4230448de9b105c4399f640de21ec11d49
6 changes: 3 additions & 3 deletions app-text/light/light-1.2.2-r0.ebuild
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
EAPI=8

DESCRIPTION="A program to control backlight (and other hardware lights)"
HOMEPAGE="https://github.com/haikarainen/light"
SRC_URI="https://github.com/haikarainen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
HOMEPAGE="https://github.com/JasonGantner/light"
SRC_URI="https://github.com/JasonGantner/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
Expand Down
5 changes: 2 additions & 3 deletions app-text/light/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
<name>Jason Gantner</name>
</maintainer>
<upstream>
<bugs-to>
https://github.com/haikarainen/light/issues
</bugs-to>
<remote-id type="github">JasonGantner/light</remote-id>
<bugs-to>https://github.com/JasonGantner/light/issues</bugs-to>
</upstream>
</pkgmetadata>
7 changes: 7 additions & 0 deletions gui-apps/waybar/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
DIST waybar-0.10.0.tar.gz 297669 BLAKE2B f27a61662444cb0d91ecb5c860271939ba81813af4d005a3297f9996fab5edd54df2e4a126aa33edf9049e2d91d301a03f6352e25eb9c86ffb003b0b238e9015 SHA512 89d5ee6fb52438aadfcad8929940b2f2c4a469f7f07331fa5dff77997e1dedb6b3b020c2c2f809687993a7da2571b9f08768e92172d08bfb3d4b66db2d20d61f
DIST waybar-0.10.2.tar.gz 301414 BLAKE2B 9edcd52611999843efb22b58aafa705f089b6ed9bdb672daa41235ed477ce80d6dff8ac34ef679e333be30ecf4dc774bdc77d89e701b2a34913b4cedac6d742c SHA512 2ddcdc6cc7a41d4d9e06d7002aa501201a75350a114c86a931352c1dee1b0f435b06b5b534a92c3aa4771093932d43d0f1150a659561af39b9c3d98dcbed7724
DIST waybar-0.10.3.tar.gz 301886 BLAKE2B 0ef1cf82cc9f374c756724c389a045d2d9e26a5403eeb527ab0885d89d6030bea74aa5c299f8f865c244524c485a90ad3fee071968d21ff728c1f46f75f637b4 SHA512 2e90007056b79bccad06902db2e8b6f25103bb7c86736cb0b7dc260795bc4a1b5db7a7b8a4bebe9169f0590585fd6b170193cf8aa5437d69bab0f78d66922084
EBUILD waybar-0.10.0.ebuild 2678 BLAKE2B 74b35341a9ce83ace2d66c1e0450194ccf9be6c7737e006a93658e5cf2049cd2ba59311840b2a75d7e53a40b8670df753a114aade27eed96ccae85557ee23f35 SHA512 e8d43ac2fa19b72f2d45833c63192842b7913422265de936804b12943552bab0880b5de868c01e4277b4bb263a4bd4ffc8e08acadcb5c7144e9c8f2807a7a4d7
EBUILD waybar-0.10.2.ebuild 2679 BLAKE2B adfea06dbea7fe54db383cfd13bd41982346ee626012edaeaa71fc81f898d02bdcd3a445ec805f76f9c185dbd07448c2f3878da41b53f7a3d721aa54af1f0b06 SHA512 dc134860bba6542023fbbac98f20d64b7941b041c3b8745b7c0fd5beb324d722eadee2883cbe8396e77bbd85fbd9cce9a09af8e3c50509d54f14c190d3fe8d4a
EBUILD waybar-0.10.3.ebuild 2679 BLAKE2B adfea06dbea7fe54db383cfd13bd41982346ee626012edaeaa71fc81f898d02bdcd3a445ec805f76f9c185dbd07448c2f3878da41b53f7a3d721aa54af1f0b06 SHA512 dc134860bba6542023fbbac98f20d64b7941b041c3b8745b7c0fd5beb324d722eadee2883cbe8396e77bbd85fbd9cce9a09af8e3c50509d54f14c190d3fe8d4a
MISC metadata.xml 1839 BLAKE2B 1589e1b51e0481d0af8c03ce5fda6f46524975639337a3f52ba6f5e8f81ccb9520bed21b07d0d6f4a85276f7c58a90d4df3efddb903d92e3019e5afde2126ac0 SHA512 759b12f33f326798455fb6c68acd072f925a0df9639a935b2b06ec889f7b55530581572cbce299b180210987606a5c22642c91ec08eb27373351e9775e27fe6f
38 changes: 38 additions & 0 deletions gui-apps/waybar/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>[email protected]</email>
<name>Julien Roy</name>
</maintainer>
<maintainer type="person" proxied="yes">
<email>[email protected]</email>
<name>Jonas Toth</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>[email protected]</email>
<name>Proxy Maintainers</name>
</maintainer>
<use>
<flag name="cava">Use libcava for waveform display</flag>
<flag name="experimental">Enable experimental features, such as Bluetooth battery reporting</flag>
<flag name="evdev">Enable libevdev support for evdev related features</flag>
<flag name="libcxx">Build against LLVM's libcxx instead of GNU's libstdc++ (ABI incompatible)</flag>
<flag name="libinput">Enable libinput support for libinput related features</flag>
<flag name="logind">Enable support for logind (bluetooth and idle inhibit)</flag>
<flag name="mpd">Enable support for the Music Player Daemon</flag>
<flag name="playerctl">Enable support for playerctl</flag>
<flag name="network">Enable libnl support for network related features</flag>
<flag name="sndio">Enable support for volume control via sndio</flag>
<flag name="pipewire">Enable support for pipewire</flag>
<flag name="pulseaudio">Enable support for volume control via PulseAudio</flag>
<flag name="tray">Enable support for tray</flag>
<flag name="rfkill">Enable support for rfkill</flag>
<flag name="wireplumber">Enable support for wireplumber</flag>
</use>
<upstream>
<remote-id type="github">Alexays/Waybar</remote-id>
<bugs-to>https://github.com/Alexays/Waybar/issues</bugs-to>
<changelog>https://github.com/Alexays/Waybar/releases</changelog>
</upstream>
</pkgmetadata>
101 changes: 101 additions & 0 deletions gui-apps/waybar/waybar-0.10.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit meson

DESCRIPTION="Highly customizable Wayland bar for Sway and Wlroots based compositors"
HOMEPAGE="https://github.com/Alexays/Waybar"

if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Alexays/${PN^}.git"
else
SRC_URI="https://github.com/Alexays/${PN^}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="amd64"
S="${WORKDIR}/${PN^}-${PV}"
fi

LICENSE="MIT"
SLOT="0"
IUSE="cava evdev experimental jack libcxx +libinput +logind +man mpd playerctl network pipewire pulseaudio rfkill sndio systemd test tray +udev upower wireplumber"
REQUIRED_USE="
playerctl? ( logind )
upower? ( logind )
"

RESTRICT="!test? ( test )"

BDEPEND="
man? ( >=app-text/scdoc-1.9.2 )
dev-build/meson
dev-util/gdbus-codegen
virtual/pkgconfig
"
RDEPEND="
dev-cpp/cairomm:0
dev-cpp/glibmm:2
x11-libs/gtk+:3[wayland]
rfkill? ( sys-apps/util-linux )
"
DEPEND="${RDEPEND}
dev-cpp/gtkmm:3.0
dev-libs/date:=
dev-libs/glib:2
dev-libs/jsoncpp:=
>=dev-libs/libfmt-8.1.1:=
dev-libs/libinput:=
dev-libs/libsigc++:2
>=dev-libs/spdlog-1.10.0:=
dev-libs/wayland
dev-libs/wayland-protocols
>=gui-libs/gtk-layer-shell-0.6.0
gui-libs/wlroots:=
x11-libs/libxkbcommon
test? ( dev-cpp/catch:0 )
cava? ( >=media-libs/libcava-0.10.1[jack?,pipewire?,pulseaudio?,sndio?] )
evdev? ( dev-libs/libevdev:= )
jack? ( virtual/jack )
libcxx? ( sys-libs/libcxx )
libinput? ( dev-libs/libinput:= )
logind? ( || ( sys-apps/systemd sys-auth/elogind ) )
mpd? ( media-libs/libmpdclient )
network? ( dev-libs/libnl:3 )
pipewire? ( media-video/pipewire )
playerctl? ( >=media-sound/playerctl-2 )
pulseaudio? ( media-libs/libpulse )
sndio? ( media-sound/sndio:= )
systemd? ( sys-apps/systemd:= )
tray? ( dev-libs/libdbusmenu[gtk3] dev-libs/libayatana-appindicator )
udev? ( virtual/libudev:= )
upower? ( sys-power/upower )
wireplumber? ( media-video/wireplumber:0/0.4 )
"

src_configure() {
local emesonargs=(
$(meson_feature man man-pages)
$(meson_feature cava)
$(meson_feature evdev libevdev)
$(meson_feature jack)
$(meson_feature libinput)
$(meson_feature logind)
$(meson_feature mpd)
$(meson_feature playerctl mpris)
$(meson_feature network libnl)
$(meson_feature pulseaudio)
$(meson_feature pipewire)
$(meson_feature sndio)
$(meson_feature systemd)
$(meson_feature test tests)
$(meson_feature tray dbusmenu-gtk)
$(meson_feature udev libudev)
$(meson_feature upower upower_glib)
$(meson_feature rfkill)
$(meson_feature wireplumber)
$(meson_use libcxx)
$(meson_use experimental)
)
meson_src_configure
}
101 changes: 101 additions & 0 deletions gui-apps/waybar/waybar-0.10.2.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit meson

DESCRIPTION="Highly customizable Wayland bar for Sway and Wlroots based compositors"
HOMEPAGE="https://github.com/Alexays/Waybar"

if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Alexays/${PN^}.git"
else
SRC_URI="https://github.com/Alexays/${PN^}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${PN^}-${PV}"
fi

LICENSE="MIT"
SLOT="0"
IUSE="cava evdev experimental jack libcxx +libinput +logind +man mpd playerctl network pipewire pulseaudio rfkill sndio systemd test tray +udev upower wireplumber"
REQUIRED_USE="
playerctl? ( logind )
upower? ( logind )
"

RESTRICT="!test? ( test )"

BDEPEND="
man? ( >=app-text/scdoc-1.9.2 )
dev-build/meson
dev-util/gdbus-codegen
virtual/pkgconfig
"
RDEPEND="
dev-cpp/cairomm:0
dev-cpp/glibmm:2
x11-libs/gtk+:3[wayland]
rfkill? ( sys-apps/util-linux )
"
DEPEND="${RDEPEND}
dev-cpp/gtkmm:3.0
dev-libs/date:=
dev-libs/glib:2
dev-libs/jsoncpp:=
>=dev-libs/libfmt-8.1.1:=
dev-libs/libinput:=
dev-libs/libsigc++:2
>=dev-libs/spdlog-1.10.0:=
dev-libs/wayland
dev-libs/wayland-protocols
>=gui-libs/gtk-layer-shell-0.6.0
gui-libs/wlroots:=
x11-libs/libxkbcommon
test? ( dev-cpp/catch:0 )
cava? ( >=media-libs/libcava-0.10.1[jack?,pipewire?,pulseaudio?,sndio?] )
evdev? ( dev-libs/libevdev:= )
jack? ( virtual/jack )
libcxx? ( sys-libs/libcxx )
libinput? ( dev-libs/libinput:= )
logind? ( || ( sys-apps/systemd sys-auth/elogind ) )
mpd? ( media-libs/libmpdclient )
network? ( dev-libs/libnl:3 )
pipewire? ( media-video/pipewire )
playerctl? ( >=media-sound/playerctl-2 )
pulseaudio? ( media-libs/libpulse )
sndio? ( media-sound/sndio:= )
systemd? ( sys-apps/systemd:= )
tray? ( dev-libs/libdbusmenu[gtk3] dev-libs/libayatana-appindicator )
udev? ( virtual/libudev:= )
upower? ( sys-power/upower )
wireplumber? ( media-video/wireplumber:0/0.5 )
"

src_configure() {
local emesonargs=(
$(meson_feature man man-pages)
$(meson_feature cava)
$(meson_feature evdev libevdev)
$(meson_feature jack)
$(meson_feature libinput)
$(meson_feature logind)
$(meson_feature mpd)
$(meson_feature playerctl mpris)
$(meson_feature network libnl)
$(meson_feature pulseaudio)
$(meson_feature pipewire)
$(meson_feature sndio)
$(meson_feature systemd)
$(meson_feature test tests)
$(meson_feature tray dbusmenu-gtk)
$(meson_feature udev libudev)
$(meson_feature upower upower_glib)
$(meson_feature rfkill)
$(meson_feature wireplumber)
$(meson_use libcxx)
$(meson_use experimental)
)
meson_src_configure
}
Loading

0 comments on commit 009155c

Please sign in to comment.