Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1dec3e5ee9 | |||
| e383f84d29 |
+1
-1
@@ -41,7 +41,7 @@ release-arch: clean
|
|||||||
gif: build
|
gif: build
|
||||||
mkdir -p tmp
|
mkdir -p tmp
|
||||||
for i in {1..50}; do \
|
for i in {1..50}; do \
|
||||||
./build/margen -w=1920 -h=720 --seed=$$i$$i -o=tmp/image$$i.bmp ; \
|
./build/$(TARGET) -w=1920 -h=720 --seed=$$i$$i -o=tmp/image$$i.bmp ; \
|
||||||
done
|
done
|
||||||
ffmpeg -y -f image2 -framerate 1 -i tmp/image%d.bmp -vf scale=960x360 images/sample.gif
|
ffmpeg -y -f image2 -framerate 1 -i tmp/image%d.bmp -vf scale=960x360 images/sample.gif
|
||||||
rm -rf tmp
|
rm -rf tmp
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
pkgname=margen
|
pkgname=margen
|
||||||
pkgver=1.2.4
|
pkgver=1.2.5
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Generate a marble-like pattern bitmap image, blazing fast."
|
pkgdesc="Generate a marble-like pattern bitmap image, blazing fast."
|
||||||
arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64' 'riscv64')
|
arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64' 'riscv64')
|
||||||
url="https://github.com/klemek/margen"
|
url="https://github.com/klemek/margen"
|
||||||
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/klemek/margen/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
|
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/klemek/margen/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
|
||||||
sha256sums=('38fc6a66be97f6f77f9dffdbf75c214c7aa3ee8d1600b28506e943e6bfb93870')
|
sha256sums=('ff4375dacec14bce1f67bb6964232c54b184f820aaad02fda4313c58d78133c6')
|
||||||
srcdir=build
|
srcdir=build
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|||||||
@@ -53,6 +53,7 @@ generate a marble-like pattern bitmap image, blazing fast.
|
|||||||
|
|
||||||
options:
|
options:
|
||||||
--help show this help message and exit
|
--help show this help message and exit
|
||||||
|
-v, --version print version
|
||||||
-q, --quiet do not print to console
|
-q, --quiet do not print to console
|
||||||
-w, --width image width (default: 1920)
|
-w, --width image width (default: 1920)
|
||||||
-h, --height image height (default: 1080)
|
-h, --height image height (default: 1080)
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
AC_INIT([margen], [1.2.4], [klemek.dev@proton.me])
|
AC_INIT([margen], [1.2.5], [klemek.dev@proton.me])
|
||||||
AM_INIT_AUTOMAKE
|
AM_INIT_AUTOMAKE
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AC_CHECK_HEADERS([stdio.h])
|
AC_CHECK_HEADERS([stdio.h])
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
#include "args.h"
|
#include "args.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "rand.h"
|
#include "rand.h"
|
||||||
|
#include <stdbool.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
@@ -28,6 +29,7 @@ void print_help(int status_code) {
|
|||||||
"generate a marble-like pattern bitmap image, blazing fast.\n\n"
|
"generate a marble-like pattern bitmap image, blazing fast.\n\n"
|
||||||
"options:\n"
|
"options:\n"
|
||||||
" --help show this help message and exit\n"
|
" --help show this help message and exit\n"
|
||||||
|
" -v, --version print version\n"
|
||||||
" -q, --quiet do not print to console\n"
|
" -q, --quiet do not print to console\n"
|
||||||
" -w, --width image width (default: 1920)\n"
|
" -w, --width image width (default: 1920)\n"
|
||||||
" -h, --height image height (default: 1080)\n"
|
" -h, --height image height (default: 1080)\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user