parnoldx / nasc

Do maths like a normal person
http://parnoldx.github.io/nasc/
GNU General Public License v3.0
560 stars 37 forks source link

Port to Meson #109

Closed scx closed 4 years ago

scx commented 5 years ago

CMake: Reorganize files

  1. Rename src/config.vala.cmake to src/config.vala.in

  2. Move com.github.parnold-x.nasc.gschema.xml to data subdirectory

Port to Meson

Based on #98

Fixes:

  1. Fix dependencies for libqalculatenasc https://github.com/parnold-x/nasc/pull/98#issuecomment-438664227

  2. Remove header files from meson.build https://github.com/parnold-x/nasc/pull/98#discussion_r234801513

  3. Get rid of get_option('prefix') from install_dir https://github.com/parnold-x/nasc/pull/98#discussion_r239734092

  4. Make Meson optional Do not remove CMake


This PR is related to submitting my flatpak package to the Flathub repository. https://github.com/parnold-x/nasc/issues/105 https://github.com/flathub/flathub/pull/867

See also: https://github.com/scx/nasc/pull/4

scx commented 5 years ago

Before reviewing, please read this: https://github.com/parnold-x/nasc/pull/110#issue-253611449

parnoldx commented 4 years ago

Thank you! Switched to meson on master