public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/vym/
Date: Sat, 11 Mar 2017 06:10:42 +0000 (UTC)	[thread overview]
Message-ID: <1489212615.3f851c074fcf5b53ec3acd5f517bad783d59b0be.jer@gentoo> (raw)

commit:     3f851c074fcf5b53ec3acd5f517bad783d59b0be
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 11 06:10:15 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Mar 11 06:10:15 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f851c07

x11-misc/vym: Update live ebuild.

Package-Manager: Portage-2.3.4, Repoman-2.3.2

 x11-misc/vym/vym-9999.ebuild | 72 ++++++++++++++++++++++++--------------------
 1 file changed, 39 insertions(+), 33 deletions(-)

diff --git a/x11-misc/vym/vym-9999.ebuild b/x11-misc/vym/vym-9999.ebuild
index f715ebabefe..7d4bc1509eb 100644
--- a/x11-misc/vym/vym-9999.ebuild
+++ b/x11-misc/vym/vym-9999.ebuild
@@ -1,59 +1,65 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit eutils cmake-utils git-r3
+EAPI=6
+
+PLOCALES="cs_CZ de_DE el es fr ia it ja pt_BR ru sv zh_CN zh_TW"
+
+inherit eutils git-r3 l10n qmake-utils
 
 DESCRIPTION="View Your Mind, a mindmap tool"
 HOMEPAGE="http://www.insilmaril.de/vym/"
-EGIT_REPO_URI="git://git.code.sf.net/p/vym/code"
+EGIT_REPO_URI="git://git.code.sf.net/p/${PN}/code"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS=""
 IUSE="dbus"
 
-VYM_LINGUAS=( cs_CZ de_DE es fr ia it pt_BR ru sv zh_CN zh_TW )
-IUSE+=" ${VYM_LINGUAS[@]/#/linguas_}"
-
-DEPEND="
-	dev-qt/qtgui:4[qt3support]
-	dev-qt/qtsvg:4
-	dbus? ( dev-qt/qtdbus:4 )
-"
 RDEPEND="
-	${DEPEND}
-	app-arch/zip
+	dev-qt/qtgui:5
+	dev-qt/qtprintsupport:5
+	dev-qt/qtsvg:5
+	dev-qt/qtxml:5
+	dbus? ( dev-qt/qtdbus:5 )
+"
+DEPEND="
+	${RDEPEND}
+	dev-qt/linguist-tools:5
 "
 
-DOCS=( README.txt )
+DOCS=( README.md )
 
 src_prepare() {
-	epatch "${FILESDIR}"/${PN}-2.3.22-arrowobj.patch
+	default
+
+	remove_locale() {
+		sed -i \
+			-e "/TRANSLATIONS += lang\/vym.${1}.ts/d" \
+			vym.pro || die
+	}
+
+	#remove dead en translation
+	rm lang/vym.en.ts || die
+	remove_locale en
 
-	sed -i \
-		-e '/lang\/vym_en.ts/d' \
-		CMakeLists.txt || die
-	rm -r lang/vym_en.ts || die
+	l10n_find_plocales_changes lang ${PN}. .ts
+	l10n_for_each_disabled_locale_do remove_locale
+
+	"$(qt5_get_bindir)"/lrelease vym.pro || die
 }
 
 src_configure() {
-	local lingua
-	for lingua in ${VYM_LINGUAS[@]}; do
-		if ! use linguas_${lingua}; then
-			sed -i -e "/lang\/vym_${lingua}.ts/d" CMakeLists.txt || die
-			rm -r lang/vym_${lingua}.ts || die
-		fi
-	done
-
-	local mycmakeargs=(
-		$(cmake-utils_use !dbus NO_DBUS)
-	)
-	cmake-utils_src_configure
+	eqmake5 vym.pro \
+		PREFIX="${EPREFIX}"/usr \
+		DATADIR="${EPREFIX}"/usr/share \
+		$(usex dbus "" NO_DBUS=1 )
 }
 
 src_install() {
-	cmake-utils_src_install
+	emake INSTALL_ROOT="${D}" install
+	einstalldocs
 	doman doc/vym.1.gz
+
 	make_desktop_entry vym vym /usr/share/vym/icons/vym.png Education
 }


             reply	other threads:[~2017-03-11  6:10 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-11  6:10 Jeroen Roovers [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-10  3:56 [gentoo-commits] repo/gentoo:master commit in: x11-misc/vym/ Sam James
2025-03-04 23:09 Andreas Sturmlechner
2021-07-04 14:03 Ulrich Müller
2020-10-08 10:50 Jeroen Roovers
2020-10-08 10:50 Jeroen Roovers
2019-12-30 23:01 Sergei Trofimovich
2019-08-26  6:20 Jeroen Roovers
2019-08-26  6:20 Jeroen Roovers
2019-05-16  6:56 Jeroen Roovers
2019-04-17 10:49 Jeroen Roovers
2019-04-17 10:49 Jeroen Roovers
2018-01-05 19:21 Ulrich Müller
2017-11-18 11:42 Jeroen Roovers
2017-05-30  7:53 Jeroen Roovers
2017-05-12 18:47 Jeroen Roovers
2017-05-12 18:47 Jeroen Roovers
2017-03-23  6:45 Jeroen Roovers
2017-03-23  6:45 Jeroen Roovers
2017-03-11  6:10 Jeroen Roovers
2017-03-09 20:50 David Seifert
2015-10-31  4:27 Jeroen Roovers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1489212615.3f851c074fcf5b53ec3acd5f517bad783d59b0be.jer@gentoo \
    --to=jer@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox