Update Cealestia
This commit is contained in:
parent
937379ecc2
commit
c0ecd7c91f
3 changed files with 4 additions and 55 deletions
|
|
@ -1,54 +0,0 @@
|
|||
# Copyright 2023 Avishek Sen
|
||||
# Distributed under the terms of the GNU General Public License v3
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="Wayland clipboard manager"
|
||||
HOMEPAGE="https://github.com/sentriz/cliphist"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="+pie"
|
||||
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
RESTRICT="mirror"
|
||||
|
||||
RDEPEND="gui-apps/wl-clipboard
|
||||
x11-misc/xdg-utils"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
SRC_URI="https://github.com/sentriz/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/x0rzavi/x0rzavi-overlay/raw/main/${CATEGORY}/${PN}/files/${P}-deps.tar.xz"
|
||||
DOCS="readme.md LICENSE"
|
||||
|
||||
src_compile () {
|
||||
export CGO_CFLAGS="${CFLAGS}"
|
||||
export CGO_CPPFLAGS="${CXXFLAGS}"
|
||||
export CGO_CXXFLAGS="${CXXFLAGS}"
|
||||
export CGO_LDFLAGS="${LDFLAGS}"
|
||||
|
||||
if use pie ; then
|
||||
ego build \
|
||||
--buildmode=pie \
|
||||
-trimpath \
|
||||
-mod=readonly \
|
||||
-modcacherw \
|
||||
-ldflags "-s -w -linkmode external -X main.version=${PV}" \
|
||||
-o "${PN}" .
|
||||
else
|
||||
ego build \
|
||||
-trimpath \
|
||||
-mod=readonly \
|
||||
-modcacherw \
|
||||
-ldflags "-s -w -linkmode external -X main.version=${PV}" \
|
||||
-o "${PN}" .
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
dobin "${PN}"
|
||||
}
|
||||
|
|
@ -15,8 +15,8 @@ RDEPEND="sys-apps/caelestia-cli
|
|||
gui-libs/xdg-desktop-portal-hyprland
|
||||
sys-apps/xdg-desktop-portal-gtk
|
||||
gui-apps/hyprpicker
|
||||
gui-apps/hypridle
|
||||
gui-apps/wl-clipboard
|
||||
app-misc/cliphist
|
||||
net-wireless/bluez-tools
|
||||
sys-fs/inotify-tools
|
||||
sys-apps/app2unit
|
||||
|
|
@ -28,6 +28,7 @@ RDEPEND="sys-apps/caelestia-cli
|
|||
app-shells/starship
|
||||
sys-process/btop
|
||||
app-misc/jq
|
||||
sys-apps/eza
|
||||
net-misc/socat
|
||||
net-misc/curl
|
||||
x11-themes/papirus-icon-theme
|
||||
|
|
|
|||
|
|
@ -17,7 +17,9 @@ KEYWORDS="~amd64 ~arm64"
|
|||
DEPEND="sys-apps/caelestia-cli
|
||||
gui-apps/quickshell
|
||||
app-misc/ddcutil
|
||||
app-misc/brightnessctl
|
||||
sys-apps/app2unit
|
||||
media-libs/libcava
|
||||
media-sound/cava
|
||||
net-misc/networkmanager
|
||||
sys-apps/lm-sensors
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue