Skip to content

void linux hyprland templates for building with xbps-src

License

Notifications You must be signed in to change notification settings

Makrennel/hyprland-void

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hyprland for Void Linux

This repository contains template files and binaries for building or installing Hyprland on Void Linux.

Installation

The easiest way to install Hyprland on Void Linux is using the repository which consists of binaries built automatically using GitHub Actions whenever a new commit is pushed.

You can add this repository to xbps's repositories by creating a file such as /etc/xbps.d/hyprland-void.conf with the following text:

repository=https://raw.githubusercontent.com/Makrennel/hyprland-void/repository-x86_64-glibc

You should then be able to install hyprland like you would any other program:

sudo xbps-install -S hyprland

You can also search through all hypr related packages as you would any other (you will need to accept the repository's fingerprint first with xbps-install -S)

xbps-query -Rs hypr

Currently this repository provides binary packages for:

  • x86_64-glibc
  • x86_64-musl

Change the end of the url at /etc/xbps.d/hyprland-void.conf as appropriate with the above options.

Running

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.

You may also have to add the user to the _seatd group.

Nightly

There are also binary -nightly packages, built automatically at 00:00 UTC directly from git if there is a new commit available. There are templates available for this as well, but you will have to manually force rebuild it every time as XBPS has no built-in means of supporting git packages and upgrading to newer versions from git packages without manually bumping the revision every time.

Note, because of how XBPS is designed, you will have to manually specify -nightly dependencies to be installed as it will opt for normal dependencies otherwise:

sudo xbps-install -S hyprland-nightly-devel hyprcursor-nightly hyprlang-nightly hyprutils-nightly

These -nightly packages are not particularly recommended - you may be better off building and installing Hyprland manually instead.

Note for Nvidia Users

The hyprland-nvidia has been removed as it is no longer necessary as of version 0.33.0. Nvidia support is still unofficial; refer to the manual.

Extra

There are packages in this repository which may be of interest for:

  • hypridle
  • hyprlock
  • hyprpaper
  • xdg-desktop-portal-hyprland

Manually Building

You may want to build these templates manually, for example if you have a specific configuration requirement that needs to be set at build time. Void-packages may sometimes have specific packages which are out of date from time to time that need to be updated beforehand in order to update Hyprland, which is why this repository is not simply forked off it. We need to copy the modifications from this repository on top of a fresh void-packages clone in order to build manually.

  1. You may want to start by making a directory where you can keep the relevant repositories
mkdir ~/repos
cd ~/repos
  1. Set up a void-packages clone for building templates files
git clone https://github.com/void-linux/void-packages
cd void-packages
./xbps-src binary-bootstrap
cd ..
  1. Clone this repository:
git clone https://github.com/Makrennel/hyprland-void.git
cd hyprland-void
  1. Append shared libraries to the end of your void-packages shared libraries
cat common/shlibs >> ../void-packages/common/shlibs
  1. Copy srcpkgs to your void-packages srcpkgs directory
cp -r srcpkgs/* ../void-packages/srcpkgs
  1. Build and install packages
cd ../void-packages
./xbps-src pkg hyprland
sudo xbps-install -R hostdir/binpkgs hyprland

About

void linux hyprland templates for building with xbps-src

Resources

License

Stars

Watchers

Forks

Packages

No packages published