public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/user/bleeding-edge:master commit in: app-office/texstudio/files/, net-mail/libdbx/files/, app-office/texstudio/, ...
@ 2016-10-06  0:43 Jan Psota
  0 siblings, 0 replies; only message in thread
From: Jan Psota @ 2016-10-06  0:43 UTC (permalink / raw
  To: gentoo-commits

commit:     469ac8977f76ff4e2aec9c054839f7e1116f52c1
Author:     layman <layman <AT> localhost>
AuthorDate: Thu Oct  6 00:40:39 2016 +0000
Commit:     Jan Psota <jasiupsota <AT> gmail <DOT> com>
CommitDate: Thu Oct  6 00:40:39 2016 +0000
URL:        https://gitweb.gentoo.org/repo/user/bleeding-edge.git/commit/?id=469ac897

app-office/texstudio-2.11.2	ebuild by Andreas G. <m-gentoo <AT> andig.net> - bump bug 595996

 app-office/texstudio/Manifest                |   1 +
 app-office/texstudio/files/texmakerx_my.pri  |  18 +++++
 app-office/texstudio/texstudio-2.11.2.ebuild | 101 +++++++++++++++++++++++++++
 app-portage/portage-utils/files/qportage     |   0
 app-portage/portage-utils/files/qtail        |   0
 net-mail/libdbx/files/dbx2mbox               |   0
 6 files changed, 120 insertions(+)

diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest
new file mode 100644
index 0000000..eafded1
--- /dev/null
+++ b/app-office/texstudio/Manifest
@@ -0,0 +1 @@
+DIST texstudio-2.11.2.tar.gz 24143941 SHA256 d88ecfef92e38710563294079645fbfa19829ceebd9a109a68f6959c51ae94ad SHA512 774cea12339b19c7d33d034e75386415b89c59de1e149f3973bd0cf789a28c4cb1cdb026a897228303071dc05f985d4798924c6b253e964d6bdced877ab9f1e7 WHIRLPOOL 8b54419db50640abb0fc03ce3b1206c01bc1d245d0a5b605ccc44cfd6e2821651a18a00bfef7622f6c47bf79da23315704b50febe645373feb161f6f68d809a9

diff --git a/app-office/texstudio/files/texmakerx_my.pri b/app-office/texstudio/files/texmakerx_my.pri
new file mode 100644
index 0000000..06426fc
--- /dev/null
+++ b/app-office/texstudio/files/texmakerx_my.pri
@@ -0,0 +1,18 @@
+CONFIG   += link_pkgconfig
+
+# System Quazip
+INCLUDEPATH += @GENTOO_PORTAGE_EPREFIX@/usr/include/quazip
+LIBS += -lquazip
+#INCLUDEPATH += @GENTOO_PORTAGE_EPREFIX@/usr/include/qt4/QCodeEdit
+#INCLUDEPATH += @GENTOO_PORTAGE_EPREFIX@/usr/include/qt4/QtSolutions
+
+# System hunspell
+PKGCONFIG += hunspell
+
+# System qtsingleapplication
+#QT += solutions
+CONFIG += qtsingleapplication
+
+# System qcodeedit
+# Not working currently
+#CONFIG += qcodeedit

diff --git a/app-office/texstudio/texstudio-2.11.2.ebuild b/app-office/texstudio/texstudio-2.11.2.ebuild
new file mode 100644
index 0000000..0bcdca4
--- /dev/null
+++ b/app-office/texstudio/texstudio-2.11.2.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit fdo-mime prefix qmake-utils
+
+DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
+HOMEPAGE="http://texstudio.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="video qt4 +qt5"
+
+REQUIRED_USE="^^ ( qt4 qt5 )"
+
+COMMON_DEPEND="
+	app-text/hunspell
+	app-text/poppler:=[qt4?,qt5?]
+	>=dev-libs/quazip-0.7.1[qt4?,qt5?]
+	dev-qt/qtsingleapplication[X,qt4?,qt5?]
+	x11-libs/libX11
+	x11-libs/libXext
+	qt4? (
+		dev-qt/designer:4
+		>=dev-qt/qtgui-4.8.5:4
+		>=dev-qt/qtcore-4.6.1:4
+		>=dev-qt/qtscript-4.6.1:4
+		>=dev-qt/qtsvg-4.6.1:4
+		>=dev-qt/qttest-4.6.1:4
+	)
+	qt5? (
+		dev-qt/designer:5
+		dev-qt/qtcore:5
+		dev-qt/qtconcurrent:5
+		dev-qt/qtgui:5
+		dev-qt/qtnetwork:5
+		dev-qt/qtprintsupport:5
+		dev-qt/qtscript:5
+		dev-qt/qtsvg:5
+		dev-qt/qttest:5
+		dev-qt/qtwidgets:5
+		dev-qt/qtxml:5
+	)
+	video? ( media-libs/phonon[qt4?,qt5?] )"
+RDEPEND="${COMMON_DEPEND}
+	virtual/latex-base
+	app-text/psutils
+	app-text/ghostscript-gpl
+	media-libs/netpbm"
+DEPEND="${COMMON_DEPEND}
+	virtual/pkgconfig"
+
+S="${WORKDIR}"
+
+src_prepare() {
+	find hunspell quazip utilities/poppler-data qtsingleapplication -delete || die
+
+	if use video; then
+		sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die
+	fi
+
+	sed \
+		-e '/qtsingleapplication.pri/d' \
+		-i ${PN}.pro || die
+
+#	cat >> ${PN}.pro <<- EOF
+#	exists(texmakerx_my.pri):include(texmakerx_my.pri)
+#	EOF
+
+	cp "${FILESDIR}"/texmakerx_my.pri ${PN}.pri || die
+	eprefixify ${PN}.pri
+}
+
+src_configure() {
+	if use qt5; then
+		eqmake5 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1
+	else
+		eqmake4 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1
+	fi
+}
+
+src_install() {
+	local i
+	for i in 16x16 22x22 32x32 48x48 64x64 128x128; do
+		insinto /usr/share/icons/hicolor/${i}/apps
+		newins utilities/${PN}${i}.png ${PN}.png
+	done
+	emake DESTDIR="${D}" INSTALL_ROOT="${ED}" install
+}
+
+pkg_postinst() {
+	fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+	fdo-mime_desktop_database_update
+}

diff --git a/app-portage/portage-utils/files/qportage b/app-portage/portage-utils/files/qportage
old mode 100755
new mode 100644

diff --git a/app-portage/portage-utils/files/qtail b/app-portage/portage-utils/files/qtail
old mode 100755
new mode 100644

diff --git a/net-mail/libdbx/files/dbx2mbox b/net-mail/libdbx/files/dbx2mbox
old mode 100755
new mode 100644


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-10-06  0:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-06  0:43 [gentoo-commits] repo/user/bleeding-edge:master commit in: app-office/texstudio/files/, net-mail/libdbx/files/, app-office/texstudio/, Jan Psota

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox