Compare commits

...
9 Commits
98 changed files with 241 additions and 89 deletions

No files matched your search

+19 -7
View File
@@ -23,15 +23,27 @@ that the x86_64 packages work. Other architectures are built with the same
templates and are expected to work, but I cannot test them myself. Let me know
if changes should be made for them to work on other architectures.
## Packages
## Packages: GLibC
| Package | x86_64 | aarch64 | x86_64-musl | aarch64-musl | Description | Notes |
| Package | x86_64 | aarch64 | i686 | armv7l/armv6l | Description | Notes |
|---------|:------:|:-------:|:-----------:|:------------:|-------------|-------|
| `twintaillauncher` | ✅ | ✅ | ❌ | ❌ | Multi-platform launcher for anime-styled games. | Should work OOTB |
| `portprotonqt` | ✅ | ✅ | ❌ | ❌ | Unified Qt6 launcher for Steam, GOG, Epic and PortProton | If something doesn't work downloading some of the [`optional dependencies`](srcpkgs/portprotonqt/files/README.voidlinux) |
| `limo` | - | - | - | - | General-purpose mod manager with LOOT integration | Template WIP... |
| `libloot` | - | - | - | - | Library prov. LOOT metadata, etc. | Template WIP, dependency for Limo. |
| `cpr` | - | - | - | - | C++ Requests HTTP client library. | Template WIP, dependency for Limo. |
| `portprotonqt` | ✅ | ✅ | ❌ | ❌ | Unified Qt6 launcher for Steam, GOG, Epic and PortProton | If something doesn't work download some of the [`optional dependencies`](srcpkgs/portprotonqt/files/README.voidlinux) |
| `amethyst-mod-manager` | ✅ | - | ❌ | ❌ | General-purpose mod manager with LOOT integration. | LOOT enabled by default, possible to disable it building the template with -o noloot. Making it work on aarch64 should be possible but I have tried different methods and templates and couldn't do it. Maybe it's buildable with the [`template`](srcpkgs/amethyst-mod-manager/template) in a native aarch64 device... |
| `python3-libloot` | ✅ | ✅ | ✅ | ✅ | Experimental Python wrapper around libloot | Optional dependency for amethyst-mod-manager, but can probably be used for other purposes too. |
| `python3-bsdiff4` | ✅ | ✅ | ✅ | ❌ | Binary diff and patch using the BSDIFF4-format (python3). | Dependency for amethyst-mod-manager, but can probably be used for other purposes too. |
| `mullvadvpn` | ✅ | ✅ | ✅ | ✅ | Mullvad VPN client app (CLI ONLY) | Used the template of [`dkwo`](https://github.com/dkwo) that is currently (since 2025) [`trying to be merged into the official void-packages`](https://github.com/void-linux/void-packages/pull/56005). |
| `mullvad-tui` | ✅ | ✅ | ✅ | ✅ | Terminal User Interface for Mullvad VPN | Interesting TUI to be used with mullvadvpn since the official GUI is made with electron |
## Packages: musl-libc
If a package is not listed it's not even available for any of the archs listed here.
| Package | x86_64-musl | aarch64-musl | [armv6l/armv7l]-musl | Description | Notes |
|---------|:------:|:-------:|:-----------:|-------------|-------|
| `python3-bsdiff4` | ✅ | ✅ | ❌ | Binary diff and patch using the BSDIFF4-format (python3). | Dependency for amethyst-mod-manager, but can probably be used for other purposes too. |
| `mullvadvpn` | ✅ | ✅ | ✅ | Mullvad VPN client app (CLI ONLY) | Used the template of [`dkwo`](https://github.com/dkwo) that is currently (since 2025) [`trying to be merged into the official void-packages`](https://github.com/void-linux/void-packages/pull/56005). |
| `mullvad-tui` | ✅ | ✅ | ✅ | Terminal User Interface for Mullvad VPN | Interesting TUI to be used with mullvadvpn since the official GUI is made with electron |
## Repository key
@@ -56,7 +68,7 @@ If it doesn't, `xbps-install -S` will fail to fetch the repository metadata and
Check the Packages table above to see what's available.
```bash
echo 'repository=https://git.erisu.de/Erisu/erisus-void-packages/raw/branch/master/${xbps-uhelper arch}' | doas tee /etc/xbps.d/10-erisus-repo.conf
echo 'repository=https://git.erisu.de/Erisu/erisus-void-packages/raw/branch/master/archs/${xbps-uhelper arch}' | doas tee /etc/xbps.d/10-erisus-repo.conf
doas xbps-install -S
doas xbps-install -S <package_name>
```
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,3 @@
wAЭŶ;&´y·Iš@æZìßez¤“l\VÛ€¾à£ö~FµOOµú†‚ô ␍$L)-Å;Oǹ©í4lT\¿H1“®£Côw¦Š‚.¸Úâ01"Û‡tønE*ÈŽ³_ûR„8cv;Í2kÖ�«>Dû�‰Â␍œmвùhQiôP%x}Òl˜Á~ð¢ÍÃ8‹ˆ|ùœÚ�/9SȽ
Òõ'sg'<ïQ=²Úßóî}|D‚ëâÓ’þ.çÀ`ÜR�ÉKÖ ·L]šªü$�©Ã`6Ï4­cyÜÖd©ß*ù‹­y%zjËN(tF¶¨¨û†þ›¨í^ú�ñpn}Â"NNQív�eN_T!mÌ”­Þq™v�qÙý-R‹øÈöë4%e<±2’º�‹úŸ±EZ59ãÑ£�Á,Ò�F߇/o?’¨ 䥎M‘Ðåu␍«iͲõôISC‹²Û±ùOãq¥%\é^9^¡{�0™­�vC®«õz
Mp ‰ü`;�÷< ò=±^YÜj¸vì�hGÝ@®ŽƒgáÊr¼fS�â“ÞY«Ñí‚!È8÷¢Ò!/GäA0␍¢måJˆß‰ð%T¯±”yý×ýaû€×Õ¥õ¥‘qíµ2ÈÇF`Ø"È–Ó¬‘’*Ì
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
*«4Y›%cëQ�é+&Ï;ï½»I~:ïg넃ôf€�Wzî(`ó¡?¬ˆ$p®§bé›±šàVŽ,z_:ƒ1W¯“˜lÆ~@„Їñw%Ô„áÐl¢R"^-Š£¨LYà�K‰[l~÷1žÀ‰xFþ äD¢§ á!¬p·­ �ÕYqÀ` Ö%Öž_mé¨0 fÊZÉk×H!ûÃb&gQÄ›œ~ñÛcV¦�ó¼Ò9$^fêäyõÆ;†Ñž^ÔcIŽMpYVNû|8-�®”Þºi—g4(�î=&#ö2¦ÀÍ„ƒZл©r¥HÚšd°œ«ÿI„ã¿(ãuñV–¬�¤žZ:n‘Œå"H]÷ügî¥$paà¥gs…�ëqжN�û$taݤ/›™Ñ†ölrSÔ#`g$ªDìIL&õºÏ±­7ãSðHô`(×M›rŒ¢j½@ ÝŠYN†ÍØæ—Ùú;»A†Ì•?A¡2ù¡*÷,VŠGAi•<ç´<æzäŠÃÛãßÖ¤bÄÇxä«]1²NŹŸppGc=ÁE|r†øx9
×iA£ž‘Iâ•O ¤ž¬+Q”zøJì¶b¿±£l¯™@ЊÓe·¼à@ƒÒßKgcé¦)vPTñ.J¢3�¼9ÍíT·Ÿà=rn�­4Š�ÜnŸ§*(lûÙò
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
b{ÊŒzŒÕ�ñ2ªö<ªà|GËÀóˆfÛÕØ»l²þM‡‡Òk É Æï,Y°I␍,Ûíük”2 § p×¶o|{«¨¢@ª_ëøC9>Ðfdát‚Ë¡Úp*JãeÏb\¾îÅÐG’)¡|¥¬øÜW?žªÒSF™ãxRH2Õ@Þ´êÜÜîù:Y€JvMñ;ðwÓÌ,t{?Ö 9ìÜá¼9¶ÿ¡�/‹=Y£â‘ˆ6ð*NžæX<˜�UÙkzè#õ°'[¢³X]§p4G†[§•ÿ �"o§ÆÃݳ-X¶ð¿¡®Àêï4>ÊpvrЙ-e[Ê26¶ò,t>5Œ£ñ3ÍXø;Q�¸ùl5KfrIrY»lÖ B®OïLvR»Ü¹ÿLpËrrú5ܦ§¶�H®Î��t/ŒüªiÌïÁ…\@¥á¢Ðó#oÙžð?Q%ád¶"=8+™ûjEÊ‰Ž¨ª� CÿRâ[ä?|¢³áÇ�ÝÞ’€;Ã.Qgb•hŒÙüÑÅ9/mYƒ+¥/hü^�C�¥àÀ¡$n3dDß«Ûå]úså ‹C³ö’D÷ª†-ãB€!йŸéj8u‚zÑŽJ§¯˜°Å¼œöÇ:/`R(SçoÎs>‚Ãrm¢Þ8Xð
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,3 @@
6g©kPÚ$|®EN
ņÁxîÝõEфֈ]*ü–?bˆj#ýƒ—A"ìÉë´ïŒƒç|‡kŽÞEJYŒ
YxÍìõ1BàÖOªY|Ô*`(Ì^òƧ¢ÉLl ‚Ä1?ÂŒP&ZÀóVÞa:-í%ÔÔ"ËÆi‰?hÅqÇóÍ©X%nG…{� öŸ ^ ␍;vjÈ!6V°Ökî2Óªƒ3,‰—)˜á&ÒÀâkæú˜ Ý#sUuþxùbE­6CÁdÈ}÷É¥¸é)É2ýwËÀcŠqÚ´ž›õƒø–UíÏ×ÿÑ=k< ¥ì²ÏT›��î>Ûr&Cæ®r@»®_`�›å;û7Ý%|¡{·žÏŸÅhjYá3¾G[ÊkB�WáßS~tÐoËG2§¬a ý8ô{€ýÌ7`­¼FŠdGJ˳“¤ÜÁÝçá×q½ò°…¯U␍ÊÙSj!œ¯Ôø= ȤQ—I¯ê5$UöGÉfÆp±ÖjLj�Ù=ËÒü­ª…(BùêÚô/�x‡„ y[›-ˆuë”2„-Ϙ{jÝX4fNBq‘<eg)ñÚŽkkŸ–Æ5=!7ç1&^;>=ä€â¼!¹þÚr}X=œ>:¸þ´¨ â#òò¾üùð€¾ ñÄkç™õ¾VZ\…¬ó¬A¶'sÿ“% rû
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,4 @@
{N‡÷ó�䬨^ù^lÚH潬ÝßåÛhúKr¬6œŸõú][cÁnC {Š×±ëyÐCÕ2ØÊܸÿEuë&e†&r8¸-a ke?ªR �z?tVQœ"N}¸å|n2¼^
[¦íŒ™ºñ'á¯íõI Ñ/R3Vñ÷‰$Iê„6Ÿ ísçž�ûœ,Þ¯>JM½ÖLëM‚+�x‰ªYÂ2™õ¯H•†v9j[ ÈBZÈÀÙN;P~”üè“€Œ4¥ÏϤ¤+y£4þrI¤‹~‹¬6c›^EXÄØ Ë!Nfä'\ƒ+¥—·WÙ;Òþÿ^aäˆeŠ]úHÁ‚T3¹^µ“•l0³'¨ÞÙHã‹2òT-¢�ÿ7ÉÜ©#�"î_ì[iR™£}pn\H©¦¦
¦ï¨Ž ^
wã‘Ëk@öG[¶åðx+÷ë­žH®£ó��]<ÒEÌ-£ÚΕœ¦S%y¸‚Á–.®k‹sÈk©Œ'…erßQ¶�o#¶_.OÀ=DL/!  #íh†ŽëÆår/_úÔk¶É×` ï›L^(nSº«"‘°,Âk5t…AËVƒ¯Þo‚vªã(Ë�/ŠXïI#ò(+î;ë`h»e_sÈ9Éád­_ÈpÝ%óÊÄëíÒÓ€$˜-¦;|+
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
ÚC·¾<
£ê#dòhË*å”¢È �Í6Ö›8„w"ñf'ñv`�àB÷óW*úTpð^¢¼Ck>sß9 ÜoÃÀ$£x¶q訞ñ}Ѫ.wѼ7ÿj¿âpuW¶Þìqéóa*NZªõNçÕ6«€²(Ú_rÌnïxp�Fm/–�yߥÜó#þá: F©”Nš».2Vì±,ŒRà [¸Î%Æ\›¾¿ÇüY÷¦ëù�ÎÐ…¡Üoâ�[‡Æ«ƒãT(Ëõ´(bN4gÖÉ‘ uѼA³cp–¸Æ4é)Ãq×v=u‹x¸�VàËEÊÌQb™Ö ¯ ¿7ÿåÅ4éºL"& ¥ÛÚà\Iô‘¡�¡ejØ\ð½£4ë_Õ³¸oãc`(%ëP3…¹hPôxëgÚUŽ´:é jsØê¹l³NòãÚoªNNÚiåY³b6ý$ÿw…P–DˆA*>7yNKæ¾g#àrÞDµóFw×_…­Z�mmù¹ ¼tô¸A¿Ýóqê#;å�~÷™¡³FJç¶â–¿/A1a —·e‹nMªÔC.‚L7ÎïPØ8ðÞ &D>ƒL1׫mm‡ßU+bžÑœðG|„q§ ¦ëݯéŒÜÉë«Ýqò%§×§œ“½°42ñ˜ØʉüøÂ
Binary file not shown.
Binary file not shown.
+2
View File
@@ -0,0 +1,2 @@
deps=python3-bsdiff4 python3-libloot
bindeps=x86_64 i686
+29
View File
@@ -0,0 +1,29 @@
# Template file for 'amethyst-mod-manager'
pkgname=amethyst-mod-manager
version=2.6.4
revision=1
archs="x86_64 i686"
build_helper="rust python3"
build_style=meson
hostmakedepends="pkg-config cargo"
makedepends="python3-devel qt6-base-devel libarchive-devel"
depends="python3 python3-pyside6 python3-requests python3-py7zr python3-libarchive-c python3-Pillow python3-lz4 python3-zstandard python3-websocket-client python3-keyring python3-jeepney python3-importlib_metadata python3-msgpack python3-bsdiff4 $(vopt_if noloot '' 'python3-libloot')"
short_desc="Native Linux mod manager with optional LOOT plugin sorting"
maintainer="Juan Rojas <juandmcr@protonmail.com>"
license="GPL-3.0-only"
homepage="https://github.com/ChrisDKN/Amethyst-Mod-Manager"
distfiles="https://github.com/ChrisDKN/Amethyst-Mod-Manager/archive/refs/tags/v${version}.tar.gz"
checksum=6ecc1b43873331960bdd11599c6546b86148395b339f9d701dece74fb0b88d05
build_options="noloot"
desc_option_noloot="Build without LOOT plugin sorting"
pre_configure() {
cd "${wrksrc}/native/amethyst_filegraph"
local rust_target="${XBPS_CROSS_RUST_TARGET:-${XBPS_RUST_TARGET}}"
cargo build --release --locked --target "${rust_target}"
cp "target/${rust_target}/release/libamethyst_filegraph.so" \
"${wrksrc}/src/amethyst_filegraph.abi3.so"
}
-1
View File
@@ -1 +0,0 @@
cpr
-25
View File
@@ -1,25 +0,0 @@
# Template file for 'cpr'
pkgname=cpr
version=1.15.1
revision=1
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON -DCPR_USE_SYSTEM_CURL=ON"
makedepends="libcurl-devel openssl-devel"
short_desc="C++ Requests HTTP client library"
maintainer="Juan Rojas <juandmcr@protonmail.com>"
license="MIT"
homepage="https://github.com/libcpr/cpr"
distfiles="https://github.com/libcpr/cpr/archive/refs/tags/${version}.tar.gz"
checksum=c2fc62a030c4ca5d7c3517e8068531297f938bf4ab52bf951d4fc9bbc9222716
post_install() { vlicense LICENSE; }
cpr-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include/cpr
vmove usr/lib/cmake/cpr
vmove "usr/lib/*.so"
}
}
-1
View File
@@ -1 +0,0 @@
libloot
-24
View File
@@ -1,24 +0,0 @@
# Template file for 'libloot'
pkgname=libloot
version=0.29.7
revision=1
build_style=cmake
build_wrksrc=cpp
configure_args="-DLIBLOOT_BUILD_TESTS=OFF -DLIBLOOT_INSTALL_DOCS=OFF"
hostmakedepends="pkg-config cargo rust"
short_desc="Library providing LOOT metadata and sorting functionality"
maintainer="Juan Rojas <juandmcr@protonmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/loot/libloot"
distfiles="https://github.com/loot/libloot/archive/refs/tags/${version}.tar.gz"
checksum=ed168a13ba42b353e6bb863f0b85f14295a951ec210b19ae8893b27c4681c7a6
libloot-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}
@@ -1,16 +0,0 @@
diff --git a/src/core/lootdeployer.cpp b/src/core/lootdeployer.cpp
--- a/src/core/lootdeployer.cpp
+++ b/src/core/lootdeployer.cpp
@@ -186,7 +186,13 @@
sfs::path prelude_path(dest_path_ / "prelude.yaml");
if(!sfs::exists(prelude_path))
prelude_path = "";
- loot_handle->GetDatabase().LoadLists(master_list_path, user_list_path, prelude_path);
+ if(prelude_path.empty())
+ loot_handle->GetDatabase().LoadMasterlist(master_list_path);
+ else
+ loot_handle->GetDatabase().LoadMasterlistWithPrelude(master_list_path, prelude_path);
+ if(!user_list_path.empty())
+ loot_handle->GetDatabase().LoadUserlist(user_list_path);
if(progress_node)
(*progress_node)->child(1).advance();
-15
View File
@@ -1,15 +0,0 @@
# Template file for 'limo-src'
pkgname=limo-src
version=1.2.2
revision=1
build_style=cmake
configure_args="-DUSE_SYSTEM_LIBUNRAR=ON"
hostmakedepends="pkg-config"
makedepends="cpr-devel libarchive-devel jsoncpp-devel libloot-devel libunrar libunrar-devel openssl-devel pugixml-devel qt5-devel qt5-svg-devel liblz4-devel libzstd-devel zlib-devel libcurl-devel"
depends="qt5-svg"
short_desc="General-purpose mod manager with LOOT integration"
maintainer="Juan Rojas <juandmcr@protonmail.com>"
license="GPL-3.0-only"
homepage="https://github.com/limo-app/limo"
distfiles="https://github.com/limo-app/limo/archive/refs/tags/v${version}.tar.gz"
checksum=8014ed53e6cdfddab81ffe31416128ae7883ed314ea3354d89ecb03b19ebbbdd
+47
View File
@@ -0,0 +1,47 @@
# Template file for 'mullvad-tui'
pkgname=mullvad-tui
version=0.10.1
revision=1
_mullvadvpn_version=2026.6
build_style=cargo
build_helper="rust"
hostmakedepends="pkgconf protobuf protobuf-devel libzstd-devel"
makedepends="libzstd-devel"
depends="mullvadvpn"
short_desc="Terminal user interface for Mullvad VPN"
maintainer="Juan Rojas <juandmcr@protonmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/d10n/mullvad-tui"
distfiles="https://github.com/d10n/mullvad-tui/archive/refs/tags/v${version}.tar.gz
https://github.com/mullvad/mullvadvpn-app/archive/refs/tags/${_mullvadvpn_version}.tar.gz"
checksum="ccb23cc30994c4d3a9ee0e79c005083aaba3848148d23313ea18058d9947e067
9ddbc4596c0a5b2729449c3da3b01ecb6c19ae9ec1c6b841ef26d84e38b851e0"
create_wrksrc=yes
build_wrksrc="mullvad-tui-${version}"
make_check=no # mullvad-tui 0.10.1 tests don't match mullvadvpn-app 2026.6 GeoIpLocation fields; can probably be dropped when upstream updates.
pre_build() {
cargo generate-lockfile
}
post_extract() {
rm -rf "mullvad-tui-${version}/mullvadvpn-app"
mv "mullvadvpn-app-${_mullvadvpn_version}" "mullvad-tui-${version}/mullvadvpn-app"
}
do_build() {
export ZSTD_SYS_USE_PKG_CONFIG=1
export PKG_CONFIG_ALLOW_CROSS=1
export HOST_PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/share/pkgconfig"
export HOST_PKG_CONFIG_LIBDIR="/usr/lib/pkgconfig:/usr/share/pkgconfig"
export TARGET_PKG_CONFIG_SYSROOT_DIR="${XBPS_CROSS_BASE}"
export TARGET_PKG_CONFIG_LIBDIR="${XBPS_CROSS_BASE}/usr/lib/pkgconfig:${XBPS_CROSS_BASE}/usr/share/pkgconfig"
cargo build --release --locked --target ${RUST_TARGET} --package mullvad-tui
}
do_install() {
vbin target/${RUST_TARGET}/release/mullvad-tui
}
+17
View File
@@ -0,0 +1,17 @@
#!/bin/sh
export MULLVAD_RESOURCE_DIR=/usr/share/mullvad
if [ -r ./conf ]; then
. ./conf
else
_caps=+all
fi
exec 2>&1
exec setpriv --reuid root --regid root --clear-groups \
--securebits +no_setuid_fixup,+no_setuid_fixup_locked,+keep_caps_locked \
--ambient-caps ${_caps} \
--inh-caps ${_caps} \
--bounding-set -all,${_caps} \
--no-new-privs -- mullvad-daemon --disable-stdout-timestamps
+12
View File
@@ -0,0 +1,12 @@
@@ -1,11 +0,0 @@
--- a/mullvad-daemon/src/main.rs
+++ b/mullvad-daemon/src/main.rs
@@ -258,7 +258,7 @@
#[cfg(unix)]
fn running_as_admin() -> bool {
- nix::unistd::Uid::current().is_root()
+ true
}
#[cfg(windows)]
+46
View File
@@ -0,0 +1,46 @@
# Template file for 'mullvadvpn'
pkgname=mullvadvpn
version=2026.6
revision=1
build_style=cargo
build_helper=qemu
make_build_args="
-p mullvad-daemon --bin mullvad-daemon
-p mullvad-cli --bin mullvad
-p mullvad-setup --bin mullvad-setup
-p mullvad-problem-report --bin mullvad-problem-report
-p mullvad-exclude --bin mullvad-exclude
-p mullvad-api --bin relay_list"
hostmakedepends="pkgconf protobuf protobuf-devel git"
# drop git after mullvadvpn-app/pull/10845 is released
makedepends="dbus-devel libnftnl-devel libmnl-devel"
# drop dbus after mullvadvpn-app/pull/11537
short_desc="Mullvad VPN client app (cli only)"
maintainer="dkwo <npiazza@disroot.org>"
license="GPL-3.0-or-later"
homepage="https://mullvad.net/"
changelog="https://raw.githubusercontent.com/mullvad/mullvadvpn-app/refs/heads/main/CHANGELOG.md"
distfiles="https://github.com/mullvad/mullvadvpn-app/archive/refs/tags/${version}.tar.gz"
checksum=9ddbc4596c0a5b2729449c3da3b01ecb6c19ae9ec1c6b841ef26d84e38b851e0
do_install() {
for _bin in mullvad-daemon mullvad mullvad-problem-report mullvad-setup mullvad-exclude; do
vbin target/${RUST_TARGET}/release/${_bin}
done
}
post_install() {
vtargetrun target/${RUST_TARGET}/release/relay_list > dist-assets/relays.json
vinstall dist-assets/relays.json 644 usr/share/mullvad
compdir=$(mktemp -d)
for _shell in bash zsh fish; do
vtargetrun ${DESTDIR}/usr/bin/mullvad shell-completions ${_shell} ${compdir}
done
vcompletion ${compdir}/mullvad.bash bash mullvad
vcompletion ${compdir}/_mullvad zsh mullvad
vcompletion ${compdir}/mullvad.fish fish mullvad
vsv mullvad
}
+18
View File
@@ -0,0 +1,18 @@
# Template file for 'python3-bsdiff4'
pkgname=python3-bsdiff4
version=1.4.3
revision=1
archs="x86_64* i686 aarch64*"
build_style=python3-module
hostmakedepends="python3-setuptools python3-devel"
depends="python3"
short_desc="Binary diff and patch using the BSDIFF4-format (Python3)"
maintainer="Juan Rojas <juandmcr@protonmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/ilanschnell/bsdiff4"
distfiles="${PYPI_SITE}/b/bsdiff4/bsdiff4-${version}.tar.gz"
checksum=454638b5496c6ae4689082823b0695c00bb78d27b0da4ddbb43f744c66364b66
post_install() {
vlicense LICENSE
}
+36
View File
@@ -0,0 +1,36 @@
# Template file for 'python3-libloot'
pkgname=python3-libloot
version=0.29.7
revision=1
archs="~*-musl"
build_helper="rust python3"
hostmakedepends="python3-devel maturin rust cargo rust-src patchelf python3-packaging-bootstrap"
makedepends="python3-devel"
depends="python3"
short_desc="Experimental Python wrapper around libloot"
maintainer="Juan Rojas <juandmcr@protonmail.com>"
license="GPL-3.0-only"
homepage="https://github.com/loot/libloot"
distfiles="https://github.com/loot/libloot/archive/refs/tags/${version}.tar.gz"
checksum=ed168a13ba42b353e6bb863f0b85f14295a951ec210b19ae8893b27c4681c7a6
do_build() {
cd "${wrksrc}/python"
if [ -n "$CROSS_BUILD" ]; then
export PYO3_CROSS_LIB_DIR="${XBPS_CROSS_BASE}/usr/lib/python3.14"
export CARGO_UNSTABLE_BUILD_STD="std,panic_abort"
export RUSTC_BOOTSTRAP=1
fi
maturin build --release
}
do_install() {
PY_TAG="$(python3 -c 'import sys; print(f"cpython-{sys.version_info.major}{sys.version_info.minor}")')"
ARCH="$(xbps-uhelper arch)"
SO_NAME="loot.${PY_TAG}-${ARCH}-linux-gnu.so"
LOOT_SO="$(find "${wrksrc}/target" -name 'libloot*.so' -o -name 'loot*.so' | head -1)"
vmkdir "${py3_sitelib}"
vcopy "$LOOT_SO" "${py3_sitelib}/${SO_NAME}"
}
Binary file not shown.
Binary file not shown.