Note
This project is not affiliated with or endorsed by the Void Linux project or its maintainers.
Use at your own discretion.
A collection of template files for building packages on Void Linux with xbps-src. If you don't wish to build the packages locally, this repository also provides prebuilt binaries.
Currently packages are tested on / crosscompiled for the following architectures:
- x86_64
- x86_64-musl
- aarch64
- aarch64-musl
🛠️ Manually building
-
Clone both this repository as well as void-packages:
git clone https://github.com/Encoded14/void-extra.git git clone https://github.com/void-linux/void-packages.git -
Copy the template files from this repository into void-packages:
cp -r void-extra/srcpkgs/* void-packages/srcpkgs/ -
Edit shlibs by removing the lines found in shlibs_remove and appending the lines from shlibs_append.
cd void-packages nvim common/shlibs -
Bootstrap the build system:
./xbps-src binary-bootstrap -
Build the packages you want:
./xbps-src pkg <package1> <package2> ... -
Install the built packages:
sudo xbps-install --repository /hostdir/binpkgs/ <package1> <package2> ...
📦 Prebuilt binaries
-
Create an entry in /etc/xbps.d/ and add this repository. (Edit the end of the link with the architecture you require from the list above). This can be done with the following command:
echo repository=https://raw.githubusercontent.com/Encoded14/void-extra/repository-x86_64 | sudo tee /etc/xbps.d/20-repository-extra.conf -
Refresh your repositories and accept the fingerprint:
sudo xbps-install -S -
You are now able to search through all of the packages in this repository, and install them as usual:
xbps-query -Rs hypr sudo xbps-install -S hyprland
In order to run Hyprland you will need to install some additional packages which will depend on your setup, for example a session and seat manager and graphics drivers. If you use an Nvidia GPU refer to the Hyprland Wiki, but keep in mind that Hyprland does not officially support Nvidia.
Contributions are greatly appreciated. Overall, this repository adheres to the same rules and guidelines as the official void-packages repository.
Makrennel: hyprland-void: Hyprland template files