1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-01-06 05:44:15 +01:00

Re-added e-uae, removed obsolete texworks

This commit is contained in:
root
2012-11-29 18:38:47 +01:00
parent 40a0b3526b
commit c3dcbc5def
10 changed files with 379 additions and 120 deletions

View File

@@ -1,4 +0,0 @@
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 1474 RMD160 4fd0deeeea057be83c41d31a86e8038dfec5808c SHA1 aaa53a23f74d0d10c627ba6b9868809a2496670e SHA256 eb70b02ac5402208bbfbda243825ecc778825837cda68d4e69305ee1eb1bd319

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

View File

@@ -1,21 +0,0 @@
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=TeXworks
Name[zh_CN]=TeXworks
Name[zh_HK]=TeXworks
Name[zh_TW]=TeXworks
GenericName=TeX Editor
GenericName[zh_CN]=TeX编辑器
GenericName[zh_HK]=TeX編輯器
GenericName[zh_TW]=TeX編輯器
Comment=Edit TeX documents
Comment[zh_CN]=编辑TeX文档
Comment[zh_HK]=編輯TeX文檔
Comment[zh_TW]=編輯TeX文檔
Exec=texworks
Icon=texworks
Terminal=false
Type=Application
MimeType=text/x-tex;
Categories=Development;TextEditor;

View File

@@ -1,36 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header $
EAPI="2"
inherit eutils qt4-r2 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=""
DEPEND=">=x11-libs/qt-core-4.5.0
app-text/poppler[qt4]
>=app-text/hunspell-1.2.2"
RDEPEND="${DEPEND}"
#src_compile() {
# qmake || die "TeXworks qmake failed!"
# make || die "TeXworks make failed!"
#}
src_install() {
dobin texworks
insinto /usr/share/applications
doins "${FILESDIR}"/texworks.desktop || die "Install texwork.desktop failed!"
insinto /usr/share/pixmaps
doins "${FILESDIR}"/icon/texworks.png || die "Install texwork icon failed!"
}

View File

@@ -1,59 +0,0 @@
# 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="latex"
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
}