summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-04-23 10:31:42 +0200
committerKarel Kočí <cynerd@email.cz>2017-04-23 11:12:07 +0200
commit29c71a0562acb9990fb9ffc21bbecda79f357bbb (patch)
treeb02fb0363b84b7471470936b56b9389d68f642c7
parentf301e670a2f05c92b52c72115b7033490de24ff1 (diff)
downloadgentoo-personal-overlay-29c71a0562acb9990fb9ffc21bbecda79f357bbb.tar.gz
gentoo-personal-overlay-29c71a0562acb9990fb9ffc21bbecda79f357bbb.tar.bz2
gentoo-personal-overlay-29c71a0562acb9990fb9ffc21bbecda79f357bbb.zip
Add dictionaries
-rw-r--r--app-dicts/stardict-cz/Manifest1
-rw-r--r--app-dicts/stardict-cz/stardict-cz-20140101.ebuild19
-rw-r--r--app-dicts/stardict-en-cz/Manifest1
-rw-r--r--app-dicts/stardict-en-cz/stardict-en-cz-20170401.ebuild20
-rw-r--r--profiles/base/packages1
-rw-r--r--profiles/desktop/packages5
6 files changed, 46 insertions, 1 deletions
diff --git a/app-dicts/stardict-cz/Manifest b/app-dicts/stardict-cz/Manifest
new file mode 100644
index 0000000..0e1564a
--- /dev/null
+++ b/app-dicts/stardict-cz/Manifest
@@ -0,0 +1 @@
+DIST stardict-cz-20140101.tar.gz 681481 SHA256 6b6044475ed113020994774ba5dfa87c94dd361fac7921787c2bc78d0781329a SHA512 763a19eeb72d79ea93ba9252518915554db8bf042cf272622c4c73f6a8a510acd23e3788dd1a82c19369ec911123adf53926e1bf97edb2ae2b7a8f7c32fae213 WHIRLPOOL 81e99484afdd55e7f5af7d8a8a477dde059e625fa9c3e1934f78bae55af684c101f01abaee7e94f158333cb2c1e694e9f53ffd40c9a04f90180ea8ee49b97db8
diff --git a/app-dicts/stardict-cz/stardict-cz-20140101.ebuild b/app-dicts/stardict-cz/stardict-cz-20140101.ebuild
new file mode 100644
index 0000000..7730612
--- /dev/null
+++ b/app-dicts/stardict-cz/stardict-cz-20140101.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Czech dictionary of foreign words for stardict"
+HOMEPAGE="http://slovnik-cizich-slov.abz.cz/"
+SRC_URI="http://dl.cihar.com/slovnik/stardict-czech-${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="GPL"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+S="${WORKDIR}/stardict-czech-${PV}"
+
+src_install() {
+ dodir /usr/share/stardict/dic
+ cp "${S}"/czech* "${D}"/usr/share/stardict/dic/
+}
diff --git a/app-dicts/stardict-en-cz/Manifest b/app-dicts/stardict-en-cz/Manifest
new file mode 100644
index 0000000..a50d4b3
--- /dev/null
+++ b/app-dicts/stardict-en-cz/Manifest
@@ -0,0 +1 @@
+DIST stardict-en-cz-20170401.tar.gz 4167494 SHA256 c9c47492385cd55901598eaeb9683ffe3a3d0a8225d8952accec29354996c600 SHA512 8ab2ecd3e9144a0c5d03106dc4da53adc9f356435dfd28ea41c6e3e9616f06e067e92046d25f69287b2c5e7060e8330856609f2635f234513258c10b17fb5863 WHIRLPOOL ee1eb2b829cf4fac860c77e376edfb387c059c8a3b1a1c69b0ccc93c0d8daece7e630f3b6f84d31aacde8508b29ec5e59e938b5d05e3cada3338c49d1e926e56
diff --git a/app-dicts/stardict-en-cz/stardict-en-cz-20170401.ebuild b/app-dicts/stardict-en-cz/stardict-en-cz-20170401.ebuild
new file mode 100644
index 0000000..03d829b
--- /dev/null
+++ b/app-dicts/stardict-en-cz/stardict-en-cz-20170401.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="GNU/FDL English-Czech dictionary for StarDict"
+HOMEPAGE="http://slovnik.zcu.cz/"
+SRC_URI="http://dl.cihar.com/slovnik/stardict-english-czech-${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="GPL"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+S="${WORKDIR}/stardict-english-czech-${PV}"
+
+src_install() {
+ dodir /usr/share/stardict/dic
+ cp "${S}"/czech-english.* "${D}"/usr/share/stardict/dic/
+ cp "${S}"/english-czech.* "${D}"/usr/share/stardict/dic/
+}
diff --git a/profiles/base/packages b/profiles/base/packages
index 9f76809..4bcadef 100644
--- a/profiles/base/packages
+++ b/profiles/base/packages
@@ -24,7 +24,6 @@ app-vim/vim-spell-en
# Other cli programs
sys-process/htop
sys-fs/ncdu
-app-text/sdcv
app-misc/mc
# Shells
diff --git a/profiles/desktop/packages b/profiles/desktop/packages
index 6290e22..3135ac0 100644
--- a/profiles/desktop/packages
+++ b/profiles/desktop/packages
@@ -68,6 +68,11 @@ x11-plugins/purple-hangouts
sci-mathematics/octave
dev-python/sympy
+# Translations
+app-text/sdcv
+app-dicts/stardict-cz
+app-dicts/stardict-en-cz
+
# Creations
media-sound/audacity
media-gfx/gimp