summaryrefslogtreecommitdiff
path: root/net-im/blight
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2015-08-24 20:45:13 +0300
committerBlackNoxis <steven.darklight@gmail.com>2015-08-24 20:45:13 +0300
commit3a33f2966f834d3520b03df59018e3d0295fcc69 (patch)
tree3659aaf14090f23f793a297acc1df879c4cacc4a /net-im/blight
parent7fcb54b4b7928c799f45b3c7800443d39b9f2ce7 (diff)
[toxcore] adaugat toxcore
Diffstat (limited to 'net-im/blight')
-rw-r--r--net-im/blight/blight-9999.ebuild15
-rw-r--r--net-im/blight/files/blight-9999.patch24
2 files changed, 30 insertions, 9 deletions
diff --git a/net-im/blight/blight-9999.ebuild b/net-im/blight/blight-9999.ebuild
index ce4a0b83..3648b627 100644
--- a/net-im/blight/blight-9999.ebuild
+++ b/net-im/blight/blight-9999.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit git-2
+inherit eutils git-2
DESCRIPTION="Cross-platform graphical user interface for Tox written in Racket"
HOMEPAGE="https://github.com/lehitoskin/blight"
@@ -14,19 +14,22 @@ LICENSE="GPL-3"
SLOT="0"
RDEPEND="net-libs/tox
- >=dev-db/sqlite-3.8.2
- >=dev-scheme/racket-6.0.1[X]"
+ >=dev-db/sqlite-3.8.6
+ >=dev-scheme/racket-6.0.1[X]
+ dev-scheme/libtoxcore-racket
+ dev-scheme/libopenal-racket"
src_prepare() {
- raco pkg install --no-setup github://github.com/lehitoskin/libtoxcore-racket/master
epatch "$FILESDIR/${P}.patch"
epatch_user
}
src_compile() {
- emake
+ emake blight
+ emake blight-repl
}
src_install() {
- emake DESTDIR="${D}/usr" install
+ emake DESTDIR="${D}/usr" install-blight
+ emake DESTDIR="${D}/usr" install-repl
}
diff --git a/net-im/blight/files/blight-9999.patch b/net-im/blight/files/blight-9999.patch
index e47640b1..2451b6ab 100644
--- a/net-im/blight/files/blight-9999.patch
+++ b/net-im/blight/files/blight-9999.patch
@@ -1,7 +1,7 @@
diff -Naur a/config.rkt b/config.rkt
---- a/config.rkt 2014-05-30 17:05:42.212974487 -0700
-+++ b/config.rkt 2014-05-30 17:09:20.788966204 -0700
-@@ -26,7 +26,7 @@
+--- a/config.rkt 2014-12-14 18:49:30.181361600 -0800
++++ b/config.rkt 2014-12-14 18:52:13.599355467 -0800
+@@ -65,7 +65,7 @@
; location of sound directory (currently depends on running from same dir
; change to /usr/share/blight/sounds (or something) once a proper
; installer is to be had
@@ -10,3 +10,21 @@ diff -Naur a/config.rkt b/config.rkt
; list of sound files
(define sounds (list
(build-path sound-dir "New Message.wav")
+@@ -86,7 +86,7 @@
+ (define make-noise-default #t)
+
+ ; blight icons for the buddy list
+-(define icon-dir (build-path "icons"))
++(define icon-dir (build-path "/usr/share/blight/icons"))
+ ; list of icon files
+ (define icons (list
+ (build-path icon-dir "offline.png")
+@@ -97,7 +97,7 @@
+
+ (define avatar-dir (build-path tox-path "avatars"))
+
+-(define logo-dir (build-path "img"))
++(define logo-dir (build-path "/usr/share/icons/hicolor/128x128/apps"))
+
+ (define logo (build-path logo-dir "blight-logo-128px.png"))
+