ChangeLog

# ChangeLog for app-office/texmaker
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/ChangeLog,v 1.70 2010/08/10 06:58:23 jlec Exp $

*texmaker-2.0 (10 Aug 2010)

10 Aug 2010; Justin Lecher +texmaker-2.0.ebuild,
+files/texmaker-2.0-hunspell.patch:
Version bump, move to qt4-r2.eclass, dropped ppc* due to unresolvable deps

20 May 2010; Peter Volkov texmaker-1.92.ebuild:
amd64 stable, bug 299590, thank Roland Ramthun for help.

*texmaker-1.99 (25 Feb 2010)

25 Feb 2010; Alexis Ballier +texmaker-1.99.ebuild,
+files/texmaker-1.99-hunspell.patch:
version bump, by Dustin Polke ,
bug #303251

24 Jan 2010; Tom Gall texmaker-1.92.ebuild:
stable on ppc64, bug #299590

17 Jan 2010; Raúl Porcel texmaker-1.92.ebuild:
sparc stable wrt #299590

17 Jan 2010; Christian Faulhammer texmaker-1.92.ebuild:
stable x86, bug 299590

12 Jan 2010; nixnut texmaker-1.92.ebuild:
ppc stable #299590

26 Dec 2009; Peter Volkov texmaker-1.80.ebuild,
texmaker-1.91.ebuild, texmaker-1.92.ebuild:
virtual/ghostscript->app-text/ghostscript-gpl: ghostscript-gpl is the only
implementation left in the tree.

30 Sep 2009; Dominik Kapusta texmaker-1.80.ebuild:
Removed dependency on Qt metapackage

*texmaker-1.92 (13 Jul 2009)

13 Jul 2009; Alexis Ballier +texmaker-1.92.ebuild:
version bump, by Dustin Polke ,
bug #276732

*texmaker-1.91 (08 Jun 2009)

08 Jun 2009; Alexis Ballier +texmaker-1.91.ebuild,
+files/texmaker-1.91-hunspell.patch:
version bump, bug #271539, ebuild and patch by Dustin Polke

30 Apr 2009; Alexis Ballier
-texmaker-1.71-r1.ebuild, -files/texmaker-1.71-hunspell.patch:
remove old

19 Mar 2009; Brent Baude texmaker-1.80.ebuild:
Marking texmaker-1.80 ppc for bug 259592

02 Mar 2009; Brent Baude texmaker-1.80.ebuild:
stable ppc64, bug 259592

25 Feb 2009; Markus Meier texmaker-1.80.ebuild:
amd64/x86 stable, bug #259592

23 Feb 2009; Ferris McCormick texmaker-1.80.ebuild:
Sparc stable, Bug #259592.

28 Nov 2008; Alexis Ballier -texmaker-1.60.ebuild:
remove old

*texmaker-1.80 (28 Nov 2008)

28 Nov 2008; Alexis Ballier
+files/texmaker-1.80-hunspell.patch, +texmaker-1.80.ebuild:
version bump, bug #248921

26 Nov 2008; Ferris McCormick texmaker-1.71-r1.ebuild:
Sparc stable, Bug #245518.

26 Nov 2008; Brent Baude texmaker-1.71-r1.ebuild:
Marking texmaker-1.71-r1 ppc64 for bug 245518

08 Nov 2008; Markus Meier texmaker-1.71-r1.ebuild:
amd64/x86 stable, bug #245518

08 Nov 2008; nixnut texmaker-1.71-r1.ebuild:
Stable on ppc wrt bug 245518

27 Jul 2008; Carsten Lohrke texmaker-1.71-r1.ebuild:
Fix broken split Qt 4.4 dependencies, cf. bug 217161 comment 11.

02 Jul 2008; Alexis Ballier -texmaker-1.71.ebuild:
remove unused version

02 Jul 2008; Alexis Ballier
files/texmaker-1.71-hunspell.patch, texmaker-1.71-r1.ebuild:
fix hunspell detection by using pkgconfig, by René 'Necoro' Neumann
, bug #229729

*texmaker-1.71-r1 (13 May 2008)

13 May 2008; Alexis Ballier
+files/texmaker-1.71-hunspell.patch, +texmaker-1.71-r1.ebuild:
Use system hunspell, by Dustin Surawicz, bug #220617

11 May 2008; Alexis Ballier texmaker-1.60.ebuild:
switch to latex-base, allow split qt4 deps

*texmaker-1.71 (11 May 2008)

11 May 2008; Alexis Ballier +texmaker-1.71.ebuild:
version bump, thanks to Dustin Surawicz
for reporting in bug #220617

26 Jan 2008; Alexis Ballier
-texmaker-1.11-r1.ebuild, -texmaker-1.30.ebuild, -texmaker-1.40.ebuild,
-texmaker-1.50-r1.ebuild:
remove old

21 Jan 2008; Raúl Porcel texmaker-1.60.ebuild:
sparc stable wrt #193181

21 Jan 2008; Markus Meier texmaker-1.60.ebuild:
x86 stable, bug #193181

20 Jan 2008; Christoph Mende texmaker-1.60.ebuild:
Stable on amd64 wrt bug #193181

20 Jan 2008; Brent Baude texmaker-1.60.ebuild:
Marking texmaker-1.60 ~ppc64 for bug 193181

20 Jan 2008; Brent Baude texmaker-1.60.ebuild:
Marking texmaker-1.60 ppc for bug 193181

*texmaker-1.60 (11 Nov 2007)

11 Nov 2007; Alexis Ballier +texmaker-1.60.ebuild:
version bump, bug #185800

22 Jul 2007; Denis Dupeyron texmaker-1.11-r1.ebuild,
texmaker-1.30.ebuild, texmaker-1.40.ebuild, texmaker-1.50-r1.ebuild:
Drop virtual/x11 dependency.

29 Jun 2007; Lars Weiler texmaker-1.50-r1.ebuild:
Stable on ppc; bug #183633.

29 Jun 2007; Christoph Mende texmaker-1.50-r1.ebuild:
Stable on amd64 wrt bug #183633

21 Jun 2007; Gustavo Zacarias
texmaker-1.50-r1.ebuild:
Stable on sparc

13 May 2007; Markus Ullmann texmaker-1.50-r1.ebuild:
Stable on x86

12 Mar 2007; Alexandre Buisse metadata.xml:
Replaced text-markup by tex as maintaining herd (text-markup split).

08 Feb 2007; Alexandre Buisse
texmaker-1.50-r1.ebuild:
Correct wrong dodoc.

*texmaker-1.50-r1 (05 Feb 2007)

05 Feb 2007; Alexandre Buisse -texmaker-1.50.ebuild,
+texmaker-1.50-r1.ebuild:
Fix compilation error and update of dep (>=qt-4.2.2) (bug #160465).

25 Jan 2007; Marius Mauch texmaker-1.11-r1.ebuild,
texmaker-1.30.ebuild, texmaker-1.40.ebuild, texmaker-1.50.ebuild:
Replacing einfo with elog

*texmaker-1.50 (04 Jan 2007)

04 Jan 2007; Przemysław Maciąg +texmaker-1.50.ebuild:
Version bump (1.50).

04 Jan 2007; Przemysław Maciąg texmaker-1.40.ebuild:
Fixed PREFIX use in cpp files (see #159400).

*texmaker-1.40 (09 Oct 2006)

09 Oct 2006; Markus Ullmann +texmaker-1.40.ebuild:
Version bump wrt bug #143363

01 Oct 2006; Alexandre Buisse
texmaker-1.11-r1.ebuild, texmaker-1.30.ebuild:
Corrected DEPEND/RDEPEND mix, thanks to Flameeyes for report and patch.

07 Sep 2006; Diego Pettenò texmaker-1.30.ebuild:
Add ~x86-fbsd keyword.

16 Aug 2006; Caleb Tennis texmaker-1.30.ebuild:
Change qt_min_version to qt4_min_version

07 May 2006; Martin Ehmsen texmaker-1.30.ebuild:
Fixed depend on qt-4.1, bug #132543.

09 Mar 2006; Alexandre Buisse
texmaker-1.11-r1.ebuild:
Typo, DEPEND -> RDEPEND. Thanks to Markus Ullmann.

25 Jan 2006; Alexandre Buisse -texmaker-1.11.ebuild,
texmaker-1.11-r1.ebuild, texmaker-1.21.ebuild:
Modular X porting. Also removed old texmaker-1.11 which was still in ~arch.

15 Jan 2006; Alexandre Buisse texmaker-1.21.ebuild:
Added big ewarn about possible qt-4.0/4.1 up/down cycle in emerge world.

08 Jan 2006; Tobias Scherbaum
texmaker-1.11-r1.ebuild:
ppc stable, bug #117469

12 Jan 2006; Alexandre Buisse texmaker-1.21.ebuild:
Require qt4 to be < 4.1 (see bug #118196). Hopefully will be fixed in newer
releases.

06 Jan 2006; Simon Stelling texmaker-1.11-r1.ebuild:
stable on amd64

02 Jan 2006; Mark Loeser texmaker-1.11-r1.ebuild:
Stable on x86; bug #117469

02 Jan 2006; Gustavo Zacarias
texmaker-1.11-r1.ebuild:
Stable on sparc wrt #117469

*texmaker-1.21 (02 Jan 2006)

02 Jan 2006; Alexandre Buisse
-texmaker-1.2.1.ebuild, +texmaker-1.21.ebuild:
Changed numbering from 1.2.1 to 1.21 for portage to realize that this is the
latest version (closing bug #114037).

*texmaker-1.2.1 (07 Dec 2005)

07 Dec 2005; Alexandre Buisse
+texmaker-1.2.1.ebuild:
Bump to 1.2.1 (mainly switch to qt4). Thanks to Markus Ullmann for the ebuild
(bug #114037).

*texmaker-1.11-r1 (02 Jul 2005)

02 Jul 2005; Mamoru KOMACHI +texmaker-1.11-r1.ebuild:
Added desktop entry; bug #97126. Thanks to Sebastian Kemper
.

01 Jul 2005; Caleb Tennis texmaker-1.11.ebuild:
Fix qmake bin path per bug #97535

28 Jan 2005; Jan Brinkmann texmaker-1.11.ebuild:
added ~amd64 to KEYWORDS. fixes #71354

02 Jan 2005; Joseph Jezak texmaker-1.11.ebuild:
Marked ~ppc.

01 Jan 2005; Jason Wever texmaker-1.11.ebuild:
Added ~sparc keyword.

26 Nov 2004; Mamoru KOMACHI texmaker-1.11.ebuild:
Use kde-functions.eclass. This fixes bug #72515.

*texmaker-1.11 (07 Nov 2004)

07 Nov 2004; Mamoru KOMACHI +metadata.xml,
+texmaker-1.11.ebuild:
Initial import. Ebuild submitted by Alex Linke ;
bug #68439.

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AUX texmaker-1.80-hunspell.patch 1942 RMD160 1f216bad188d8bafca6cbc7aaa2c31e987833006 SHA1 49be4ba143f40919fe9509cafa77d02abfc381ae SHA256 cdf839246c4af288acbed132ea1f0c4ad1bd3d69b4ce575e51459143c359852c
AUX texmaker-1.91-hunspell.patch 1948 RMD160 35e3b78a1e9b9b9a8a76c0d67768e11a6b790554 SHA1 4c33150af01a9f3143040bf5f781de7e322b9ac0 SHA256 b12042c07b14633972869c6ded769bed0b546eabb291e8b770ede874f474b113
AUX texmaker-1.99-hunspell.patch 2003 RMD160 d55780ceb6bcf3eb42ea298212ccc1334adacfd4 SHA1 8d109522237e16d5139979a7b044cb95d4e37ce7 SHA256 33ab95d13cf9d390b7c7d9fd465fd2c55163c3541228dfaa7eb33861c69977d0
AUX texmaker-2.0-hunspell.patch 1886 RMD160 e5e99324b5a7f4c04b35b3a3fc78a3ea477a8be3 SHA1 b1ff9dcfd474104bc601b3476dbbddf5eb3ed5b5 SHA256 6aeca44554c71227fc56475de544a72968540d6c3b7cf527caf8d9296ebac42e
DIST texmaker-1.8.tar.bz2 1767680 RMD160 b3bdfa7838f486f0969da472ff08c2d30825421e SHA1 d5f188c0d207c637a445cec984d79ee017de6e1a SHA256 1268f43a548c6c194ea848d5c70c429386b962f5685f16eb427267921f7ad944
DIST texmaker-1.9.1.tar.bz2 3090445 RMD160 37b34ea22708e22829867dd80756896f4373ff58 SHA1 31267f9ce7bf1aba7bab8605a7608a135e897ae8 SHA256 baf5a82131b2a592cc558cb2604945d5340cb28d88677d463190ac1f282c4999
DIST texmaker-1.9.2.tar.bz2 3094044 RMD160 218f662959843d3417368195d92c16de6970ac9e SHA1 72d2dc0782eeb4da7f0c2694f72ff94ef5168f5e SHA256 6b479788cbce4b940eb78fa011d1ee52c4959c4dc01441ed9a82b045131a10c6
DIST texmaker-1.9.9.tar.bz2 3171903 RMD160 4b3bae8b91b65b7b1a16a7e316c901d474451cdf SHA1 947811ff7ba6385c24f51188c65492949ef76731 SHA256 4896ef933b06d0518e281bb46654a028fd2a1db14e7bc16964b9e6a3bc47ea4d
DIST texmaker-2.0.tar.bz2 3235821 RMD160 843d3447ddc86c1ef359df42815100269741dfe5 SHA1 810687fa1a7ec80ce0ee9ffccafe91ba7284cabc SHA256 638d48909ffe0b3b23d6502c3b85e7e311af707cc9344f6b33eff0ea31f599ab
EBUILD texmaker-1.80.ebuild 1827 RMD160 7cc299745387c5479482d53c3f485b7a37d3eb8f SHA1 89bdbcb9561197000014dc6ea0fc97d41b6f7c10 SHA256 38c21a79b170d417b37e51c694763a2a842305d6c542a69b5c3fa3f15fe30465
EBUILD texmaker-1.91.ebuild 1754 RMD160 ff5dc52a17ef2693926f3778eee0b6bea41acabf SHA1 100f4fc4217b412b69e2f94428718187dc8a572c SHA256 f790685b0452cb37a72b493e7dd24264a24745e702007007b40a8cdb1e5ec207
EBUILD texmaker-1.92.ebuild 1755 RMD160 d311e149e989a0e60f93d4de51c405afb575d9de SHA1 bbe657c95529d64cdfcd36eb736949114bcad033 SHA256 6e2c584f4069049fd60e84b963d09bd4b41a9f0735bc18ae038114eb3ef3cbe0
EBUILD texmaker-1.99.ebuild 1720 RMD160 6b1285bc1596c9bcf14228cdff14cbf417eeed67 SHA1 21d90525fac49853b1c95197ac12bf8838b6ea5f SHA256 0a6f604f60906475527fc8f1b258767a20e4a587c90ee8de25a76b227c66cc52
EBUILD texmaker-2.0.ebuild 1643 RMD160 f89f2c95bf484eb5226e206d0922269a1058d10c SHA1 5fd4de8e82645ec3ca3205c7bb4ae8d28c920e1b SHA256 af1850676580a3530a644e39d2a079792554b951b5e06033ff6c262035fc229c
MISC ChangeLog 9573 RMD160 0e3f5483edfe7aae288833868a4e5de51f4c2d79 SHA1 4b627cbd5367f32cf9b87a1f6a0883ff95f416f7 SHA256 8ed39728241fb1537d612faf75178b427078e2cd975c06e1ee447387d31e8460
MISC metadata.xml 156 RMD160 2bf6b2ed9ff0fcef1e902cf093ccf4ae2dcc70a0 SHA1 e9260cd53905d8569cf3327ded4c6d01653fc389 SHA256 b4971b8472ab3fe4fbfe41b331a79193ca19e86c08d055ad1c20eaf9e04b79b6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)

iEYEARECAAYFAkxg+JUACgkQgAnW8HDreRYmhgCdGCHxcMhS7Gy+9YvG/T4NBlKG
TjgAnjvuaKh7xPWr4Eho2YvsTjBl54Uy
=+M/J
-----END PGP SIGNATURE-----

files

metadata.xml




tex

texmaker-1.80.ebuild

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/texmaker-1.80.ebuild,v 1.7 2009/12/26 19:26:47 pva Exp $

EAPI=1

inherit eutils versionator qt4

DESCRIPTION="A nice LaTeX-IDE"

# The upstream version numbering is bad, so we have to remove a dot in the
# minor version number
MAJOR="$(get_major_version)"
MINOR_1="$(($(get_version_component_range 2)/10))"
MINOR_2="$(($(get_version_component_range 2)%10))"
if [ ${MINOR_2} -eq "0" ] ; then
MY_P="${PN}-${MAJOR}.${MINOR_1}"
else
MY_P="${PN}-${MAJOR}.${MINOR_1}.${MINOR_2}"
fi

S="${WORKDIR}/${MY_P}"
HOMEPAGE="http://www.xm1math.net/texmaker/"
SRC_URI="http://www.xm1math.net/texmaker/${MY_P}.tar.bz2"

LICENSE="GPL-2"

SLOT="0"

KEYWORDS="amd64 ppc ppc64 sparc x86 ~x86-fbsd"

IUSE=""

COMMON_DEPEND="x11-libs/libX11
x11-libs/libXext
x11-libs/qt-gui:4
x11-libs/qt-core:4
>=app-text/hunspell-1.2.4"

RDEPEND="${COMMON_DEPEND}
virtual/latex-base
app-text/psutils
app-text/ghostscript-gpl
media-libs/netpbm"

DEPEND="${COMMON_DEPEND}
dev-util/pkgconfig"

src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-hunspell.patch"
}

src_compile() {
eqmake4 texmaker.pro || die "qmake failed"
emake || die "emake failed"
}

src_install() {
emake INSTALL_ROOT="${D}" install || die "make install failed"

insinto /usr/share/pixmaps/texmaker
doins utilities/texmaker*.png || die "doins failed."
doins utilities/texmaker.svg || die "doins failed."

dodoc utilities/AUTHORS utilities/CHANGELOG.txt || die "dodoc failed"

make_desktop_entry texmaker Texmaker "/usr/share/pixmaps/texmaker/texmaker48x48.png" Office
}

pkg_postinst() {
elog "A user manual with many screenshots is available at:"
elog "/usr/share/${PN}/usermanual_en.html"
elog
}

texmaker-1.91.ebuild

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/texmaker-1.91.ebuild,v 1.2 2009/12/26 19:26:47 pva Exp $

EAPI=1

inherit eutils versionator qt4

DESCRIPTION="A nice LaTeX-IDE"

# The upstream version numbering is bad, so we have to remove a dot in the
# minor version number
MAJOR="$(get_major_version)"
MINOR_1="$(($(get_version_component_range 2)/10))"
MINOR_2="$(($(get_version_component_range 2)%10))"
if [ ${MINOR_2} -eq "0" ] ; then
MY_P="${PN}-${MAJOR}.${MINOR_1}"
else
MY_P="${PN}-${MAJOR}.${MINOR_1}.${MINOR_2}"
fi

S="${WORKDIR}/${MY_P}"
HOMEPAGE="http://www.xm1math.net/texmaker/"
SRC_URI="http://www.xm1math.net/texmaker/${MY_P}.tar.bz2"

LICENSE="GPL-2"

SLOT="0"

KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"

IUSE=""

COMMON_DEPEND="x11-libs/libX11
x11-libs/libXext
>=x11-libs/qt-gui-4.5.1:4
>=x11-libs/qt-core-4.5.1:4
>=app-text/hunspell-1.2.4"

RDEPEND="${COMMON_DEPEND}
virtual/latex-base
app-text/psutils
app-text/ghostscript-gpl
media-libs/netpbm"

DEPEND="${COMMON_DEPEND}
dev-util/pkgconfig"

src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-hunspell.patch"
}

src_compile() {
eqmake4 texmaker.pro || die "qmake failed"
emake || die "emake failed"
}

src_install() {
emake INSTALL_ROOT="${D}" install || die "make install failed"

insinto /usr/share/pixmaps/texmaker
doins utilities/texmaker*.png || die "doins failed."
doins utilities/texmaker.svg || die "doins failed."

dodoc utilities/AUTHORS utilities/CHANGELOG.txt || die "dodoc failed"
}

pkg_postinst() {
elog "A user manual with many screenshots is available at:"
elog "/usr/share/${PN}/usermanual_en.html"
elog
}

texmaker-1.92.ebuild

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/texmaker-1.92.ebuild,v 1.7 2010/05/20 10:34:59 pva Exp $

EAPI=1

inherit eutils versionator qt4

DESCRIPTION="A nice LaTeX-IDE"

# The upstream version numbering is bad, so we have to remove a dot in the
# minor version number
MAJOR="$(get_major_version)"
MINOR_1="$(($(get_version_component_range 2)/10))"
MINOR_2="$(($(get_version_component_range 2)%10))"
if [ ${MINOR_2} -eq "0" ] ; then
MY_P="${PN}-${MAJOR}.${MINOR_1}"
else
MY_P="${PN}-${MAJOR}.${MINOR_1}.${MINOR_2}"
fi

S="${WORKDIR}/${MY_P}"
HOMEPAGE="http://www.xm1math.net/texmaker/"
SRC_URI="http://www.xm1math.net/texmaker/${MY_P}.tar.bz2"

LICENSE="GPL-2"

SLOT="0"

KEYWORDS="amd64 ppc ppc64 sparc x86 ~x86-fbsd"

IUSE=""

COMMON_DEPEND="x11-libs/libX11
x11-libs/libXext
>=x11-libs/qt-gui-4.5.1:4
>=x11-libs/qt-core-4.5.1:4
>=app-text/hunspell-1.2.4"

RDEPEND="${COMMON_DEPEND}
virtual/latex-base
app-text/psutils
app-text/ghostscript-gpl
media-libs/netpbm"

DEPEND="${COMMON_DEPEND}
dev-util/pkgconfig"

src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${PN}-1.91-hunspell.patch"
}

src_compile() {
eqmake4 texmaker.pro || die "qmake failed"
emake || die "emake failed"
}

src_install() {
emake INSTALL_ROOT="${D}" install || die "make install failed"

insinto /usr/share/pixmaps/texmaker
doins utilities/texmaker*.png || die "doins failed."
doins utilities/texmaker.svg || die "doins failed."

dodoc utilities/AUTHORS utilities/CHANGELOG.txt || die "dodoc failed"
}

pkg_postinst() {
elog "A user manual with many screenshots is available at:"
elog "/usr/share/${PN}/usermanual_en.html"
elog
}

texmaker-1.99.ebuild

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/texmaker-1.99.ebuild,v 1.1 2010/02/25 12:04:42 aballier Exp $

EAPI=1

inherit base versionator qt4

DESCRIPTION="A nice LaTeX-IDE"

# The upstream version numbering is bad, so we have to remove a dot in the
# minor version number
MAJOR="$(get_major_version)"
MINOR_1="$(($(get_version_component_range 2)/10))"
MINOR_2="$(($(get_version_component_range 2)%10))"
if [ ${MINOR_2} -eq "0" ] ; then
MY_P="${PN}-${MAJOR}.${MINOR_1}"
else
MY_P="${PN}-${MAJOR}.${MINOR_1}.${MINOR_2}"
fi

S="${WORKDIR}/${MY_P}"
HOMEPAGE="http://www.xm1math.net/texmaker/"
SRC_URI="http://www.xm1math.net/texmaker/${MY_P}.tar.bz2"

LICENSE="GPL-2"

SLOT="0"

KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"

IUSE=""

COMMON_DEPEND="x11-libs/libX11
x11-libs/libXext
>=x11-libs/qt-gui-4.5.1:4
>=x11-libs/qt-core-4.5.1:4
>=app-text/hunspell-1.2.4"

RDEPEND="${COMMON_DEPEND}
virtual/latex-base
app-text/psutils
app-text/ghostscript-gpl
media-libs/netpbm"

DEPEND="${COMMON_DEPEND}
dev-util/pkgconfig"

PATCHES=( "${FILESDIR}/${P}-hunspell.patch" )

src_compile() {
eqmake4 texmaker.pro || die "qmake failed"
emake || die "emake failed"
}

src_install() {
emake INSTALL_ROOT="${D}" install || die "make install failed"

insinto /usr/share/pixmaps/texmaker
doins utilities/texmaker*.png || die "doins failed."
doins utilities/texmaker.svg || die "doins failed."

dodoc utilities/AUTHORS utilities/CHANGELOG.txt || die "dodoc failed"
}

pkg_postinst() {
elog "A user manual with many screenshots is available at:"
elog "/usr/share/${PN}/usermanual_en.html"
elog
}

texmaker-2.0.ebuild

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/texmaker-2.0.ebuild,v 1.2 2010/08/10 06:58:23 jlec Exp $

EAPI="3"

inherit base qt4-r2 versionator

# The upstream version numbering is bad, so we have to remove a dot in the
# minor version number
MAJOR="$(get_major_version)"
MINOR_1="$(($(get_version_component_range 2)/10))"
MINOR_2="$(($(get_version_component_range 2)%10))"
if [ ${MINOR_2} -eq "0" ] ; then
MY_P="${PN}-${MAJOR}.${MINOR_1}"
else
MY_P="${PN}-${MAJOR}.${MINOR_1}.${MINOR_2}"
fi

DESCRIPTION="A nice LaTeX-IDE"
HOMEPAGE="http://www.xm1math.net/texmaker/"
SRC_URI="http://www.xm1math.net/texmaker/${MY_P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~sparc ~x86 ~x86-fbsd"
IUSE=""

S="${WORKDIR}/${MY_P}"

COMMON_DEPEND="
app-text/poppler[qt4]
x11-libs/libX11
x11-libs/libXext
x11-libs/qt-gui:4
x11-libs/qt-webkit:4
x11-libs/qt-xmlpatterns:4
>=app-text/hunspell-1.2.4"
RDEPEND="${COMMON_DEPEND}
virtual/latex-base
app-text/psutils
app-text/ghostscript-gpl
media-libs/netpbm"
DEPEND="${COMMON_DEPEND}
dev-util/pkgconfig"

PATCHES=( "${FILESDIR}/${P}-hunspell.patch" )

src_install() {
emake INSTALL_ROOT="${D}" install || die "make install failed"

insinto /usr/share/pixmaps/texmaker
doins utilities/texmaker*.png || die "doins failed."
doins utilities/texmaker.svg || die "doins failed."

dodoc utilities/AUTHORS utilities/CHANGELOG.txt || die "dodoc failed"
}

pkg_postinst() {
elog "A user manual with many screenshots is available at:"
elog "/usr/share/${PN}/usermanual_en.html"
}