1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-01-04 21:04:18 +01:00

Added new eubuild for TeXWorks (corrected paths, also for spell checking)

Added new version for Calibre, removed old versions
This commit is contained in:
root
2010-04-06 16:59:02 +02:00
parent 72ba1a9c38
commit 51971d6867
5 changed files with 66 additions and 156 deletions

View File

@@ -1,3 +1,4 @@
AUX icon/texworks.png 2575 RMD160 ed62c403a3ae55d25a8b68740eb2b95f67b2a48b SHA1 2b407b19b950589f9291216a31563ed38637ca41 SHA256 b557047947474a278301647a4a2ff0a7b361a82691ec0fbb515f023e59ed8ac7
AUX texworks.desktop 475 RMD160 86bcba7d39dd2dac683604f2906b73e8bac52a8f SHA1 64dfcf77c05c6b99bc040bce4e82ae411aa6e2c3 SHA256 db051c769a9e815196e4a7a4e107f4bf5007b859b45f8e5f8093de5164a2cd2a
EBUILD texworks-9999-r4.ebuild 856 RMD160 326ff560a63e2771db089df43001845670057749 SHA1 4eeae5c6f4eca16ff1033b3ef067b10218652619 SHA256 2da29bd22f993e8fd1af6755cce9905072dbf4ee5af0aedb76f7eed1ed9bbbd9
EBUILD texworks-9999-r5.ebuild 1469 RMD160 4238988f0311b3da6688db93c949b94c2b153cb4 SHA1 08261fa7f92d365b37a93038cffb686826980d59 SHA256 0f16a1bfa2d2a61ac71c0658f8f3a1a371ebd913bec9786e498fdefc6a9e9d53

View File

@@ -0,0 +1,59 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header $
EAPI="2"
inherit eutils qt4 subversion
DESCRIPTION="Environment for authoring TeX/LaTeX/ConTeXt with focus on usability"
HOMEPAGE="http://code.google.com/p/texworks"
ESVN_REPO_URI="http://texworks.googlecode.com/svn/trunk/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""
LANGS="ar ca cs de es fa fr it ja ko nl pl pt_BR ru sl tr zh_CN"
for LNG in ${LANGS}; do
IUSE="${IUSE} linguas_${LNG}"
done
DEPEND=">=x11-libs/qt-core-4.5.0
app-text/poppler[qt4]
>=app-text/hunspell-1.2.2"
RDEPEND=">=x11-libs/qt-core-4.5.2
>=x11-libs/qt-gui-4.5.2[dbus]
>=app-text/poppler-0.12.3-r3[qt4]
>=app-text/hunspell-1.2.8"
RDEPEND="${DEPEND}"
PDEPEND="latex? ( dev-texlive/texlive-latex ) !latex? ( app-text/texlive-core )"
src_prepare() {
# disable guessing path to tex binary, we already know it
sed -i '\:system(./getDefaultBinPaths.sh): d' TeXworks.pro || die
echo '#define DEFAULT_BIN_PATHS "/usr/bin"' > src/DefaultBinaryPaths.h || die
sed -i '/TW_HELPPATH/ s:/usr/local:/usr:' TeXworks.pro || die
sed -i '/TW_DICPATH/ s:/myspell/dicts:/myspell:' TeXworks.pro || die
}
src_compile() {
eqmake4 TeXworks.pro
emake || die "emake failed"
}
src_install() {
dobin ${PN} || die
# install translations
insinto /usr/share/${PN}/
for LNG in ${LANGS}; do
if use linguas_${LNG}; then
doins trans/TeXworks_${LNG}.qm || die
fi
done
}