Merge updates from master

This commit is contained in:
Repository mirror & CI
2025-06-25 23:36:52 +00:00
16 changed files with 268 additions and 185 deletions

View File

@@ -0,0 +1,2 @@
DIST edit-1.2.0-crates.tar.xz 8405144 BLAKE2B 8c9ecb1b05eb04cd36c3e33f6d34ce0ea3445c2b2813ce9081e622e26f29e9c2fd9d8390b8516e00dfe1f037300722de4498ded25a88633175896c0eb55ed43f SHA512 d9e7314f2c4a24494da12f1d0ed7526710269311b6c2d768a495873e475ff8f0ce81740e83bf8810e00306bdd7dcb78eb63f799f70ad4ce1e5b94180a208c218
DIST edit-1.2.0.tar.gz 457585 BLAKE2B 7babfe066155d98d88945d0c2952ecaeb9074a3ca9fa2c4925b0a26591f63be268558cdaea8637d5e67fdf03975a7fbf3726a77b23b4b632a7b8b751acaadbfa SHA512 72d32f0b46c32195e9198a02be650ad607b3c4ebc36f62d73e38e36f2660b4ed3c51bd2a51a0326c639a45133e7b627a3002946e4047e04c8c5ef5169d6aca02

View File

@@ -0,0 +1,61 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Autogenerated by pycargoebuild 0.14.0
EAPI=8
CRATES=""
RUST_MIN_VER="1.87.0"
inherit cargo desktop xdg-utils
DESCRIPTION="Microsoft edit"
HOMEPAGE="https://github.com/microsoft/edit"
SRC_URI="
https://github.com/microsoft/edit/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/freijon/edit/releases/download/v${PV}/${P}-crates.tar.xz
"
LICENSE="MIT"
# Dependent crate licenses
LICENSE+=" Apache-2.0 MIT Unicode-3.0"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
dev-libs/icu
"
RDEPEND="${DEPEND}"
BDEPEND="
virtual/pkgconfig
"
QA_FLAGS_IGNORED="usr/bin/${PN}"
src_configure() {
# high magic to allow system-libs
export PKG_CONFIG_ALLOW_CROSS=1
export RUSTC_BOOTSTRAP=1
cargo_src_configure
}
src_install() {
cargo_src_install
doicon -s scalable "assets/${PN}.svg"
domenu "assets/com.microsoft.${PN}.desktop"
}
pkg_postinst() {
xdg_desktop_database_update
xdg_icon_cache_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
}

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Jonas Frei</name>
<email>freijon@pm.me</email>
</maintainer>
<upstream>
<remote-id type="github">microsoft/edit</remote-id>
<bugs-to>https://github.com/microsoft/edit/issues</bugs-to>
</upstream>
</pkgmetadata>

View File

@@ -1,15 +1,3 @@
DIST doublecmd-1.1.23.gtk2.i386.tar.xz 8296328 BLAKE2B 51855de86bc8ab043011a11054d15e15f5f07e3433787d03b7cd7fead65fe8a92db575b7f693c24651a0b6ecd1310c2497eb81cc39494fe78272d843c61d231b SHA512 a7e7801943afb3c59f15eb9d23974e2effe86f2bb851a8a85d0bc817edc89b4a36de822ac99cb75bedcf090990dd2feedad0ba6316a97a3ba5bfec92b3e3ebd4
DIST doublecmd-1.1.23.gtk2.x86_64.tar.xz 9038884 BLAKE2B 1b5024ad03011ebb75f8f7ced51a7c14966ad21271b868a973519fe9c89094aa29c58416ed322f8090901c8de031632b98ac6d2a1d31f3c0d3c81b973e6b0419 SHA512 c3bdb6493b29864f99a53b3141ac6bad9a32f3bb36be43e1c57a951dc27d426db2da389adae4bd0a8a46aad9b04ecd36a6e7b0c5b1de7c630eaedcb4b7809d74
DIST doublecmd-1.1.23.qt.i386.tar.xz 8710404 BLAKE2B 48a85219bfdefc09711ab8f0f7c5d14ecd43f4746ef5eb5cbc6f5d0c274e8a529b219d08deb2a8a5c25585d75432ccd53ae227e306f0bdaf5cc757135429e5ec SHA512 306069850672bfc67df44b08ce4b32a16d45c631c0dce8753b9af5fabb4f38e0b150f9fd1fbc32408df258533ff3d24694799a91869c712f6ff5caf6dbae95aa
DIST doublecmd-1.1.23.qt.x86_64.tar.xz 9396044 BLAKE2B f57f8bcb705bcea09c1a90b1136aa62605988a87889c9a4a42ac10f909293c4c0366bbbe91fad7066c785885694976ad019dfca45c139872940324d58a4c5491 SHA512 b8b0d4673938b4ee2c1363e5ea4d16ba00cb1e1c9d0ddbfd4e7ab8cb0ed86cef7e6dbc41394dda1ab451ff9dbbd64b706595e9cb420cd4297216c3ccdd85f420
DIST doublecmd-1.1.23.qt6.x86_64.tar.xz 9468420 BLAKE2B 3a8d031bd4fb63e4f699432653f0757e327245c92593bc53625724b89099ae5b763f9c15409527ccb1402c43fff2d21298b4155e4d5d5eaf5e18f60ae6f51a18 SHA512 2dcd9baae310afd6b6bcdb99c8c366286e57b2e3c640098a761c946539b303565deab39886e5911d46d232ab29997e1d4707caee2e1ac28baff5abea7f99ef31
DIST doublecmd-1.1.24.gtk2.i386.tar.xz 8382020 BLAKE2B c86bed92354f2977b82337013437b1b622492fc7921312a64df8103cf273948ba61355fbc76cfb9ac4d46e8717ca6fb71169cd1980f30d9cdf90e44cdb9adf80 SHA512 0fef079c6a68b17eb5be5d585245e9b56a281528c84bce4ab981c06139e36e444fec2d74bc52234bd10a12ffe01d7051e285c5a173c15d45f975a78feff1eb7b
DIST doublecmd-1.1.24.gtk2.x86_64.tar.xz 9121932 BLAKE2B fee0031984a31bbc8b4b12ed153ec94b97196e19251991e465e3f1e25f37a27d1aa8ae30dfa328521a3aa670441e7861ce38cedb1d9145dab37b3aa3ed464420 SHA512 625502e060a2807b46575a24b3ef199420707f234dda5e4391737a1354520ca9b41953d4a0ecad558e56aeef54d01aec33e388ee64d57d93e9400f2200615a44
DIST doublecmd-1.1.24.qt.i386.tar.xz 8797584 BLAKE2B 8b147efc8e7624eba2831e968aca1a2bdef57099920dc260cdcf17dff594a5f647bf6df63730a43e015304f9112723b3407ac4d89bcb54b919a6ca172bfc34f7 SHA512 224fdf4127d41b88d763f4b3aab84a74de18eaea3af0303ff379d2afa31d682355666f6fb99643ec698d75aa6b37bc759b147712cfbc5befd56f3f236d3312af
DIST doublecmd-1.1.24.qt.x86_64.tar.xz 9484868 BLAKE2B 1b602bafec49d29e725a4911bc33dfeed691f99bd7d1eee35c74c4366ab2a4665b302a884f607bf2d20383b7b67e3799e04866b27b465653319cf38df3a1e906 SHA512 99a0933936a2c050a8a79b5aae00a08c15e7fcd5bec008acf7ad2357e131bd988213bab0114a8bf9c1e90745c74cf280bc0d3bbef5fcb531a65d0f178769b0b7
DIST doublecmd-1.1.24.qt6.x86_64.tar.xz 9545416 BLAKE2B 21d04b0cbca8974d43cfa6f12abe0f8f3fc52b777568464e631b2aa997a7414feb734ea043fb12d08968f2ca3586e0318cfe126d73cf3f924a600004435feb74 SHA512 3c849565932ce85c79ec87efe02dac9f8f61fceeea32134c2863e60e28646497cafafcd9d4f7358a27606e674a7acf5db34ca0a17830c1d8ba19cd3cf2a61090
DIST doublecmd-1.1.26.gtk2.i386.tar.xz 8406120 BLAKE2B 708029270eed7371dba6d41410861fe0c641bcfafe1ec72b87827aa0c52103aa1c7d9830352d8de93afcdbcadad2d469986c77db847894fe47975b959722a291 SHA512 54a3c57f3257aac8e244554afcfe9415b7f29cf779e023fd9c243538ec8f7e985ee6c3217921f240c72b503abfe52f61387f07b142be26a216745624ca5ce604
DIST doublecmd-1.1.26.gtk2.x86_64.tar.xz 9153932 BLAKE2B 96c255028221878540db244be1d0d86d5025389ebbb899be035f665ddcbb625e155edb97fe511afdb477b4258253aa1010e94e2eef1022274685fe7ac5dc5365 SHA512 4ba3d9fc7f1e322eea1f6ade91852744e8971c893cb746eab3f08a0e0046536edfa62e39f4fbd6a61b47d412916d51df29fa80a26a7054bd5e1a44a8c37f4ca0
DIST doublecmd-1.1.26.qt.i386.tar.xz 8821652 BLAKE2B 466134f8232475f3944d80a736ea455b08390cdf662b0a42d361adb1450670689ef9e9bdd55fb3b7d53cce92bb0257ae6158f444a2034a91a8d6dad1f4e92648 SHA512 9e5b0794e28e2ea9b464b78fe386c235187f5645315296c810980ed170c22217b8274ebd05834ed67e0b2b6281648b85e54816e461bbac05018d42f8d1148407
DIST doublecmd-1.1.26.qt.x86_64.tar.xz 9515584 BLAKE2B f6e0e1933c1b48e3dfc188e4f652b4edae7845b029534822ac8b919202f1421d688bf1a9d5f84f8cf6bc573b9109c6cab61ed7d84a632dbe448ddc3b4da91b27 SHA512 34f1b3ad0b87a0914235d5e2ebfa36381dba2ed796a9bb981a0ca194c76e99970521bf288a2cd4053667873259929940683553829efac28f1f35c29dccb67f6a
DIST doublecmd-1.1.26.qt6.x86_64.tar.xz 9574828 BLAKE2B 5867e56473c043fdc0fc9e3105134c3ba49ef6054bd48ffbc0fef25dc835968329da89ff04d5a38a584cc9ea65f2b2fd51fdcb6646d995e03e64a7b88fc3ce99 SHA512 e992ef843fc0d12dcb9ffb0a19bf9901e8603b873b39c62ac318b0f7a6775cd3e97d26321c29a46667a1d91e2452761abaafe4161c9a0a2fdcce84ad973fb9d6

View File

@@ -1,74 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop wrapper xdg
MY_PN="doublecmd"
DESCRIPTION="Free cross platform open source file manager with two panels side by side."
HOMEPAGE="https://doublecmd.sourceforge.io/"
SRC_URI="amd64? (
gtk? ( https://downloads.sourceforge.net/${MY_PN}/${MY_PN}-${PV}.gtk2.x86_64.tar.xz )
qt5? ( https://downloads.sourceforge.net/${MY_PN}/${MY_PN}-${PV}.qt.x86_64.tar.xz )
qt6? ( https://downloads.sourceforge.net/${MY_PN}/${MY_PN}-${PV}.qt6.x86_64.tar.xz )
)
x86? (
gtk? ( https://downloads.sourceforge.net/${MY_PN}/${MY_PN}-${PV}.gtk2.i386.tar.xz )
qt5? ( https://downloads.sourceforge.net/${MY_PN}/${MY_PN}-${PV}.qt.i386.tar.xz )
)"
S="${WORKDIR}/${MY_PN}"
# Licenses for package and plugins
LICENSE="GPL-2+ LGPL-2-with-linking-exception LGPL-2.1+ LGPL-3 GPL-1 freedist"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE="gtk qt5 qt6"
REQUIRED_USE=" ^^ ( gtk qt5 qt6 ) "
QA_PREBUILT="
*/doublecmd
*/libQt5Pas.so.1
*/libQt6Pas.so.6
*/libunrar.so
*/plugins/.*
"
## "ldd doublecmd" output show linking to some libraries provided by sys-libs/glibc:2.2
## (maybe virtual/libc-1) and no libraries of sys-libs/ncurses (that removed here).
## x11-libs/X11 is optional dependency of dev-qt/qtgui:5 by [xcb] or [X]
## therefore it is mentioned here explicitly.
RDEPEND="
dev-libs/glib:2
sys-apps/dbus
x11-libs/libX11
virtual/libc
gtk? ( x11-libs/gtk+:2 )
qt5? (
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
)
qt6? (
dev-qt/qtbase:6[gui,widgets]
)
"
src_install(){
insinto "/opt/${PN}"
doins -r "${S}/."
# Remove doublecmd.inf to use config from user home directory
rm "${ED}/opt/${PN}"/settings/doublecmd.inf || die
exeinto "/opt/${PN}"
doexe "${S}/${MY_PN}"
make_wrapper ${MY_PN} "/opt/${PN}/${MY_PN}" "" "/opt/${PN}" "/opt/bin/"
doicon -s 48 ${MY_PN}.png
make_desktop_entry "${MY_PN}" "Double Commander" "${MY_PN}" "Utility;" || die "Failed making desktop entry!"
}

View File

@@ -9,15 +9,13 @@ MY_PN="doublecmd"
DESCRIPTION="Free cross platform open source file manager with two panels side by side."
HOMEPAGE="https://doublecmd.sourceforge.io/"
SRC_URI="amd64? (
gtk? ( https://downloads.sourceforge.net/${MY_PN}/${MY_PN}-${PV}.gtk2.x86_64.tar.xz )
qt5? ( https://downloads.sourceforge.net/${MY_PN}/${MY_PN}-${PV}.qt.x86_64.tar.xz )
SRC_URI="
amd64? (
!qt6? ( https://downloads.sourceforge.net/${MY_PN}/${MY_PN}-${PV}.gtk2.x86_64.tar.xz )
qt6? ( https://downloads.sourceforge.net/${MY_PN}/${MY_PN}-${PV}.qt6.x86_64.tar.xz )
)
x86? (
gtk? ( https://downloads.sourceforge.net/${MY_PN}/${MY_PN}-${PV}.gtk2.i386.tar.xz )
qt5? ( https://downloads.sourceforge.net/${MY_PN}/${MY_PN}-${PV}.qt.i386.tar.xz )
)"
x86? ( https://downloads.sourceforge.net/${MY_PN}/${MY_PN}-${PV}.gtk2.i386.tar.xz )
"
S="${WORKDIR}/${MY_PN}"
@@ -26,12 +24,10 @@ LICENSE="GPL-2+ LGPL-2-with-linking-exception LGPL-2.1+ LGPL-3 GPL-1 freedist"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE="gtk qt5 qt6"
REQUIRED_USE=" ^^ ( gtk qt5 qt6 ) "
IUSE="qt6"
QA_PREBUILT="
*/doublecmd
*/libQt5Pas.so.1
*/libQt6Pas.so.6
*/libunrar.so
*/plugins/.*
@@ -39,23 +35,27 @@ QA_PREBUILT="
## "ldd doublecmd" output show linking to some libraries provided by sys-libs/glibc:2.2
## (maybe virtual/libc-1) and no libraries of sys-libs/ncurses (that removed here).
## x11-libs/X11 is optional dependency of dev-qt/qtgui:5 by [xcb] or [X]
## therefore it is mentioned here explicitly.
## Once per-profile USE masking works in overlays, mask the qt6 USE flag for x86 and
## revert RDEPEND hack.
GTK_DEPS="
app-accessibility/at-spi2-core:2
x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:2
x11-libs/pango
"
RDEPEND="
dev-libs/glib:2
sys-apps/dbus
x11-libs/libX11
virtual/libc
gtk? ( x11-libs/gtk+:2 )
qt5? (
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
)
qt6? (
dev-qt/qtbase:6[gui,widgets]
amd64? (
!qt6? ( ${GTK_DEPS} )
qt6? (
dev-qt/qtbase:6[gui,widgets]
media-libs/libglvnd
)
)
x86? ( ${GTK_DEPS} )
"
src_install(){

View File

@@ -1,74 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop wrapper xdg
MY_PN="doublecmd"
DESCRIPTION="Free cross platform open source file manager with two panels side by side."
HOMEPAGE="https://doublecmd.sourceforge.io/"
SRC_URI="amd64? (
gtk? ( https://downloads.sourceforge.net/${MY_PN}/${MY_PN}-${PV}.gtk2.x86_64.tar.xz )
qt5? ( https://downloads.sourceforge.net/${MY_PN}/${MY_PN}-${PV}.qt.x86_64.tar.xz )
qt6? ( https://downloads.sourceforge.net/${MY_PN}/${MY_PN}-${PV}.qt6.x86_64.tar.xz )
)
x86? (
gtk? ( https://downloads.sourceforge.net/${MY_PN}/${MY_PN}-${PV}.gtk2.i386.tar.xz )
qt5? ( https://downloads.sourceforge.net/${MY_PN}/${MY_PN}-${PV}.qt.i386.tar.xz )
)"
S="${WORKDIR}/${MY_PN}"
# Licenses for package and plugins
LICENSE="GPL-2+ LGPL-2-with-linking-exception LGPL-2.1+ LGPL-3 GPL-1 freedist"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE="gtk qt5 qt6"
REQUIRED_USE=" ^^ ( gtk qt5 qt6 ) "
QA_PREBUILT="
*/doublecmd
*/libQt5Pas.so.1
*/libQt6Pas.so.6
*/libunrar.so
*/plugins/.*
"
## "ldd doublecmd" output show linking to some libraries provided by sys-libs/glibc:2.2
## (maybe virtual/libc-1) and no libraries of sys-libs/ncurses (that removed here).
## x11-libs/X11 is optional dependency of dev-qt/qtgui:5 by [xcb] or [X]
## therefore it is mentioned here explicitly.
RDEPEND="
dev-libs/glib:2
sys-apps/dbus
x11-libs/libX11
virtual/libc
gtk? ( x11-libs/gtk+:2 )
qt5? (
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
)
qt6? (
dev-qt/qtbase:6[gui,widgets]
)
"
src_install(){
insinto "/opt/${PN}"
doins -r "${S}/."
# Remove doublecmd.inf to use config from user home directory
rm "${ED}/opt/${PN}"/settings/doublecmd.inf || die
exeinto "/opt/${PN}"
doexe "${S}/${MY_PN}"
make_wrapper ${MY_PN} "/opt/${PN}/${MY_PN}" "" "/opt/${PN}" "/opt/bin/"
doicon -s 48 ${MY_PN}.png
make_desktop_entry "${MY_PN}" "Double Commander" "${MY_PN}" "Utility;" || die "Failed making desktop entry!"
}

View File

@@ -15,12 +15,10 @@ KEYWORDS="~amd64"
IUSE="doc mysql opengl +pango pdf postgres ssl"
DEPEND="
dev-qt/qtbase:6
<=dev-libs/boost-1.86.0:=
media-libs/libharu
media-gfx/graphicsmagick[jpeg,png]
sys-libs/zlib
mysql? ( virtual/mysql )
opengl? ( virtual/opengl )
pango? ( x11-libs/pango )
@@ -51,9 +49,10 @@ src_configure() {
-DENABLE_POSTGRES=$(usex postgres)
-DENABLE_MYSQL=$(usex mysql)
-DENABLE_FIREBIRD=OFF
# QT is only required for examples
-DENABLE_QT4=OFF
-DENABLE_QT5=OFF
-DENABLE_QT6=ON
-DENABLE_QT6=OFF
-DENABLE_SAML=ON
-DENABLE_OPENGL=$(usex opengl)
)

View File

@@ -46,6 +46,7 @@ RDEPEND="
# Requires networking or additional files not available in the tarball
EPYTEST_DESELECT=(
tests/core/test_upload_component.py::test_check_only_upload_component
tests/test_component_manager.py::test_pack_component_with_examples_errors
tests/test_component_manager.py::test_pack_component_with_dest_dir
tests/test_profile.py::TestMultiStorageClient::test_registry_storage_url

View File

@@ -1 +1,2 @@
DIST pytest_embedded-1.16.1.tar.gz 32837 BLAKE2B 11e28994a9e515656bb7b3416fdac8601e976a75d052e1651064298d00feefee7a81996555dfcd99ae7cf7e1727ba4a67ab0c633ce1c25b85a93565674627657 SHA512 e64bd135c6dbcca8501feb367c5aea7f02381cff034aa65c529f372ae7dd7f3821a58a77419af299aeea3800c44dd9cc80140ac88baa4d45f3eeeee21af2118d
DIST pytest_embedded-1.16.2.tar.gz 32920 BLAKE2B 99ae73c583560135644ffb3afbce483d0856ac39abac6e953ea89634bb7c363c630d2455f376ab21d6d9912e200e2cd663dd02488aa22777259acb9823143c92 SHA512 6d83d05237f4e574238b5c641023a0de9171cc330802d11286887b94cd1d12485237092801217cce06bec6746fd4b9590ec30004617c8178f12505a92165d3ad

View File

@@ -0,0 +1,19 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=flit
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1 pypi
DESCRIPTION="A pytest plugin for embedded systems"
HOMEPAGE="
https://pypi.org/project/pytest-embedded/
https://github.com/espressif/pytest-embedded
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="test"

View File

@@ -0,0 +1,2 @@
DIST topiary-0.6.1-crates.tar.xz 32670876 BLAKE2B 11f34cc0ea749ebd99de276af5bab5e8b49bd826e9346ae0cb372ded2170dec82d7e5b4cddb546f5f1ab1753d968561d1cf7e1be36a8403d83662384217028e6 SHA512 973b4a3704c790710af31052131b6636be97ab8e06692532d447a4fe19da5654d0ed829b1b424d6a8008d04613dc7c4c40cc48ccf1c007a4352719ece48d6402
DIST topiary-0.6.1.tar.gz 2775747 BLAKE2B 688e0d6ce4860f7e8ee26ffeaa1fbfa1a0ff8b856cfc66fb9c2064a6163e47abd3f4f9c15872e23b925a054cc7cdeb69252ef26f34fcda35bb915aad354f7c54 SHA512 94bd32f631c4cf75816cb61217221556ade590b24e2d70f986950a65162197e3279dfdf4a99ab8070f35114ddc02ae3f432b0063f99c5b7d620d8485c303ae14

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Jonas Frei</name>
<email>freijon@pm.me</email>
</maintainer>
<upstream>
<remote-id type="github">tweag/topiary</remote-id>
<bugs-to>https://github.com/tweag/topiary/issues</bugs-to>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,65 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Autogenerated by pycargoebuild 0.15.0
EAPI=8
CRATES=""
inherit cargo shell-completion
DESCRIPTION="CLI app for Topiary, the universal code formatter."
HOMEPAGE="https://topiary.tweag.io"
SRC_URI="https://github.com/tweag/topiary/releases/download/v${PV}/source.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://github.com/freijon/${PN}/releases/download/v${PV}/${P}-crates.tar.xz"
S="${WORKDIR}/${PN}-cli-${PV}"
LICENSE="MIT"
# Dependent crate licenses
LICENSE+="
Apache-2.0 BSD CDLA-Permissive-2.0 ISC LGPL-3 MIT MPL-2.0 MPL-2.0
Unicode-3.0 ZLIB
"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
dev-libs/openssl:0=
"
RDEPEND="${DEPEND}"
BDEPEND="
virtual/pkgconfig
"
src_configure() {
# high magic to allow system-libs
export OPENSSL_NO_VENDOR=true
export RUSTONIG_SYSTEM_LIBONIG=1
export LIBSSH2_SYS_USE_PKG_CONFIG=1
export PKG_CONFIG_ALLOW_CROSS=1
cargo_src_configure
}
src_compile() {
cargo_src_compile
TOPIARY_BIN="$(cargo_target_dir)/${PN}"
# Prepare shell completion generation
mkdir completions || die
local shell
for shell in bash fish zsh; do
"${TOPIARY_BIN}" completion ${shell} > "completions/${PN}.${shell}" || die
done
}
src_install() {
dobin "$(cargo_target_dir)/${PN}"
newbashcomp "completions/${PN}.bash" "${PN}"
dofishcomp "completions/${PN}.fish"
newzshcomp "completions/${PN}.zsh" "_${PN}"
}

View File

@@ -1,2 +1,3 @@
DIST lms-3.66.0.tar.gz 518810 BLAKE2B 0f8b9a6631657f4e0d84f7fb6a98097e8da15384d8787d12f3590ebb884249659a75174c7b4543d393ea36587acbe6beba129f6c5e0543ee64b530ba859da93e SHA512 79234dea4bb7eb57273acd22dec5f0461d42fac5dc708bb789b258259da87a091e3c9b1af2e2026cc9bf3feedbc703a6d1dc4db031853b6236f966881d416448
DIST lms-3.66.1.tar.gz 521133 BLAKE2B f92446f0b7910ba4cdca659b266e684c0cfa4e93dc0605d1a8d09005288da1d168847e64e08f3110d39a4be28db71656f521605801bb3fff0d9370be74bdcdd8 SHA512 62ae1b8b9eed38fd272aadfe3527d8dcb60bf8d51167bd290e29af360a3a6e873b6e93b1415dcca411ca6d5e4ee1adaad2c0da5e2c68c287f97f424096afe1e6
DIST lms-3.67.0.tar.gz 534828 BLAKE2B 9c215a6c5c546bce3b21909005fc7d2069973830e9a5223515088cde50cc89f5fb75e6d8d9f572230961ad56421206f20872f93935879d255dd0e4efc8c8d80d SHA512 553c4e0ed6f7a1ba05b6cd22dc0833df7d7fd172a0f77ff275814d3f5c9e70da5ffb134b01397096eff253195702ee29b2d05820333f33910f338f924942ebb9

View File

@@ -0,0 +1,68 @@
# Copyright 2024-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake pam systemd
DESCRIPTION="Lightweight Music Server."
HOMEPAGE="https://lms-demo.poupon.dev/ https://github.com/epoupon/lms"
SRC_URI="https://github.com/epoupon/lms/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test +stb"
RESTRICT="!test? ( test )"
RDEPEND="
app-arch/libarchive
acct-user/lms
dev-cpp/wt:=
dev-libs/boost:=
dev-libs/libconfig[cxx]
media-libs/taglib:=
media-video/ffmpeg[lame,opus]
sys-libs/pam
!stb? ( media-gfx/graphicsmagick )
"
DEPEND="
${RDEPEND}
dev-libs/xxhash
stb? ( dev-libs/stb )
"
BDEPEND="
test? ( dev-cpp/gtest )
"
src_configure() {
local mycmakeargs=(
-DLMS_IMAGE_BACKEND=$(usex stb stb graphicsmagick)
-DENABLE_TESTS=$(usex test)
)
cmake_src_configure
}
src_install() {
cmake_src_install
systemd_newunit conf/systemd/default.service lms.service
newinitd "${FILESDIR}/lms.init" lms
dopamd conf/pam/lms
mv "${ED}/usr/share/lms/lms.conf" "${ED}/etc/lms.conf" || die
# Already installed in the proper directory
rm "${ED}/usr/share/lms/default.service" || die
rm "${ED}/usr/share/lms/lms" || die
keepdir /var/log/lms
fowners -R lms:lms /var/log/lms
keepdir /var/lms
fowners lms:lms /var/lms
}