grim/purple-spasm

Get meson all setup for our build

2017-08-07, Gary Kramlich
d85d55879235
Parents 02bd31495762
Children fadb81a7558f
Get meson all setup for our build
Binary file icons/16/spasm.png has changed
Binary file icons/22/spasm.png has changed
Binary file icons/48/spasm.png has changed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/icons/meson.build Mon Aug 07 23:02:34 2017 -0500
@@ -0,0 +1,11 @@
+# install the icons if pidgin is installed
+PIDGIN = dependency('pidgin', version: '>=2.0.0', required: false)
+if PIDGIN.found()
+ pidginpixmapdir = '@0@/pixmaps/pidgin/protocols'.format(PIDGIN.get_pkgconfig_variable('datadir'))
+ foreach dir : ['16', '22', '48', 'scaled']
+ install_subdir(
+ dir,
+ install_dir: pidginpixmapdir,
+ )
+ endforeach
+endif
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/icons/scaled/spasm.svg Mon Aug 07 23:02:34 2017 -0500
@@ -0,0 +1,1 @@
+<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 134"><defs><style>.cls-1{fill:#6441a4;fill-rule:evenodd;}</style></defs><title>Glitch</title><path class="cls-1" d="M89,77l-9,23v94h32v17h18l17-17h26l35-35V77H89Zm107,76-20,20H144l-17,17V173H100V89h96v64Zm-20-41v35H164V112h12Zm-32,0v35H132V112h12Z" transform="translate(-80 -77)"/></svg>
\ No newline at end of file
--- a/meson.build Mon Aug 07 22:32:12 2017 -0500
+++ b/meson.build Mon Aug 07 23:02:34 2017 -0500
@@ -1,11 +1,15 @@
project(
- 'skeleton-libpurple',
+ 'purple-spasm',
'c',
- version: '0.1.0',
+ version: '0.0.1',
)
SOURCES = [
- 'hello-world.c',
+ 'spasm.c',
+ 'spasm-account.c',
+ 'spasm-chat.c',
+ 'spasm-rest.c',
+ 'spasm-user.c',
]
# The code below should not need to be modified for simple use cases.
@@ -17,12 +21,16 @@
)
PURPLE = dependency('purple', version: '>=2.0.0')
+JSON_GLIB = dependency('json-glib-1.0')
+SOUP = dependency('libsoup-2.4')
shared_library(
meson.project_name(),
SOURCES,
name_prefix: '',
- dependencies: [PURPLE],
+ dependencies: [PURPLE, JSON_GLIB, SOUP],
install: true,
install_dir: PURPLE.get_pkgconfig_variable('plugindir'),
)
+
+subdir('icons')
Binary file spasm16.png has changed
Binary file spasm22.png has changed
Binary file spasm48.png has changed
--- a/spasmscaled.svg Mon Aug 07 22:32:12 2017 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 134"><defs><style>.cls-1{fill:#6441a4;fill-rule:evenodd;}</style></defs><title>Glitch</title><path class="cls-1" d="M89,77l-9,23v94h32v17h18l17-17h26l35-35V77H89Zm107,76-20,20H144l-17,17V173H100V89h96v64Zm-20-41v35H164V112h12Zm-32,0v35H132V112h12Z" transform="translate(-80 -77)"/></svg>
\ No newline at end of file