From 1de77ebfaeed512dead17884b4f5e1a62f9dcc0d Mon Sep 17 00:00:00 2001 From: Harvie Date: Mon, 1 Nov 2010 05:27:01 +0100 Subject: [PATCH] DreamStrobe: Added experimental interactive (slave) mode --- c/dreammachine/PKGBUILD | 4 ++-- c/dreammachine/strobe | Bin 6721 -> 6062 bytes c/dreammachine/strobe.c | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/c/dreammachine/PKGBUILD b/c/dreammachine/PKGBUILD index 5b71cd3..9d8eb35 100644 --- a/c/dreammachine/PKGBUILD +++ b/c/dreammachine/PKGBUILD @@ -3,7 +3,7 @@ # You can also contact me on http://blog.harvie.cz/ pkgname=dream-strobe -pkgver=3 +pkgver=4 pkgrel=1 pkgdesc="Stroboscope implementation for GNU/Linux console. Also called 'Dream Machine' or 'Strobe'. Can be used to alternate state of consciousness by affecting brainwave frequencies. Use only at your own risk!" arch=('any') @@ -11,7 +11,7 @@ license=('GPL') url="http://aur.archlinux.org/packages.php?ID=27012" depends=() source=('strobe.c') -md5sums=('8df74539c4f79aaf54a8a6d4423e3b4a') +md5sums=('a23d214d2934cb5814e10bc9a2b92aa4') build() { mkdir -p ${pkgdir}/usr/bin diff --git a/c/dreammachine/strobe b/c/dreammachine/strobe index bcfc89e1f0b5f18afe8826b960c512f67d364c73..80134d386f5f9c2a5dd0d9bad860eb838d0e3899 100755 GIT binary patch literal 6062 zcmb7I4{Te-89zG?4I`y#DUh`pdT0)9#V`$|P+&mYByCed|E4Xh(1#O0#~!v{=J!k! zgw}K>8?Nz|4v=7KrFL{$rxmGeY%2ezpdeDDPRanGvXRj-&|Ed!I+dXcx_ZCg-8*U< z(6qBYfA_ol?)&b~cX!{r?HygqeLkPi$uDXI(cXsxb*sp5(13Hd8sTLFf)qrM0$?P40I?^S;B-T+kNhY)vpuHEu9*FHlgQ}NhPoWNEpg|Xi zc3JNSdk*r?p^kI}n8bS8AkByTeAp%#z$9I_?n5^M__?IpUz>>cT$_kolZdA>10lx_ zU8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