-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: ston <[email protected]>
- Loading branch information
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
DIST daed-0.1.0_rc1-node_modules-pnpm.tar.xz 62547248 BLAKE2B beea467dd52526917a76581ae1e08c6132ddc4fc3eaf31d337b6c00de32cf043ec62e00826832a27f47e7d0eb233a0aa9be49c6f2edc7d7be934c9d85f7bc08e SHA512 e7f2782371dad1b45f4ef440cc917862f35f5a5e7ec3ae9f30c92eb8d4f54607692594f21eea2104d63a32930912c4d15bde4bc26855c3b8ffaeb5abec043710 | ||
DIST daed-0.1.0_rc1.zip 182820300 BLAKE2B af1df9c0585d1a87e25a85bfd316fd62ed9c9eec587c5ef39b695f4eae757d4ea8447ca492211b4a0b35dd5e7b8294afeac25f5c5eceb5330feb9ca7f18a052c SHA512 c97aa013e23cb7baa69e08743757f90d10fd930305a08a61325b0e195839fb1fc2652a640cdbc77694417eefe585438d72da84d3be226007a49bc0100d1e87b8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Copyright 2023 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
inherit systemd | ||
|
||
DESCRIPTION="A Modern Dashboard For dae" | ||
HOMEPAGE="https://github.com/daeuniverse/daed" | ||
SRC_URI=" | ||
https://github.com/daeuniverse/daed/releases/download/v0.1.0rc/daed-full-src.zip -> ${P}.zip | ||
https://github.com/st0nie/gentoo-go-deps/releases/download/${P}/${P}-node_modules-pnpm.tar.xz | ||
" | ||
# EGIT_REPO_URI="https://github.com/daeuniverse/daed.git" | ||
|
||
LICENSE="MIT AGPL-3" | ||
SLOT="0" | ||
KEYWORDS="~amd64" | ||
RESTRICT="strip" | ||
|
||
DEPEND=" | ||
dev-libs/v2ray-domain-list-community-bin | ||
dev-libs/v2ray-geoip-bin | ||
" | ||
RDEPEND="${DEPEND}" | ||
BDEPEND=" | ||
sys-apps/pnpm | ||
sys-devel/clang | ||
" | ||
S="${WORKDIR}" | ||
|
||
src_compile(){ | ||
sed -i '/git submodule update/d' wing/Makefile || die | ||
GO_ROOT="${S}" emake CC=clang CFLAGS="$CFLAGS -fno-stack-protector" APPNAME="${PN}" VERSION="${PV}" | ||
} | ||
|
||
src_install(){ | ||
dobin daed | ||
systemd_dounit install/daed.service | ||
keepdir /etc/daed/ | ||
dosym -r "/usr/share/v2ray/geosite.dat" /usr/share/daed/geosite.dat | ||
dosym -r "/usr/share/v2ray/geoip.dat" /usr/share/daed/geoip.dat | ||
} |