From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/qt:master commit in: dev-games/tiled/
Date: Sat, 16 Jan 2016 12:36:55 +0000 (UTC) [thread overview]
Message-ID: <1452947566.98c9217629c9b52ddc0eb38decc5dc68ec308de6.kensington@gentoo> (raw)
commit: 98c9217629c9b52ddc0eb38decc5dc68ec308de6
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 16 12:32:46 2016 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sat Jan 16 12:32:46 2016 +0000
URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=98c92176
dev-games/tiled: sync with main tree
Package-Manager: portage-2.2.26
dev-games/tiled/tiled-9999.ebuild | 66 +++++++++++++++++++++++++--------------
1 file changed, 43 insertions(+), 23 deletions(-)
diff --git a/dev-games/tiled/tiled-9999.ebuild b/dev-games/tiled/tiled-9999.ebuild
index 2347bf9..6efad10 100644
--- a/dev-games/tiled/tiled-9999.ebuild
+++ b/dev-games/tiled/tiled-9999.ebuild
@@ -1,46 +1,66 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
-PLOCALES="cs de en es fr he it ja lv nl pt pt_BR ru zh"
-MY_P="${PN}-qt-${PV}"
+PYTHON_COMPAT=( python2_7 )
+inherit fdo-mime gnome2-utils multilib python-single-r1 qmake-utils
-inherit multilib l10n qt4-r2 git-2
-
-DESCRIPTION="A general purpose tile map editor."
+DESCRIPTION="A general purpose tile map editor"
HOMEPAGE="http://www.mapeditor.org/"
EGIT_REPO_URI="git://github.com/bjorn/${PN}.git"
-LICENSE="BSD GPL-2"
+LICENSE="BSD BSD-2 GPL-2+"
SLOT="0"
-KEYWORDS=""
-IUSE="examples"
+KEYWORDS="~amd64"
+IUSE="examples python"
-DEPEND="sys-libs/zlib
- >=dev-qt/qtcore-4.6:4
- >=dev-qt/qtgui-4.6:4
- >=dev-qt/qtopengl-4.6:4"
-RDEPEND="${DEPEND}"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-DOCS=( AUTHORS COPYING NEWS README.md )
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtopengl:5
+ dev-qt/qtwidgets:5
+ sys-libs/zlib
+ python? ( ${PYTHON_DEPS} )
+"
+DEPEND="${RDEPEND}
+ dev-qt/linguist-tools:5
+"
-src_prepare() {
- rm -r src/zlib || die
- sed -e "s/^LANGUAGES =.*/LANGUAGES = $(l10n_get_locales)/" \
- -i translations/translations.pro || die
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
}
src_configure() {
- eqmake4 LIBDIR="/usr/$(get_libdir)" PREFIX="/usr"
+ eqmake5 LIBDIR="/usr/$(get_libdir)" PREFIX="/usr" DISABLE_PYTHON_PLUGIN="$(usex !python)"
}
src_install() {
- qt4-r2_src_install
+ emake INSTALL_ROOT="${D}" install
+
+ dodoc AUTHORS COPYING NEWS README.md
if use examples ; then
- insinto /usr/share/${PN}
- doins -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ dodoc -r examples
fi
}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
next reply other threads:[~2016-01-16 12:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-16 12:36 Michael Palimaka [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-02-09 12:03 [gentoo-commits] proj/qt:master commit in: dev-games/tiled/ Michael Palimaka
2013-01-28 10:46 Michael Palimaka
2012-08-06 16:10 Michael Palimaka
2012-08-06 14:48 Michael Palimaka
2012-06-28 18:01 Michael Palimaka
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=1452947566.98c9217629c9b52ddc0eb38decc5dc68ec308de6.kensington@gentoo \
--to=kensington@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