diff options
author | James Magahern <james@magahern.com> | 2019-01-18 11:14:20 -0800 |
---|---|---|
committer | James Magahern <james@magahern.com> | 2019-01-18 11:14:20 -0800 |
commit | c78f8de38f77a65555e3241ede496da603017afd (patch) | |
tree | 9a5007609f924aa8f33baaa334d0bb62856af515 | |
parent | gitignore (diff) |
Move to meson build system. very cool
-rwxr-xr-x | build.sh | 5 | ||||
-rw-r--r-- | meson.build | 31 | ||||
-rw-r--r-- | resources/asterisk.svg (renamed from asterisk.svg) | 0 | ||||
-rw-r--r-- | resources/logo.svg (renamed from logo.svg) | 0 | ||||
-rw-r--r-- | src/main.c (renamed from buzzsaver.c) | 0 |
5 files changed, 31 insertions, 5 deletions
diff --git a/build.sh b/build.sh deleted file mode 100755 index 33bdbcf..0000000 --- a/build.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -# TODO: Makefile? This will end up in the xsecurelock project anyway... -clang $(pkg-config --libs --cflags x11 cairo librsvg-2.0 pangocairo) -o buzzsaver buzzsaver.c - diff --git a/meson.build b/meson.build new file mode 100644 index 0000000..0f79608 --- /dev/null +++ b/meson.build @@ -0,0 +1,31 @@ +project('buzzlocker', 'c') + +sources = [ + 'src/main.c' +] + +dependencies = [ + dependency('x11'), + dependency('cairo'), + dependency('librsvg-2.0'), + dependency('pangocairo') +] + +executable('buzzlocker', + sources: sources, + dependencies: dependencies +) + +# Resources +configure_file( + input: 'resources/logo.svg', + output: 'logo.svg', + copy: true +) + +configure_file( + input: 'resources/asterisk.svg', + output: 'asterisk.svg', + copy: true +) + diff --git a/asterisk.svg b/resources/asterisk.svg index f9ff19a..f9ff19a 100644 --- a/asterisk.svg +++ b/resources/asterisk.svg diff --git a/logo.svg b/resources/logo.svg index 27ef712..27ef712 100644 --- a/logo.svg +++ b/resources/logo.svg |