*/*: WhitespaceFound fix

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
This commit is contained in:
Vitaly Zdanevich
2024-07-19 17:01:38 +04:00
parent af456be219
commit 8c927e8c3e
15 changed files with 70 additions and 69 deletions

View File

@@ -6,8 +6,10 @@ inherit go-module
DESCRIPTION="A tool for managing GitLab groups and projects"
HOMEPAGE="https://gitlab.com/etke.cc/tools/agru"
SRC_URI="https://gitlab.com/etke.cc/tools/agru/-/archive/v${PV}/v${PV}.tar.bz2 -> ${P}.tar.bz2
https://xwaretech.info/agru-${PV}-deps.tar.xz"
https://xwaretech.info/agru-${PV}-deps.tar.xz"
S="${WORKDIR}/${PN}-v${PV}-d6a2bd6d8a4fca3dbb0201c020e4f70ce9a90c39"
LICENSE="AGPL-3"

View File

@@ -21,10 +21,10 @@ RDEPEND="app-text/tesseract
DEPEND="${RDEPEND}"
src_configure() {
local mycmakeargs=(
'-DCMAKE_BUILD_TYPE=Release'
)
cmake_src_configure
local mycmakeargs=(
'-DCMAKE_BUILD_TYPE=Release'
)
cmake_src_configure
}
src_install() {

View File

@@ -18,9 +18,9 @@ KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
app-editors/vim
app-editors/vim
"
src_install() {
vim-plugin_src_install
vim-plugin_src_install
}

View File

@@ -17,5 +17,5 @@ app-editors/vim
"
src_install() {
vim-plugin_src_install
vim-plugin_src_install
}

View File

@@ -16,6 +16,6 @@ SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/zenlib-2.1.2[${PYTHON_USEDEP}]
>=dev-python/aiohttp-3.9.4[${PYTHON_USEDEP}]
>=dev-python/zenlib-2.1.2[${PYTHON_USEDEP}]
>=dev-python/aiohttp-3.9.4[${PYTHON_USEDEP}]
"

View File

@@ -14,16 +14,16 @@ SLOT="0"
IUSE="lzfse"
DEPEND="
app-arch/bzip2
dev-libs/openssl
sys-libs/zlib
lzfse? ( dev-libs/lzfse )
app-arch/bzip2
dev-libs/openssl
sys-libs/zlib
lzfse? ( dev-libs/lzfse )
"
RDEPEND="${DEPEND}"
BDEPEND="${DEPEND}"
src_compile() {
emake HAVE_LZFSE=$(usex lzfse 1 0) CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
emake HAVE_LZFSE=$(usex lzfse 1 0) CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
}
src_install() {

View File

@@ -231,10 +231,10 @@ RDEPEND="
gui-libs/gtk
gui-libs/greetd
dev-libs/glib
media-libs/graphene
x11-libs/cairo
x11-libs/gdk-pixbuf
x11-libs/pango
media-libs/graphene
x11-libs/cairo
x11-libs/gdk-pixbuf
x11-libs/pango
"
BDEPEND="
virtual/rust
@@ -308,7 +308,7 @@ src_install() {
}
src_post_install () {
src_post_install() {
if use systemd; then
# Run systemd-tmpfiles to create the log and cache folder
tmpfiles_process regreet.conf

View File

@@ -28,8 +28,8 @@ BDEPEND="
"
src_configure() {
local emesonargs=(
$(meson_feature man man-pages)
)
meson_src_configure
local emesonargs=(
$(meson_feature man man-pages)
)
meson_src_configure
}

View File

@@ -13,9 +13,9 @@ LICENSE="GPL-3"
SLOT="0"
DEPEND="
x11-libs/gtk+:3
dev-libs/libayatana-appindicator
media-video/gpu-screen-recorder
x11-libs/gtk+:3
dev-libs/libayatana-appindicator
media-video/gpu-screen-recorder
"
RDEPEND="${DEPEND}"
BDEPEND="${DEPEND}"

View File

@@ -19,8 +19,8 @@ IUSE="crypt"
DEPEND="crypt? ( dev-libs/olm )"
RDEPEND="
${DEPEND}
acct-user/${PN}
${DEPEND}
acct-user/${PN}
"
src_compile() {

View File

@@ -23,7 +23,7 @@ DEPEND="
>=dev-python/beautifulsoup4-4.12.2
>=dev-python/tomlkit-0.11.8
test? ( dev-python/psycopg:2
>=dev-python/pytest-7.4.0 )
>=dev-python/pytest-7.4.0 )
"
RDEPEND="${DEPEND}"

View File

@@ -43,13 +43,12 @@ BDEPEND="
"
pkg_pretend() {
if use intel-avx2 && [[ ! -e "${ROOT}"/etc/portage/patches/app-crypt/intel-ipsec-mb/remove_digest_init.patch ]]; then
eerror "${ROOT}/etc/portage/patches/app-crypt/intel-ipsec-mb/remove_digest_init.patch does not exist!"
eerror "To build with avx2 intel support, please create ${ROOT}/etc/portage/patches/app-crypt/intel-ipsec-mb directory"
eerror "and copy patch from package net-p2p/dogecoin-qt/files/intel-ipsec-mb/remove_digest_init.patch into that directory"
die
fi
if use intel-avx2 && [[ ! -e "${ROOT}"/etc/portage/patches/app-crypt/intel-ipsec-mb/remove_digest_init.patch ]]; then
eerror "${ROOT}/etc/portage/patches/app-crypt/intel-ipsec-mb/remove_digest_init.patch does not exist!"
eerror "To build with avx2 intel support, please create ${ROOT}/etc/portage/patches/app-crypt/intel-ipsec-mb directory"
eerror "and copy patch from package net-p2p/dogecoin-qt/files/intel-ipsec-mb/remove_digest_init.patch into that directory"
die
fi
}
src_prepare() {
@@ -94,15 +93,15 @@ src_install() {
insinto "${DOGEDIR}/bin"
if use gui ; then
insinto /usr/share/pixmaps
doins src/qt/res/icons/dogecoin.png
dosym "${DOGEDIR}/bin/${PN}" "/usr/bin/${PN}"
insinto /usr/share/pixmaps
doins src/qt/res/icons/dogecoin.png
dosym "${DOGEDIR}/bin/${PN}" "/usr/bin/${PN}"
if use prune ; then
domenu "${FILESDIR}"/"${PN}-prune.desktop"
else
domenu "${FILESDIR}"/"${PN}.desktop"
fi
if use prune ; then
domenu "${FILESDIR}"/"${PN}-prune.desktop"
else
domenu "${FILESDIR}"/"${PN}.desktop"
fi
fi
if use dogecoind ; then

View File

@@ -7,14 +7,14 @@ DESCRIPTION="ngrok is a reverse proxy, firewall, and API gateway"
HOMEPAGE="https://ngrok.org"
# Each supported arch should get their own bins
SRC_URI="
amd64? ( https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz -> ${P}.tgz )
arm? ( https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-arm.tgz -> ${P}.tgz )
arm64? ( https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-arm64.tgz -> ${P}.tgz )
mips? ( https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-mips.tgz -> ${P}.tgz )
ppc64? ( https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-ppc64.tgz -> ${P}.tgz )
s390? ( https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-s390x.tgz -> ${P}.tgz )
x86? ( https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-386.tgz -> ${P}.tgz )
"
amd64? ( https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz -> ${P}.tgz )
arm? ( https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-arm.tgz -> ${P}.tgz )
arm64? ( https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-arm64.tgz -> ${P}.tgz )
mips? ( https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-mips.tgz -> ${P}.tgz )
ppc64? ( https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-ppc64.tgz -> ${P}.tgz )
s390? ( https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-s390x.tgz -> ${P}.tgz )
x86? ( https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-386.tgz -> ${P}.tgz )
"
S="${WORKDIR}/"
LICENSE="MIT"
@@ -24,9 +24,9 @@ KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc64 ~s390 ~x86"
RESTRICT="mirror strip"
src_compile() {
:
:
}
src_install() {
dobin ngrok
dobin ngrok
}

View File

@@ -80,14 +80,14 @@ src_install() {
systemd_dounit service/legiond.service service/legiond-onresume.service service/legiond-cpuset.service service/legiond-cpuset.timer
newinitd service/legiond.initd legiond
newinitd service/legiond.initd legiond
newinitd service/legiond-cpuset.initd legiond
newsbin service/legiond-cpuset.sh legiond-cpuset
if use elogind; then
exeinto /lib64/elogind/system-sleep/
doexe service/legiond-onresume.sh
fi
if use elogind; then
exeinto /lib64/elogind/system-sleep/
doexe service/legiond-onresume.sh
fi
insinto /etc/acpi/events
doins acpi/events/{legion_ppd,legion_ac}
@@ -112,7 +112,7 @@ pkg_postinst() {
ewarn "Pls test the feature how is decribe in the README of the project!"
ewarn "and also go to this issue in github: https://github.com/johnfanv2/LenovoLegionLinux/issues/46"
optfeature "radeon dgpu power management" dev-util/rocm-smi
optfeature "ryzen CPU tweaks" sys-power/RyzenAdj
optfeature "intel CPU tweaks" dev-python/undervolt
optfeature "radeon dgpu power management" dev-util/rocm-smi
optfeature "ryzen CPU tweaks" sys-power/RyzenAdj
optfeature "intel CPU tweaks" dev-python/undervolt
}

View File

@@ -345,13 +345,13 @@ export ZSTD_SYS_USE_PKG_CONFIG=1
export PKG_CONFIG_ALLOW_CROSS=1
src_prepare() {
default
sed -i -e 's/#cache = "\/var\/lib\/libmedium"/cache = "\/var\/cache\/libmedium"/' 'config/default.toml' || die
default
sed -i -e 's/#cache = "\/var\/lib\/libmedium"/cache = "\/var\/cache\/libmedium"/' 'config/default.toml' || die
}
src_install() {
cargo_src_install
newinitd "${FILESDIR}/libmedium.initd" "libmedium"
insinto "/etc/libmedium"
newins "config/default.toml" "config.toml"
cargo_src_install
newinitd "${FILESDIR}/libmedium.initd" "libmedium"
insinto "/etc/libmedium"
newins "config/default.toml" "config.toml"
}