From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- app-dicts/ydpdict/Manifest | 3 +++ app-dicts/ydpdict/metadata.xml | 5 ++++ app-dicts/ydpdict/ydpdict-1.0.2.ebuild | 42 ++++++++++++++++++++++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 app-dicts/ydpdict/Manifest create mode 100644 app-dicts/ydpdict/metadata.xml create mode 100644 app-dicts/ydpdict/ydpdict-1.0.2.ebuild (limited to 'app-dicts/ydpdict') diff --git a/app-dicts/ydpdict/Manifest b/app-dicts/ydpdict/Manifest new file mode 100644 index 000000000000..6fcf0f033594 --- /dev/null +++ b/app-dicts/ydpdict/Manifest @@ -0,0 +1,3 @@ +DIST ydpdict-1.0.2.tar.gz 363774 BLAKE2B 0ca86e0180af559f9440f8a598672e5e321d84f37725f0233ba0d666119f20308c0229fd1dd0197a8c86733af17f1cce53b990c63b260673871ab6658d88a5c5 SHA512 b2395d88e289171daae3aa47d9c70a2ca1c7b3a3998c1a9751c56e1dc8d17138bc38a172581edcad02c35d5252041c6942a3c416a632def6121072650bcb7e61 +EBUILD ydpdict-1.0.2.ebuild 974 BLAKE2B 6c6097f4e3da1a3e6f0328d4a94c4d666593b977d2200b30e8c04e672016ab5120763501e1c24464be0d780dd4553e7ac1e20a8cd31301d2a3b67bdac53d386d SHA512 fb9adb4c5859e16b8ca6164f96007a4151ba26682530afe76cd31215d361d9b32b380134d77bc94c32a9d3a66080c388a713d17e6d3b8dd9c244aec2c82dbee5 +MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 diff --git a/app-dicts/ydpdict/metadata.xml b/app-dicts/ydpdict/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/app-dicts/ydpdict/metadata.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/app-dicts/ydpdict/ydpdict-1.0.2.ebuild b/app-dicts/ydpdict/ydpdict-1.0.2.ebuild new file mode 100644 index 000000000000..cec7d34b79aa --- /dev/null +++ b/app-dicts/ydpdict/ydpdict-1.0.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="Interface for the Collins Dictionary" +HOMEPAGE="http://toxygen.net/ydpdict/" +SRC_URI="http://toxygen.net/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="ao" + +RDEPEND=">=app-dicts/libydpdict-${PV} + sys-libs/ncurses[unicode] + ao? ( media-libs/libao )" + +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_configure() { + econf \ + $(use_with ao libao) +} + +src_install() { + dodir "/etc" + emake DESTDIR="${D}" install + dodoc README +} + +pkg_postinst() { + echo + elog "Note that to use this program you'll need the original Collins Dictionary" + elog "datafiles (dict100.*, dict101.*). These can be found in the Dabasase/" + elog "directory of the Windows version of the Collins dictionary. Once you obtain" + elog "the files, put them into /usr/share/ydpdict" + elog + elog "Some configuration options can be set in /etc/ydpdict.conf" + echo +} -- cgit v1.2.3