Skip to content

Commit

Permalink
Drop legacy build system for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
rollerozxa committed Sep 3, 2023
1 parent e03d1e0 commit 6e9d0ca
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 563 deletions.
8 changes: 8 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

# Exclude vendored libraries from GitHub language detection
src/lua linguist-vendored
src/luasocket linguist-vendored
src/SDL_image linguist-vendored
src/SDL_mixer linguist-vendored
src/SDL_ttf linguist-vendored
src/SDL-mobile linguist-vendored
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,7 @@ On Linux Principia will attempt to load data from the following directories:
2. `../` (data directories are one directory up relative to the executable)
3. `/usr/share/principia/`

It should work to install the Principia executable to `/usr/bin/principia` and the data directories `data-pc` and `data-shared` to `/usr/share/principia/`.

The `build-linux` directory contains desktop files and an usable icon, which can be installed into `/usr/share/applications/` and `/usr/share/pixmaps` respectively. `principia-url-handler.desktop` is for handling principia:// protocol links and is confirmed to work on at least Firefox and Chromium.
When doing `ninja install`, the data folders will be installed to `share/principia`. For packaging, you would want to pass `-DCMAKE_INSTALL_PREFIX=/usr` to CMake which when installed will put data where it can get loaded from.

### Building for Android
These instructions assume a Linux system but can likely be easily adapted to build for Android on any platform.
Expand Down
17 changes: 0 additions & 17 deletions build-linux/.gitignore

This file was deleted.

349 changes: 0 additions & 349 deletions build-linux/Makefile.am

This file was deleted.

3 changes: 0 additions & 3 deletions build-linux/autogen.sh

This file was deleted.

Loading

0 comments on commit 6e9d0ca

Please sign in to comment.