Changed to stable releases
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
## GLava
|
## GLava
|
||||||
<img align="left" width="200" height="200" src="https://thumbs.gfycat.com/DefiantInformalIndianspinyloach-size_restricted.gif" />
|
<img align="left" width="200" height="200" src="https://thumbs.gfycat.com/DefiantInformalIndianspinyloach-size_restricted.gif" />
|
||||||
|
|
||||||
GLava is an (in development) OpenGL audio spectrum visualizer. Its primary use case is for desktop widgets or backgrounds. Displayed to the left is the `radial` shader module running in GLava.
|
GLava is an OpenGL audio spectrum visualizer. Its primary use case is for desktop widgets or backgrounds. Displayed to the left is the `radial` shader module running in GLava.
|
||||||
|
|
||||||
**Compiling** (Or use the [`glava-git` AUR package](https://aur.archlinux.org/packages/glava-git/))**:**
|
**Compiling** (Or use the [`glava-git` AUR package](https://aur.archlinux.org/packages/glava-git/))**:**
|
||||||
|
|
||||||
|
|||||||
19
glava.c
19
glava.c
@@ -18,7 +18,22 @@
|
|||||||
#include "render.h"
|
#include "render.h"
|
||||||
#include "xwin.h"
|
#include "xwin.h"
|
||||||
|
|
||||||
#define GLAVA_VERSION "1.0"
|
#define GLAVA_VERSION "1.1"
|
||||||
|
#ifdef GLAD_DEBUG
|
||||||
|
#define GLAVA_RELEASE_TYPE_PREFIX "debug, "
|
||||||
|
#else
|
||||||
|
#define GLAVA_RELEASE_TYPE_PREFIX "stable, "
|
||||||
|
#endif
|
||||||
|
#ifdef GLAVA_STANDALONE
|
||||||
|
#define GLAVA_RELEASE_TYPE_BUILD "standalone"
|
||||||
|
#elif GLAVA_UNIX
|
||||||
|
#define GLAVA_RELEASE_TYPE_BUILD "unix/fhs"
|
||||||
|
#elif GLAVA_OSX
|
||||||
|
#define GLAVA_RELEASE_TYPE_BUILD "osx"
|
||||||
|
#else
|
||||||
|
#define GLAVA_RELEASE_TYPE_BUILD "?"
|
||||||
|
#endif
|
||||||
|
#define GLAVA_RELEASE_TYPE GLAVA_RELEASE_TYPE_PREFIX GLAVA_RELEASE_TYPE_BUILD
|
||||||
|
|
||||||
#define FORMAT(...) \
|
#define FORMAT(...) \
|
||||||
({ \
|
({ \
|
||||||
@@ -151,7 +166,7 @@ static const char* help_str =
|
|||||||
" directory for glava, copying any files in the root directory\n"
|
" directory for glava, copying any files in the root directory\n"
|
||||||
" of the installed shader directory, and linking any modules.\n"
|
" of the installed shader directory, and linking any modules.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"GLava (glava) " GLAVA_VERSION "\n"
|
"GLava (glava) " GLAVA_VERSION " (" GLAVA_RELEASE_TYPE ")\n"
|
||||||
" -- Copyright (C) 2017 Levi Webb\n";
|
" -- Copyright (C) 2017 Levi Webb\n";
|
||||||
|
|
||||||
static const char* opt_str = "hve:Cm:";
|
static const char* opt_str = "hve:Cm:";
|
||||||
|
|||||||
Reference in New Issue
Block a user