Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 192408 Details for
Bug 264631
app-dicts/goldendict live ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-dicts/goldendict-0.9.0 and live
goldendict-0.9.0.ebuild (text/plain), 3.19 KB, created by
Sergey Kondakov
on 2009-05-25 14:03:24 UTC
(
hide
)
Description:
app-dicts/goldendict-0.9.0 and live
Filename:
MIME Type:
Creator:
Sergey Kondakov
Created:
2009-05-25 14:03:24 UTC
Size:
3.19 KB
patch
obsolete
># Copyright 1999-2008 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI="2" > >if [[ ${PV} == "9999" ]] ; then > ESVN_REPO_URI="svn://svn.berlios.de/goldendict/trunk/src" > ESVN_PROJECT="goldendict" > inherit subversion > SRC_URI="" > KEYWORDS="" >else > inherit eutils > SRC_URI="mirror://berlios/${PN}/${P}-src-x11.tar.bz2 -> ${P}.tar.bz2" > KEYWORDS="~amd64 ~x86 ~x86-fbsd" > S="${WORKDIR}/${P}-src" >fi > >RUPACK="enruen-content" >RUPACK_V="1.0" >MORPH_V="1.0" > >inherit qt4 >DESCRIPTION="GoldenDict is a feature-rich dictionary lookup program." >HOMEPAGE="http://goldendict.berlios.de/" >LICENSE="GPL-3" >SLOT="0" > >LANGS="af bg ca cs cy da de el en eo es et fo fr ga gl he hr hu ia id it ku lt lv mi mk ms nb nl nn pl pt ro ru sk sl sv sw tn uk zu" >IUSE="+addons" >for i in ${LANGS}; do > IUSE="${IUSE} linguas_${i}" >done > ># let's have some en<->ru dictionaries, english-pronouncing pack and updated morphology >SRC_URI="${SRC_URI} addons? ( > linguas_en? ( mirror://berlios//"${PN}/en_US_${MORPH_V}".zip -> morphology_dict-en_US_"${MORPH_V}".zip > linguas_ru? ( mirror://berlios//"${PN}/${RUPACK}-${RUPACK_V}".tar.bz2 ) ) > linguas_de? ( mirror://berlios//"${PN}/de_DE_${MORPH_V}".zip -> morphology_dict-de_DE_"${MORPH_V}".zip ) > linguas_ru? ( mirror://berlios//"${PN}/ru_RU_${MORPH_V}".zip -> morphology_dict-ru_RU_"${MORPH_V}".zip ) > )" >RDEPEND="sys-libs/zlib > >=dev-libs/libzip-0.9 > >=app-text/hunspell-1.2 > media-libs/libogg > media-libs/libvorbis > >=x11-libs/qt-core-4.5 > >=x11-libs/qt-webkit-4.5" >DEPEND="${RDEPEND}" >for i in ${LANGS}; do > RDEPEND="${RDEPEND} > linguas_${i}? ( app-dicts/myspell-${i} )" > [ ${i} == "de" ] && RDEPEND="${RDEPEND} linguas_${i}? ( app-dicts/myspell-${i}-alt )" >done > >src_unpack() { > if [[ ${PV} == "9999" ]] ; then > subversion_src_unpack > else > unpack "${P}.tar.bz2" > fi > > if use addons; then > [ -d addons ] || mkdir -p "${WORKDIR}"/addons/content/morphology > # get en<->ru funny pack > if use linguas_en && use linguas_ru; then > cd "${WORKDIR}"/addons > unpack "${RUPACK}-${RUPACK_V}.tar.bz2" > fi > # get updated morphology > cd "${WORKDIR}"/addons/content/morphology || die > for i in en de ru; do > local I=$(echo ${i}|tr a-z A-Z) > [ ${I} == "EN" ] && I="US" > use linguas_${i} && unpack morphology_dict-${i}_${I}_"${MORPH_V}".zip > done > fi >} > >src_compile() { > PREFIX=/usr eqmake4 || die "qmake failed" > emake || die "emake failed" >} > >src_install() { > emake INSTALL_ROOT="${D}" install || die "emake install filed" > # install locales > insinto /usr/share/apps/${PN}/locale > for i in $LANGS; do > if use linguas_${i}; then > [ -f "locale/${i}.qm" ] && doins "locale/${i}.qm" || \ > ewarn "couldn't find $i translation" > fi > done > > # what is that ? not for us > rm -r "${D}/usr/share/app-install" || die "couldn't delete useless stuff" > > if use addons; then > insinto "/usr/share/apps/${PN}" > doins -r "${WORKDIR}"/addons/content/* || die > fi >} > >pkg_postinst() { > elog "add '/usr/share/myspell' to ${PN} \"Morphology\" source" > > if use addons; then > elog "add '/usr/share/apps/goldendict' to ${PN}" > elog "\"Dictionaries\" and \"Sound\" sources" > elog "and '/usr/share/apps/goldendict/morphology' to ${PN}" > elog "\"Morphology\" sources if there are addons for you" > fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 264631
:
187088
|
187100
|
187102
|
189335
|
189346
|
189348
|
189354
|
189493
|
189494
|
192391
|
192408
|
192483
|
205119
|
207216
|
213483
|
217665
|
217666