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:
1
gui-apps/hyprsunset/Manifest
Normal file
1
gui-apps/hyprsunset/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST hyprsunset-0.1.0.tar.gz 8571 BLAKE2B 1b2126499ff5d1be188526c1466b375bb48990866802cad451f0547fd721f28b6de89b1a42d887dc9626cc9a34091c293009d8006146add3caff942f81fd93e1 SHA512 24badcc80caad710797424af388a34ce1fb4eff3a248af616a303d13e9f4e6cc1d202630e8c1441abfb78f238c406180f69837acd3996094fbc092a9b65e51db
|
||||
26
gui-apps/hyprsunset/hyprsunset-0.1.0.ebuild
Normal file
26
gui-apps/hyprsunset/hyprsunset-0.1.0.ebuild
Normal file
@@ -0,0 +1,26 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="An application to enable a blue-light filter on Hyprland"
|
||||
HOMEPAGE="https://github.com/hyprwm/hyprsunset"
|
||||
SRC_URI="https://github.com/hyprwm/hyprsunset/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
gui-wm/hyprland:=
|
||||
dev-libs/wayland
|
||||
>=dev-libs/hyprland-protocols-0.4.0
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-util/wayland-scanner
|
||||
>=gui-libs/hyprutils-0.2.3
|
||||
>=dev-util/hyprwayland-scanner-0.4.0
|
||||
virtual/pkgconfig
|
||||
"
|
||||
@@ -1,3 +1,2 @@
|
||||
DIST zen-bin-1.0.1_alpha10.tar.bz2 87684487 BLAKE2B 3df00d3ad2ce01b0314fa85422e10b12eb1a4fc6b4306c1e1399bbf1dea59b4d96cc978dd80d500681b87ddcefaa2272c59dd0df1b9391042ae8f803cf85dd32 SHA512 0e417cb0c3af4e4a25f66d389bcc1be359177b822d62048ace37f921d3eeb0bd00cb81d56756e328b3f55a22a650a0596131f82030096224a95f73d3d040e9e5
|
||||
DIST zen-bin-1.0.1_alpha12.tar.bz2 87711637 BLAKE2B fca3baf48b239ae5afe6077a4d089edf1acec3e79a1cb1f1b0deebb820e0e989c4bd49f96349ef5f25d997426ec03b21e886e245caad0ec89e372f81731639b3 SHA512 d31264f9b616a921a8c332d8d12d3dd6acdab4a7e080cb03855346093b09e54670e216d175e92c14ee8fde690569f938a50de0d509fec52149535ae7a13f7068
|
||||
DIST zen-bin-1.0.1_alpha17.tar.bz2 89546545 BLAKE2B a4a06aac8d52121262a7179989cbbf36012f5518e2b0ca3286cd1b166924168896db13e379ac5bb6d6d7726be4c4db7d8d0c8574abbf87e052ee010bb4d55c3f SHA512 12a4300b4aab3977438441b4412e4125d247dea15335003aabac77bc19d65f5ed5f0bb5f2d35c55a4d072a84d54ecc4793e79d9ab010711e33b834959dc2552b
|
||||
DIST zen-bin-1.0.1_alpha19.tar.bz2 89522253 BLAKE2B 333168463767dbf85be2c918c81892a4bafb47a5a9cb5b7301869aa44aeb762bdb3a16d06a3e411ff2cbb028297ada1a497513a74f643edd64324a25910923c9 SHA512 087b36c1d32656820e92a4c860fdc682a1b227f94ead7dc58ebbf8670b8345a9d383fcfbaacfb3c567d9685825f5f3af9381345b0e6753cdbedfafbd43f3dccc
|
||||
|
||||
@@ -1,87 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit xdg-utils desktop
|
||||
|
||||
MY_PV="1.0.1-a.12"
|
||||
MY_P="zen"
|
||||
|
||||
DESCRIPTION="Zen Browser - A Firefox-based browser focused on privacy"
|
||||
HOMEPAGE="https://github.com/zen-browser/desktop"
|
||||
SRC_URI="https://github.com/zen-browser/desktop/releases/download/${MY_PV}/${MY_P}.linux-specific.tar.bz2 -> ${P}.tar.bz2"
|
||||
|
||||
S="${WORKDIR}"
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/expat
|
||||
dev-libs/glib:2
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
media-libs/alsa-lib
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
media-libs/mesa
|
||||
net-print/cups
|
||||
sys-apps/dbus
|
||||
sys-libs/glibc
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libX11
|
||||
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/pango
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
QA_PREBUILT="opt/zen/*"
|
||||
|
||||
src_install() {
|
||||
#create dest dir
|
||||
local destdir="/opt/zen"
|
||||
dodir "${destdir}"
|
||||
#copy files into dest dir
|
||||
cp -a "${S}/zen"/* "${ED}${destdir}" || die
|
||||
#create a symlink to the binary
|
||||
dosym "${destdir}/zen-bin" "/usr/bin/zen-bin" || die
|
||||
#add icons
|
||||
local icon_dir="${ED}${destdir}/browser/chrome/icons/default"
|
||||
if [[ -d "${icon_dir}" ]]; then
|
||||
for size in 16 32 48 64 128; do
|
||||
if [[ -f "${icon_dir}/default${size}.png" ]]; then
|
||||
newicon -s ${size} "${icon_dir}/default${size}.png" zen.png
|
||||
fi
|
||||
done
|
||||
else
|
||||
ewarn "Icon directory not found, skipping icon installation"
|
||||
fi
|
||||
#create desktop file
|
||||
make_desktop_entry zen-bin "Zen" zen "Network;WebBrowser"
|
||||
#handle permissions of destdir files
|
||||
fperms 0755 "${destdir}"/{zen-bin,updater,glxtest,vaapitest}
|
||||
fperms 0750 "${destdir}"/pingsender
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
elog "For optimal performance and compatibility, please ensure"
|
||||
elog "that you have the latest graphics drivers installed."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
@@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
inherit xdg-utils desktop
|
||||
|
||||
MY_PV="1.0.1-a.10"
|
||||
MY_PV="1.0.1-a.19"
|
||||
MY_P="zen"
|
||||
|
||||
DESCRIPTION="Zen Browser - A Firefox-based browser focused on privacy"
|
||||
Reference in New Issue
Block a user