|
17 | 17 | * No installing packages |
18 | 18 | * No updating packages |
19 | 19 | * Only support for `core`, `extra` and `multilib` repositories |
| 20 | + * Also supports viewing AUR/locally built packages |
20 | 21 |
|
21 | 22 | ## Why? |
22 | 23 | * Because i want this program only to work as a viewer, everything regarding actually messing with your system should be in your own hands with you knowing what you are doing instead of me deciding what packages stay and go blindly |
23 | 24 |
|
| 25 | +# Installing |
| 26 | +* AUR: https://aur.archlinux.org/packages/pepv-git |
| 27 | + |
| 28 | + |
24 | 29 | # Building |
| 30 | +## Requirements |
| 31 | +* Meson (1.1 or higher) |
| 32 | +* git |
| 33 | +## Instructions |
25 | 34 | * git clone this repository |
26 | | -* Open a terminal in the directory of the repo and run the next commands |
27 | | -* `mkdir build && cd build` |
28 | | -* `cmake ..` |
29 | | -* `cmake --build . --config Release` |
30 | | -* pepv needs the files `pepv.ui` and `pepv.png` to be somewhere it can find them together, list of paths is in order |
31 | | - * `../pepv.ui` Only in debug build for debug purposes |
32 | | - * `pepv.ui` |
| 35 | +* Open a terminal in the directory of the repo and run the next commands for a release build |
| 36 | +* `meson setup build -Dtracy_enable=false -Dbuildtype=release` |
| 37 | +* `meson compile -C build` |
| 38 | +* `meson install -C build` To install locally using built binary, this also includes: |
| 39 | + * Desktop entry |
| 40 | + * Icons |
| 41 | + * README.md in doc |
| 42 | + * UI file |
| 43 | +* pepv will also look for `pepv.ui` in other paths, list of paths is in order |
| 44 | + * `../data/pepv.ui` Only in debug build for debug purposes |
| 45 | + * `PREFIX "/" DATADIR "/pepv/pepv.ui"` (PREFIX and DATADIR may be set by meson options for packaging purposes) |
33 | 46 | * `/usr/share/pepv/pepv.ui` |
| 47 | + * `/usr/local/share/pepv/pepv.ui` |
34 | 48 | * `/app/share/pepv/pepv.ui` |
35 | 49 | * `/app/share/runtime/share/pepv/pepv.ui` |
36 | 50 | * `/run/host/user-share/pepv/pepv.ui` |
37 | 51 | * `/run/host/share/pepv/pepv.ui` |
38 | 52 |
|
39 | | -* If you want you can also resize the logo to multiple resolutions and put the images in `usr/share/icons/hicolor/SIZExSIZE/apps/pepv.png` so GTK chooses the correct resolution automatically |
40 | | - |
41 | | -# I dont know how to code but i want to use this program. |
| 53 | +# I dont know how to code but i want to use this program in a distro that doesnt have AUR. |
42 | 54 | * Follow the instructions above, you dont need to understand them |
43 | | -* If you are scared of basic computer usage then you can wait for someone to package this program in your arch-based distro and i may add it in this readme |
44 | | - |
45 | | -# Installing |
46 | | -* AUR: https://aur.archlinux.org/packages/pepv-git |
| 55 | +* If you are scared of basic computer usage then you can wait for someone to package this program in your distro and i may add it in this README or you can just open a new issue to ask for help |
0 commit comments