Commit Graph

127 Commits (master)

Author SHA1 Message Date
Ikey Doherty cc2dc97eab
build.sh: Add explicit support for Solus
As Solus is in a longstanding transition away from the Pythonic eopkg
package manager (a fork of PiSI) - some workarounds are required.
In a nut shell, eopkg exit codes aren't applied to info/status commands,
so we must use the Pythonic API.

The 32-bit build dependencies are first calculated, and merged with
the 'system.devel' component required for building any package on
Solus. This is similar to 'build-essential' on other distributions.

With this change, we can safely `./build.sh install` on Solus and
have MANGOHUD=1 working with Vulkan applications, as tested on my
own Solus installation with the Serpent demos in Vulkan mode with
bgfx backend.

Signed-off-by: Ikey Doherty <ikey.doherty@lispysnake.com>
4 years ago
Ikey Doherty 93f3c97a63
build.sh: Support multiple locations of the os-release file
In stateless operating systems the os-release file might not exist
in /etc/ unless a compatability link is in place, or the user has
overriden the distro defaults.

A layering approach should instead be used, to read a set of known
paths in priority order. If the /etc/os-release file is not found,
the fallback location of /usr/lib/os-release will be used instead.

Signed-off-by: Ikey Doherty <ikey.doherty@lispysnake.com>
4 years ago
telans ab04249782
build/install: respect XDG dirs
Half of #37
4 years ago
telans 9d0b766cda
build: support Pop!_OS 4 years ago
telans 81dc992dfa
readme: mention config 4 years ago
telans 9b566a64bd
install: update config locations 4 years ago
telans 751fd65e5d
update scripts for config file 4 years ago
telans a7d0a892e1
initial config file 4 years ago
Guilherme Silva d5e06975b6
Add Zorin OS to build script 4 years ago
Guilherme Silva ceda055feb
Use dpkg-query -s to query for packages
By own experience, dpkg-query -l doesn't always return 1 if a package isn't installed.

dpkg-query -s seems more reliable.
4 years ago
telans 435f58f710
build.sh update package based timestamp 4 years ago
jackun d534a46c54
build.sh: fix copy/paste error, install mako too 4 years ago
telans 56099d1035
build.sh: fix VERSION with tags 4 years ago
telans 56ef50c77e
update README 4 years ago
telans 845d4c73ad
build.sh: fix installation
appears as if case doesn't play well when stringing together multiple arguments
4 years ago
telans cbf235ad69
build.sh: support multiple arguments 4 years ago
telans f2798a2cd9
build.sh: distributable package 4 years ago
telans d923ac6673
build.sh: condense scripts 4 years ago
telans 74aa308f58
build.sh: fix building on fedora 4 years ago
telans 386587264c
actually fix building this time 4 years ago
telans 58384b0602
fix building on ubuntu 4 years ago
telans 260559c2fa
build.sh: detect and install dependencies 4 years ago
telans fda708929a
add git pull to build.sh 4 years ago
telans ef98f2d2d8
build.sh: add version to package 4 years ago
telans 8dc2f46548
build.sh: add package option for redistribution 4 years ago
telans c9d4e725f8
fix build.sh clean 4 years ago
telans f3bedf3bce
add build script "build.sh" 4 years ago