diff options
Diffstat (limited to 'app-dicts/kbgoffice')
-rw-r--r-- | app-dicts/kbgoffice/Manifest | 3 | ||||
-rw-r--r-- | app-dicts/kbgoffice/files/kbgoffice-2.1-fix-paths.patch | 14 | ||||
-rw-r--r-- | app-dicts/kbgoffice/kbgoffice-2.1.ebuild | 41 |
3 files changed, 58 insertions, 0 deletions
diff --git a/app-dicts/kbgoffice/Manifest b/app-dicts/kbgoffice/Manifest index da4a0f0..eab2c8a 100644 --- a/app-dicts/kbgoffice/Manifest +++ b/app-dicts/kbgoffice/Manifest @@ -1,5 +1,8 @@ AUX kbgoffice-2.0-fix-paths.patch 340 RMD160 8918641e3211cfdd115d286c714a621e1f26dbc6 SHA1 7e1125022d7a3321a3bc715d880a6e18334f741b SHA256 a23f2ba584c56147fea1308fad6e3d9ba8930013d96ed33a1805c498746ee916 +AUX kbgoffice-2.1-fix-paths.patch 340 RMD160 8918641e3211cfdd115d286c714a621e1f26dbc6 SHA1 7e1125022d7a3321a3bc715d880a6e18334f741b SHA256 a23f2ba584c56147fea1308fad6e3d9ba8930013d96ed33a1805c498746ee916 DIST kbgoffice-2.0.tar.gz 357812 RMD160 ecb46c101a3013f5e795861b74cbace1718e70b0 SHA1 351bc07c4a6c0f5b5d0877a12f0a0bbd180f5ea1 SHA256 51d585cfc9476fed3d2456f57c770eea8fc37355e6bcb86a4eb44086cd166602 +DIST kbgoffice-2.1.tar.gz 366501 RMD160 ba81cc4cd6c08a878e8bab140577aada2f9f32db SHA1 1bb62ff3c3b5e781779390d31d776528295025a5 SHA256 bd8d6f12434be36daa8af327e792f89857b4db823d66fbfeb8627845bd1ef915 EBUILD kbgoffice-2.0.ebuild 735 RMD160 2adb7e52649f1eb6482207777e432afc3abc7022 SHA1 879663943f4b53d755ef33d5af3d5f09e7de1ba5 SHA256 5c601bbdb3d9ddf61ca436846c6b5b2f0371c3528709ad9f000fd8dc4d74d57c +EBUILD kbgoffice-2.1.ebuild 735 RMD160 00ac2e68ee65c827f7fe2f3683d819424f7e0a05 SHA1 36318bf239c5bbe0ca7479ae067fe4ecfceb5c0b SHA256 3351539b0b180e10d812705350ba0c33dc3fa194a839ad89d6c7fe39c1073571 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.1-fix-paths.patch b/app-dicts/kbgoffice/files/kbgoffice-2.1-fix-paths.patch new file mode 100644 index 0000000..78e590c --- /dev/null +++ b/app-dicts/kbgoffice/files/kbgoffice-2.1-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.1.ebuild b/app-dicts/kbgoffice/kbgoffice-2.1.ebuild new file mode 100644 index 0000000..5f42604 --- /dev/null +++ b/app-dicts/kbgoffice/kbgoffice-2.1.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.1/${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 +} + + + + |