mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 11:04:10 -04:00
Merge updates from master
This commit is contained in:
@@ -22,10 +22,7 @@ SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="virtual/jre:1.8"
|
||||
BDEPEND="
|
||||
app-arch/unzip
|
||||
net-misc/wget
|
||||
"
|
||||
BDEPEND="app-arch/unzip"
|
||||
|
||||
pkg_pretend() {
|
||||
# Upstream blocks vanilla wget, so we set up a browser User-Agent as a fallback.
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
DIST pythonqwt-0.12.5.tar.gz 1217114 BLAKE2B 9b0a155772f19a32bc2fd17ef5232d3ce2f69e23ae807017515b0db9017db526b53ea4ca13f9101f9902d8d68261e30037ca424ac55d27fa7ee179101224a9a8 SHA512 6349f5f7ef721531c7272cc87f2c98e7ce841329b56b75431d99d30f1211d3dba521ccc8553ac6e25a3a7ce3daeb1e82f7af945bfdb32afcc27b87e9bc9d52b8
|
||||
DIST pythonqwt-0.12.6.tar.gz 1217432 BLAKE2B 5178eded8d2b947854e48b31f74888184d6d4de3a2681c3bca6aca69b95dbfc8d7d31e65844b0dbfc6847415bd47367a1ea35db7a1ffc4f61270ebb9781b9c46 SHA512 59808929ff835db46b47e63babc2a4b320b2606b7b836ddd21304af1f6c3be1afae4e0329d8a55a17951807e7b8cfa9b89c58cc5d8439612d20ed655c04db484
|
||||
DIST pythonqwt-0.12.7.tar.gz 1217648 BLAKE2B 6c9dbaa893d6124ace07f9749d8b668fc5627269e3cabfab129fc04e3a511c971a2bd34d0bfc33da96715f7f8601e6d2d179584e8166f876296dc13d536ca710 SHA512 87af1d62e98798f5f616b7b008d704d943ae3c662b254f3243b3d9f4e5efab2f68b28c4820be6894b35852c9a5c14fa27c07868a28aacc6c9cd10ed7a674cfc2
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11,12} )
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
DIST guidata-3.5.0.tar.gz 715835 BLAKE2B 11668c0ab1e5c7ec1a58b1cd705420c79b5e2c05174318556aabd48895421a2e77cadd8932e8affe4e52214881b3feb5d99a5f75ccc8adec31d44137ff70df24 SHA512 281460040396d1de07bad44a27c69b1fb69d41406d3b4029651332bf8d39d610e1d89f541062b8cd3b5d11afa9f39c5de83ae0e9729594a22c23abd73a79d83d
|
||||
DIST guidata-3.5.2.tar.gz 715460 BLAKE2B 8fa7f73cb306099c6e7cf5f2fe2eb5df3905ae6e8a9103682fddd70e5381cb7d485830c28cc4275735f9e8b726bde08b537877307be0075a40efc384ec6287ce SHA512 435f84c8fd25379a509180221d1caed1f967fde476ce68f709b0463116d333fc5ad2450b66d87d97104e5e826a366c935cbb0483267adbfcdf6326e52d5ac4ab
|
||||
DIST guidata-3.6.1.tar.gz 718020 BLAKE2B 69dc2b64fe9e0e6e63e705833d0f02dfead890a3caeaf0ad03b2aac2a9f1b0a14a5b552dc4ff3e479fc416ba348f3b84a713a409e08f8b584f0d9d8597b04e84 SHA512 38fb27b2484deb1c7780d7750cb1d522b53ae195fc3fd4f73ff0973898106ad3cbf974de912f5a72a95b8741d740235abff2b840ab12f36c7808f024eb16d2f9
|
||||
|
||||
@@ -18,7 +18,7 @@ IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/h5py[${PYTHON_USEDEP}]
|
||||
<dev-python/numpy-2.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/PyQt5[${PYTHON_USEDEP}]
|
||||
dev-python/QtPy[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
@@ -23,10 +23,7 @@ RDEPEND="
|
||||
dev-texlive/texlive-plaingeneric
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
app-arch/unzip
|
||||
"
|
||||
BDEPEND="${RDEPEND}"
|
||||
|
||||
TEXMF="/usr/share/texmf-site"
|
||||
|
||||
|
||||
1
dev-util/shellspec/Manifest
Normal file
1
dev-util/shellspec/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST shellspec-0.28.1.tar.gz 440575 BLAKE2B 08d59f1585d155cd0a7d45b939f7172b3a3f58350e32993f2e0b88307ed3d214dddeff7468c322b6ff9f51223d5b681a6fc85bfd24c46d2224421d7d3e6c43ef SHA512 a3d1f582a3c76ef240ab9bd0ce3b8433d7ced766b6fa03ed724100917271c2c0ee04909cdc7ea2f92267dc11fdd890d52a4edcc2957c16dbbd331a718e5c564f
|
||||
46
dev-util/shellspec/metadata.xml
Normal file
46
dev-util/shellspec/metadata.xml
Normal file
@@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>beatussum@protonmail.com</email>
|
||||
<name>Mattéo Rossillol‑‑Laruelle</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
<pkg>dev-util/shellspec</pkg> is a full-featured BDD unit
|
||||
testing framework for <pkg>app-shells/dash</pkg>,
|
||||
<pkg>app-shells/bash</pkg>, <pkg>app-shells/ksh</pkg>,
|
||||
<pkg>app-shells/zsh</pkg> and all POSIX shells that provides
|
||||
first-class features such as code coverage, mocking,
|
||||
parameterized test, parallel execution and more. It was
|
||||
developed as a dev/test tool for cross-platform shell scripts
|
||||
and shell script libraries. <pkg>dev-util/shellspec</pkg> is a
|
||||
new modern testing framework released in 2019, but it's already
|
||||
stable enough. With lots of practical CLI features and simple
|
||||
yet powerful syntax, it provides you with a fun shell script
|
||||
test environment.
|
||||
</longdescription>
|
||||
<longdescription lang="fr">
|
||||
<pkg>dev-util/shellspec</pkg> est une infrastructure logicielle
|
||||
de tests unitaires BDD pour <pkg>app-shells/dash</pkg>,
|
||||
<pkg>app-shells/bash</pkg>, <pkg>app-shells/ksh</pkg>,
|
||||
<pkg>app-shells/zsh</pkg> et tous les shells POSIX qui fournit
|
||||
des fonctionnalités de premier ordre telles que la couverture de
|
||||
code, le mocking, test paramétré, l'exécution parallèle et plus
|
||||
encore. Elle a été développée en tant qu'outil de
|
||||
développement/test pour les scripts shell multiplateformes et
|
||||
les bibliothèques de scripts shell.
|
||||
<pkg>dev-util/shellspec</pkg> est une nouvelle infrastructure
|
||||
logicielle de test moderne publié en 2019, mais elle est déjà
|
||||
assez stable. Avec de nombreuses fonctionnalités CLI pratiques
|
||||
et une syntaxe simple syntaxe simple mais puissante, elle vous
|
||||
fournit un environnement de test de script shell.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<maintainer status="active">
|
||||
<name>ShellSpec</name>
|
||||
</maintainer>
|
||||
<changelog>https://github.com/shellspec/shellspec/blob/master/CHANGELOG.md</changelog>
|
||||
<bugs-to>https://github.com/shellspec/shellspec/issues/</bugs-to>
|
||||
<remote-id type="github">shellspec/shellspec</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
63
dev-util/shellspec/shellspec-0.28.1.ebuild
Normal file
63
dev-util/shellspec/shellspec-0.28.1.ebuild
Normal file
@@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="A full-featured BDD unit testing framework for all POSIX shells"
|
||||
HOMEPAGE="https://shellspec.info/"
|
||||
|
||||
if [[ "${PV}" = 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/shellspec/shellspec.git"
|
||||
else
|
||||
SRC_URI="https://github.com/shellspec/shellspec/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="MIT-with-advertising"
|
||||
SLOT="0"
|
||||
IUSE="doc examples test"
|
||||
RESTRICT="binchecks strip !test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
|| (
|
||||
>=app-shells/bash-2.03
|
||||
>=app-shells/dash-0.5.4
|
||||
app-shells/ksh
|
||||
app-shells/loksh
|
||||
>=app-shells/mksh-28r
|
||||
>=app-shells/posh-0.3.14
|
||||
>=app-shells/yash-2.29
|
||||
>=app-shells/zsh-3.1.9
|
||||
>=sys-apps/busybox-1.20.0
|
||||
)
|
||||
"
|
||||
|
||||
BDEPEND="test? ( ${DEPEND} )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=(
|
||||
CHANGELOG.md
|
||||
CONTRIBUTING.md
|
||||
README.md
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i "s/LICENSE//g" Makefile || die
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_test() {
|
||||
emake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
|
||||
use doc && dodoc -r docs
|
||||
use examples && dodoc -r examples
|
||||
|
||||
emake PREFIX="${ED}/usr" install
|
||||
}
|
||||
63
dev-util/shellspec/shellspec-9999.ebuild
Normal file
63
dev-util/shellspec/shellspec-9999.ebuild
Normal file
@@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="A full-featured BDD unit testing framework for all POSIX shells"
|
||||
HOMEPAGE="https://shellspec.info/"
|
||||
|
||||
if [[ "${PV}" = 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/shellspec/shellspec.git"
|
||||
else
|
||||
SRC_URI="https://github.com/shellspec/shellspec/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="MIT-with-advertising"
|
||||
SLOT="0"
|
||||
IUSE="doc examples test"
|
||||
RESTRICT="binchecks strip !test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
|| (
|
||||
>=app-shells/bash-2.03
|
||||
>=app-shells/dash-0.5.4
|
||||
app-shells/ksh
|
||||
app-shells/loksh
|
||||
>=app-shells/mksh-28r
|
||||
>=app-shells/posh-0.3.14
|
||||
>=app-shells/yash-2.29
|
||||
>=app-shells/zsh-3.1.9
|
||||
>=sys-apps/busybox-1.20.0
|
||||
)
|
||||
"
|
||||
|
||||
BDEPEND="test? ( ${DEPEND} )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=(
|
||||
CHANGELOG.md
|
||||
CONTRIBUTING.md
|
||||
README.md
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i "s/LICENSE//g" Makefile || die
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_test() {
|
||||
emake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
|
||||
use doc && dodoc -r docs
|
||||
use examples && dodoc -r examples
|
||||
|
||||
emake PREFIX="${ED}/usr" install
|
||||
}
|
||||
@@ -14,13 +14,13 @@ SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
>=sci-libs/opencascade-7.7.0-r2
|
||||
<sci-libs/opencascade-7.8.0
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qttranslations:5
|
||||
dev-qt/qtwidgets:5
|
||||
>=media-libs/assimp-5.3.1
|
||||
>=sci-libs/opencascade-7.7.0-r2
|
||||
<sci-libs/opencascade-7.8.0
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
@@ -16,16 +16,16 @@ KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
>=app-arch/libdeflate-1.19
|
||||
>=app-text/poppler-24.04.0[cairo]
|
||||
>=dev-util/pkgconf-2.2.0
|
||||
>=dev-vcs/git-2.44.2
|
||||
>=media-libs/libsixel-1.10.3-r1
|
||||
>=media-libs/libjpeg-turbo-3.0.0
|
||||
>=media-libs/libexif-0.6.24
|
||||
>=media-video/ffmpeg-4.4.4-r9
|
||||
>=media-gfx/graphicsmagick-1.3.42
|
||||
>=gnome-base/librsvg-2.57.3
|
||||
>=media-libs/libexif-0.6.24
|
||||
>=media-libs/libjpeg-turbo-3.0.0
|
||||
>=media-libs/libsixel-1.10.3-r1
|
||||
>=media-gfx/graphicsmagick-1.3.42
|
||||
>=media-video/ffmpeg-4.4.4-r9
|
||||
>=x11-libs/cairo-1.18.0
|
||||
>=app-text/poppler-24.04.0[cairo]
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
EAPI=8
|
||||
|
||||
inherit cmake desktop xdg toolchain-funcs fortran-2
|
||||
inherit cmake desktop xdg fortran-2
|
||||
|
||||
DESCRIPTION="Open-source Modelica-based modeling and simulation environment"
|
||||
HOMEPAGE="https://openmodelica.org/"
|
||||
@@ -22,61 +22,58 @@ SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/lapack-3.10
|
||||
>=dev-libs/boost-1.84.0-r3
|
||||
>=virtual/opencl-3-r3
|
||||
>=net-misc/curl-8.7.1-r4
|
||||
>=sys-libs/readline-8.2_p10
|
||||
>=app-text/asciidoc-10.2.0
|
||||
>=virtual/libintl-0-r2
|
||||
>=virtual/libiconv-0-r2
|
||||
>=virtual/blas-3.8
|
||||
>=virtual/lapack-3.10
|
||||
>=virtual/jdk-17
|
||||
>=virtual/pkgconfig-3
|
||||
>=app-text/doxygen-1.9.8
|
||||
>=dev-libs/boost-1.84.0-r3
|
||||
>=dev-games/openscenegraph-3.6.5-r114
|
||||
dev-lang/python:3.12
|
||||
>=dev-libs/expat-2.5.0
|
||||
>=dev-libs/icu-74.2
|
||||
>=dev-libs/libxml2-2.12.7
|
||||
>=dev-python/kiwisolver-1.3.2
|
||||
>=dev-python/matplotlib-3.3
|
||||
>=dev-python/numpy-1.26.4
|
||||
>=dev-python/pandas-1.1.3
|
||||
>=dev-python/pillow-9.0.1
|
||||
>=dev-python/pytest-8.2.2
|
||||
>=dev-python/six-1.16.0-r1
|
||||
>=dev-python/sphinx-7.3.7-r2
|
||||
dev-qt/qtconcurrent:5
|
||||
dev-qt/qtprintsupport:5
|
||||
dev-qt/qtxml:5
|
||||
dev-qt/qtopengl:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qtwebengine:5[widgets]
|
||||
dev-qt/qtxmlpatterns:5
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtdeclarative:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtopengl:5
|
||||
dev-qt/qtpositioning:5[qml]
|
||||
dev-qt/qtprintsupport:5
|
||||
dev-qt/qtquickcontrols:5
|
||||
dev-qt/qtquickcontrols2:5
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qtwebengine:5[widgets]
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtxml:5
|
||||
dev-qt/qtxmlpatterns:5
|
||||
dev-qt/qtwebchannel:5[qml]
|
||||
dev-qt/qtpositioning:5[qml]
|
||||
>=dev-games/openscenegraph-3.6.5-r114
|
||||
>=virtual/opengl-7.0-r2
|
||||
>=dev-libs/expat-2.5.0
|
||||
>=net-misc/omniORB-4.3.0
|
||||
>=dev-python/six-1.16.0-r1
|
||||
>=dev-python/pytest-8.2.2
|
||||
>=dev-python/numpy-1.26.4
|
||||
>=dev-python/matplotlib-3.3
|
||||
>=dev-python/kiwisolver-1.3.2
|
||||
>=dev-python/pillow-9.0.1
|
||||
>=dev-python/pandas-1.1.3
|
||||
dev-lang/python:3.12
|
||||
"
|
||||
|
||||
# dev-libs/libxml2 only needed if compiled with -DOM_OMEDIT_ENABLE_LIBXML2=ON
|
||||
RDEPEND+="
|
||||
>=dev-libs/libxml2-2.12.7
|
||||
>=dev-libs/icu-74.2
|
||||
>=app-text/doxygen-1.9.8
|
||||
>=dev-python/sphinx-7.3.7-r2
|
||||
>=sys-devel/flex-2.6.4-r6
|
||||
>=sys-apps/hwloc-2.9.2
|
||||
>=net-misc/curl-8.7.1-r4
|
||||
>=sci-libs/hdf5-1.14.3-r1
|
||||
>=sys-apps/hwloc-2.9.2
|
||||
>=sys-devel/flex-2.6.4-r6
|
||||
>=sys-libs/ncurses-6.4_p20240414
|
||||
>=sys-libs/readline-8.2_p10
|
||||
>=virtual/blas-3.8
|
||||
>=virtual/jdk-17
|
||||
>=virtual/lapack-3.10
|
||||
>=virtual/libiconv-0-r2
|
||||
>=virtual/libintl-0-r2
|
||||
>=virtual/opencl-3-r3
|
||||
>=virtual/opengl-7.0-r2
|
||||
>=virtual/pkgconfig-3
|
||||
"
|
||||
|
||||
BDEPEND="dev-util/ccache"
|
||||
BDEPEND="
|
||||
dev-util/ccache
|
||||
media-gfx/imagemagick
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
@@ -134,7 +131,7 @@ src_compile() {
|
||||
# OMSens is disabled in "${WORKDIR}/${P}/CMakeLists.txt" (## omc_add_subdirectory(OMSens)) due to lack of a
|
||||
# working "${WORKDIR}/${P}/OMSens/CMakeLists.txt". So, we compile it manually.
|
||||
pushd OMSens/fortran_interface > /dev/null || die
|
||||
$(tc-getFC) -fPIC -c Rutf.for Rut.for Curvif.for || die
|
||||
${FC} -fPIC -c Rutf.for Rut.for Curvif.for || die
|
||||
# BUG: Undefined symbol curvif_ in
|
||||
# ${WORKDIR}/${P}/OMSens/fortran_interface/curvif_simplified.cpython-312-x86_64-linux-gnu.so
|
||||
# See with nm or objdump -tT
|
||||
@@ -157,8 +154,10 @@ src_install() {
|
||||
|
||||
newicon -s scalable OMShell/OMShell/OMShellGUI/Resources/omshell-large.svg omshell.svg
|
||||
newicon -s scalable OMNotebook/OMNotebook/OMNotebookGUI/Resources/OMNotebook_icon.svg OMNotebook.svg
|
||||
# No proper icon for Linux available from upstream for OMEdit
|
||||
make_desktop_entry "OMEdit %F" OMedit "" "Physics;" "MimeType=text/x-modelica;"
|
||||
mogrify OMEdit/OMEditLIB/Resources/icons/omedit.ico[0] -thumbnail 256x256 -flatten || die
|
||||
newicon -s 256 OMEdit/OMEditLIB/Resources/icons/omedit.ico omedit.png
|
||||
|
||||
make_desktop_entry "OMEdit %F" OMedit omedit "Physics;" "MimeType=text/x-modelica;"
|
||||
make_desktop_entry OMShell OMShell omshell "Physics;"
|
||||
make_desktop_entry "OMNotebook %f" OMNotebook OMNotebook "Physics;"
|
||||
|
||||
|
||||
1
sys-apps/save-backlight/Manifest
Normal file
1
sys-apps/save-backlight/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST save-backlight-1.1.2.tar.gz 13516 BLAKE2B fb8511a6c7e8941cd2eaaa46eb1899ad9e32cd79d9472e60bcc4cc00c2b39fff1569202030077e9fd649c79710b926b4534953d4a945007741d79da4fd4b671f SHA512 a739796560c02e80b9b1a12b12b9ee9f9e2c93ef81ac2c1f07b8b49aa77481843e58379d39f28e644b2be4ec76a36a9578139a617ffa0b536e76133cede1c382
|
||||
17
sys-apps/save-backlight/metadata.xml
Normal file
17
sys-apps/save-backlight/metadata.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>beatussum@protonmail.com</email>
|
||||
<name>Mattéo Rossillol‑‑Laruelle</name>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
<upstream>
|
||||
<maintainer status="active">
|
||||
<name>Mattéo Rossillol‑‑Laruelle</name>
|
||||
<email>beatussum@protonmail.com</email>
|
||||
</maintainer>
|
||||
<bugs-to>https://github.com/beatussum/save-backlight/issues/</bugs-to>
|
||||
<remote-id type="github">beatussum/save-backlight</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
28
sys-apps/save-backlight/save-backlight-1.1.2.ebuild
Normal file
28
sys-apps/save-backlight/save-backlight-1.1.2.ebuild
Normal file
@@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="An OpenRC service for restoring the last brightness level on reboot"
|
||||
HOMEPAGE="https://github.com/beatussum/save-backlight/"
|
||||
|
||||
if [[ "${PV}" = 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/beatussum/save-backlight.git"
|
||||
else
|
||||
SRC_URI="https://github.com/beatussum/save-backlight/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
RESTRICT="binchecks strip test"
|
||||
|
||||
RDEPEND="sys-apps/openrc"
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
emake PREFIX="" DESTDIR="${D}" install
|
||||
}
|
||||
28
sys-apps/save-backlight/save-backlight-9999.ebuild
Normal file
28
sys-apps/save-backlight/save-backlight-9999.ebuild
Normal file
@@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="An OpenRC service for restoring the last brightness level on reboot"
|
||||
HOMEPAGE="https://github.com/beatussum/save-backlight/"
|
||||
|
||||
if [[ "${PV}" = 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/beatussum/save-backlight.git"
|
||||
else
|
||||
SRC_URI="https://github.com/beatussum/save-backlight/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
RESTRICT="binchecks strip test"
|
||||
|
||||
RDEPEND="sys-apps/openrc"
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
emake PREFIX="" DESTDIR="${D}" install
|
||||
}
|
||||
@@ -10,12 +10,4 @@
|
||||
<bugs-to>https://github.com/jimsalterjrs/sanoid/issues</bugs-to>
|
||||
<remote-id type="github">jimsalterjrs/sanoid</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="lzop">
|
||||
Enable compression with app-arch/lzop
|
||||
</flag>
|
||||
<flag name="pigz">
|
||||
Enable compression with app-arch/pigz
|
||||
</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -48,16 +48,16 @@ src_install() {
|
||||
|
||||
insinto /etc/sanoid
|
||||
doins "sanoid.defaults.conf"
|
||||
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
elog "You will need to set up your /etc/sanoid/sanoid.conf file before"
|
||||
elog "running sanoid for the first time. For details, please consult the"
|
||||
elog "documentation on https://github.com/jimsalterjrs/sanoid."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "lzop compression support" app-arch/lzop
|
||||
optfeature "pigz compression support" app-arch/pigz
|
||||
optfeature "zstd compression support" app-arch/zstd
|
||||
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
elog "You will need to set up your ${EROOT}/etc/sanoid/sanoid.conf file before"
|
||||
elog "running sanoid for the first time. For details, please consult the"
|
||||
elog "documentation on https://github.com/jimsalterjrs/sanoid."
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -48,16 +48,16 @@ src_install() {
|
||||
|
||||
insinto /etc/sanoid
|
||||
doins "sanoid.defaults.conf"
|
||||
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
elog "You will need to set up your /etc/sanoid/sanoid.conf file before"
|
||||
elog "running sanoid for the first time. For details, please consult the"
|
||||
elog "documentation on https://github.com/jimsalterjrs/sanoid."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "lzop compression support" app-arch/lzop
|
||||
optfeature "pigz compression support" app-arch/pigz
|
||||
optfeature "zstd compression support" app-arch/zstd
|
||||
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
elog "You will need to set up your ${EROOT}/etc/sanoid/sanoid.conf file before"
|
||||
elog "running sanoid for the first time. For details, please consult the"
|
||||
elog "documentation on https://github.com/jimsalterjrs/sanoid."
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
DIST betterlockscreen-4.2.0.tar.gz 18383 BLAKE2B ba5f6c4d63b1b8f48bf3a805207cb45a240f1f7262c3ae8e0a163dd03c6d84d5b7621216511cf3f1c37e49191750a4adab03cbde252fab3784c380d21577a612 SHA512 e8445c10d3bcf59db782c9afbb15114e3191e5a689a84eab4976905ac7ab003228cb34c4805fccea160c9b0b87fdb51f4af8bfba1b19b850961f34b15ca9fbcb
|
||||
DIST betterlockscreen-4.3.0.tar.gz 18267 BLAKE2B 2f1d6929762f8c924d6ccaa761fa9f6041f30011da41438f068ffb6f90ecfd4c896075eb843ef2c505ea9beef206e85b34bfebacd636dc0f75339158daaac38d SHA512 30d79223fb7fcbf26f49929538c613d392cfa67af91f1f49d7d0e4a650f242023ff5ea6909b8a5c3509b014ce0be054160e743d0b18ba2ed52e31d51cea74b0f
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools shell-completion
|
||||
inherit autotools out-of-source shell-completion
|
||||
|
||||
MY_PV="$(ver_cut 1-2).c.$(ver_cut 3)"
|
||||
|
||||
@@ -45,7 +45,7 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
out-of-source_src_install
|
||||
newbashcomp i3lock-bash i3lock
|
||||
newzshcomp i3lock-zsh _i3lock
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user