summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIskren Slavov <iskren.s@gmail.com>2010-10-25 11:37:57 +0300
committerIskren Slavov <iskren.s@gmail.com>2010-10-25 11:37:57 +0300
commit5b75c58482837123d768fba38e10164d114fcc55 (patch)
tree6df88f44e86ecd8fa4c8db33d64c9ef6476aecfa
parentPatch a naughty fstab bug in davfs-1.4.5 (diff)
downloadwish-5b75c58482837123d768fba38e10164d114fcc55.tar.gz
wish-5b75c58482837123d768fba38e10164d114fcc55.tar.bz2
wish-5b75c58482837123d768fba38e10164d114fcc55.zip
Added kbgoffice-2.0
-rw-r--r--app-dicts/kbgoffice/ChangeLog7
-rw-r--r--app-dicts/kbgoffice/Manifest5
-rw-r--r--app-dicts/kbgoffice/files/kbgoffice-2.0-fix-paths.patch14
-rw-r--r--app-dicts/kbgoffice/kbgoffice-2.0.ebuild41
-rw-r--r--app-dicts/kbgoffice/metadata.xml13
5 files changed, 80 insertions, 0 deletions
diff --git a/app-dicts/kbgoffice/ChangeLog b/app-dicts/kbgoffice/ChangeLog
new file mode 100644
index 0000000..2382c56
--- /dev/null
+++ b/app-dicts/kbgoffice/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for app-dicts/kbgoffice
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+
+*kbgoffice-2.0 (25 Oct 2010)
+ 25 Oct 2010; Iskren Slavov <iskren.s@gmail.com>
+ +kbgoffice-2.0.ebuild, kbgoffice-2.0-fix-paths.patch:
+ Initial release.
diff --git a/app-dicts/kbgoffice/Manifest b/app-dicts/kbgoffice/Manifest
new file mode 100644
index 0000000..da4a0f0
--- /dev/null
+++ b/app-dicts/kbgoffice/Manifest
@@ -0,0 +1,5 @@
+AUX kbgoffice-2.0-fix-paths.patch 340 RMD160 8918641e3211cfdd115d286c714a621e1f26dbc6 SHA1 7e1125022d7a3321a3bc715d880a6e18334f741b SHA256 a23f2ba584c56147fea1308fad6e3d9ba8930013d96ed33a1805c498746ee916
+DIST kbgoffice-2.0.tar.gz 357812 RMD160 ecb46c101a3013f5e795861b74cbace1718e70b0 SHA1 351bc07c4a6c0f5b5d0877a12f0a0bbd180f5ea1 SHA256 51d585cfc9476fed3d2456f57c770eea8fc37355e6bcb86a4eb44086cd166602
+EBUILD kbgoffice-2.0.ebuild 735 RMD160 2adb7e52649f1eb6482207777e432afc3abc7022 SHA1 879663943f4b53d755ef33d5af3d5f09e7de1ba5 SHA256 5c601bbdb3d9ddf61ca436846c6b5b2f0371c3528709ad9f000fd8dc4d74d57c
+MISC ChangeLog 261 RMD160 6296d59d976f1d27885a5528b9ee61ed2d589727 SHA1 00b0a22b67543b3b03737a9c18cca3ad1750d042 SHA256 3d3388df9c84f4205534d2546d75a9a0f618411452f57152dfe6123871870ae3
+MISC metadata.xml 369 RMD160 7568851cd12ade662fef914b946b27588af545aa SHA1 ae37901d2bded59bad9fa16866f7b7aa61bdd75a SHA256 c82df01729a62413f2a54a2ac02c4853ad3dda22a96af4c8d67d7d4e77597937
diff --git a/app-dicts/kbgoffice/files/kbgoffice-2.0-fix-paths.patch b/app-dicts/kbgoffice/files/kbgoffice-2.0-fix-paths.patch
new file mode 100644
index 0000000..78e590c
--- /dev/null
+++ b/app-dicts/kbgoffice/files/kbgoffice-2.0-fix-paths.patch
@@ -0,0 +1,14 @@
+--- kbgoffice.pro.orig 2010-10-25 11:21:15.592000235 +0300
++++ kbgoffice.pro 2010-10-25 11:20:47.541000247 +0300
+@@ -7,8 +7,8 @@
+ # Always put ending path delimiter
+
+ unix{
+- DATADIR = "/usr/local/share/bgoffice/"
+- INSTALLDIR = "/usr/local/bin/"
++ DATADIR = "/usr/share/bgoffice/"
++ INSTALLDIR = "/usr/bin/"
+ }
+
+ win32{
+
diff --git a/app-dicts/kbgoffice/kbgoffice-2.0.ebuild b/app-dicts/kbgoffice/kbgoffice-2.0.ebuild
new file mode 100644
index 0000000..f2241f6
--- /dev/null
+++ b/app-dicts/kbgoffice/kbgoffice-2.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="2"
+
+inherit qt4-r2
+
+DESCRIPTION="A QT-based Bulgarian <=> English dictionary"
+HOMEPAGE="http://bgoffice.sourceforge.net/"
+SRC_URI="mirror://sourceforge/bgoffice/BG%20Office%20Assistant/2.0/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=x11-libs/qt-core-4.6.3
+ >=x11-libs/qt-gui-4.6.3
+ >=app-dicts/bgoffice-dictfiles-1.0"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${P}/src"
+
+src_prepare() {
+ cd "${S}"
+
+ qt4-r2_src_prepare
+ epatch "${FILESDIR}/${P}-fix-paths.patch"
+}
+
+src_configure() {
+ eqmake4 -config release || die 'eqmake -config failed'
+}
+
+src_install() {
+ qt4-r2_src_install
+}
+
+
+
+
diff --git a/app-dicts/kbgoffice/metadata.xml b/app-dicts/kbgoffice/metadata.xml
new file mode 100644
index 0000000..b2b0d11
--- /dev/null
+++ b/app-dicts/kbgoffice/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>app-dicts</herd>
+<maintainer>
+ <email>iskren.s@gmail.com</email>
+</maintainer>
+<longdescription>kBGoffice is a dual Bulgarian English dictionary.
+It's just like gBGoffice but written in QT4.
+</longdescription>
+<use>
+</use>
+</pkgmetadata>