summaryrefslogtreecommitdiff
path: root/net-im/blight
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2014-10-27 18:38:05 +0200
committerBlackNoxis <steven.darklight@gmail.com>2014-10-27 18:38:05 +0200
commit24934e623441310f644e5f72855b0f2bf9f3cd1a (patch)
treea453939bf58199bc2c3ff27bcf0accf2b221c6c4 /net-im/blight
parent687f45092b4f4ccf33765cee7427f054bae22344 (diff)
Incoming! Moving Rogento.git to kogaion-desktop. Finally
Diffstat (limited to 'net-im/blight')
-rw-r--r--net-im/blight/blight-9999.ebuild32
-rw-r--r--net-im/blight/files/blight-9999.patch12
-rw-r--r--net-im/blight/metadata.xml7
3 files changed, 51 insertions, 0 deletions
diff --git a/net-im/blight/blight-9999.ebuild b/net-im/blight/blight-9999.ebuild
new file mode 100644
index 00000000..ce4a0b83
--- /dev/null
+++ b/net-im/blight/blight-9999.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit git-2
+
+DESCRIPTION="Cross-platform graphical user interface for Tox written in Racket"
+HOMEPAGE="https://github.com/lehitoskin/blight"
+EGIT_REPO_URI="git://github.com/lehitoskin/blight
+ https://github.com/lehitoskin/blight"
+LICENSE="GPL-3"
+SLOT="0"
+
+RDEPEND="net-libs/tox
+ >=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
+}
+
+src_install() {
+ emake DESTDIR="${D}/usr" install
+}
diff --git a/net-im/blight/files/blight-9999.patch b/net-im/blight/files/blight-9999.patch
new file mode 100644
index 00000000..e47640b1
--- /dev/null
+++ b/net-im/blight/files/blight-9999.patch
@@ -0,0 +1,12 @@
+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 @@
+ ; 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
+-(define sound-dir (build-path "sounds"))
++(define sound-dir (build-path "/usr/share/blight/sounds"))
+ ; list of sound files
+ (define sounds (list
+ (build-path sound-dir "New Message.wav")
diff --git a/net-im/blight/metadata.xml b/net-im/blight/metadata.xml
new file mode 100644
index 00000000..cc3fe249
--- /dev/null
+++ b/net-im/blight/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>maintainer-wanted@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>