summaryrefslogtreecommitdiff
path: root/net-im/blight
diff options
context:
space:
mode:
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, 9 insertions, 30 deletions
diff --git a/net-im/blight/blight-9999.ebuild b/net-im/blight/blight-9999.ebuild
index 3648b627..ce4a0b83 100644
--- a/net-im/blight/blight-9999.ebuild
+++ b/net-im/blight/blight-9999.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit eutils git-2
+inherit git-2
DESCRIPTION="Cross-platform graphical user interface for Tox written in Racket"
HOMEPAGE="https://github.com/lehitoskin/blight"
@@ -14,22 +14,19 @@ LICENSE="GPL-3"
SLOT="0"
RDEPEND="net-libs/tox
- >=dev-db/sqlite-3.8.6
- >=dev-scheme/racket-6.0.1[X]
- dev-scheme/libtoxcore-racket
- dev-scheme/libopenal-racket"
+ >=dev-db/sqlite-3.8.2
+ >=dev-scheme/racket-6.0.1[X]"
src_prepare() {
+ raco pkg install --no-setup github://github.com/lehitoskin/libtoxcore-racket/master
epatch "$FILESDIR/${P}.patch"
epatch_user
}
src_compile() {
- emake blight
- emake blight-repl
+ emake
}
src_install() {
- emake DESTDIR="${D}/usr" install-blight
- emake DESTDIR="${D}/usr" install-repl
+ emake DESTDIR="${D}/usr" install
}
diff --git a/net-im/blight/files/blight-9999.patch b/net-im/blight/files/blight-9999.patch
index 2451b6ab..e47640b1 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-12-14 18:49:30.181361600 -0800
-+++ b/config.rkt 2014-12-14 18:52:13.599355467 -0800
-@@ -65,7 +65,7 @@
+--- 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 @@
; 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,21 +10,3 @@ 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"))
-