forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-games/tiled: version bump 0.18.1
Package-Manager: Portage-2.3.3, Repoman-2.3.1
- Loading branch information
Michael Palimaka
committed
Jan 25, 2017
1 parent
d98e23d
commit c7d3a54
Showing
2 changed files
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
DIST tiled-0.17.2.tar.gz 4854767 SHA256 a9c5d68ccc00d89df8611df6c1c37aa8796fffcff968f3993f6d78686678c4b9 SHA512 c5c9cfe50f32adf4c146e8d9a08393b173d59aafee3df747bfb7a0137fe9580dcbf07518d6972491393f9f24289d628c4352a7359acbd06d500cd3ad0200fa42 WHIRLPOOL db45e8b2f5f743126db19d546ad9a8c0bca7e71ec9e2f54f447fcb228ab13cfb3e6d0d2f52482650b29608c31f774669427e1c6b6e3656fee529825ab0c1d533 | ||
DIST tiled-0.18.0.tar.gz 6403889 SHA256 f3ef157e9446d7b0ec50ab8399644d52e03065e7860354f632bbbb318fe35933 SHA512 dec480c2c2fb39180ebbc241b75f864ebebf52fcbc1cd8ae114fdca57f696096d5659ba572089f8f40339bc0c92fa6cdb36774773b808cc187d790542f6b16be WHIRLPOOL 3b31250bf69f69264f3688715290123c7ef76d0a5621d14621929a7b524e501576a26bac9988a292a8dd3cbe0a6231744728bceaf84272cad31c995cc5a9e156 | ||
DIST tiled-0.18.1.tar.gz 6407937 SHA256 7fcd31a6f1307e51e3e72666ada43b85e2afaa95559d48f511c39494c30d2e73 SHA512 d7918ad81f6563910d10260f50d37a6d01df649cc653a657ed24a59e4f1b0b0b10df30fed40c9c082cec0548b41b7b04662aefc6b08b721fc04a291bee7df062 WHIRLPOOL c36f5a41b1962fd0615a0989beef7dae6cb58af7d881b703527caebfca12e9c966f6fdb3231a7f2f19ed298d06ad076957ba1f63db6b029b342abe0248ffaf47 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# Copyright 1999-2017 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=6 | ||
|
||
PYTHON_COMPAT=( python2_7 ) | ||
inherit fdo-mime gnome2-utils multilib python-single-r1 qmake-utils | ||
|
||
DESCRIPTION="A general purpose tile map editor" | ||
HOMEPAGE="http://www.mapeditor.org/" | ||
SRC_URI="https://github.com/bjorn/tiled/archive/v${PV}/${P}.tar.gz" | ||
|
||
LICENSE="BSD BSD-2 GPL-2+" | ||
SLOT="0" | ||
KEYWORDS="~amd64" | ||
IUSE="examples python" | ||
|
||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" | ||
|
||
RDEPEND=" | ||
>=dev-qt/qtcore-5.6:5 | ||
>=dev-qt/qtgui-5.6:5 | ||
>=dev-qt/qtnetwork-5.6:5 | ||
>=dev-qt/qtopengl-5.6:5 | ||
>=dev-qt/qtwidgets-5.6:5 | ||
sys-libs/zlib | ||
python? ( ${PYTHON_DEPS} ) | ||
" | ||
DEPEND="${RDEPEND} | ||
dev-qt/linguist-tools:5 | ||
" | ||
|
||
DOCS=( AUTHORS COPYING NEWS.md README.md ) | ||
|
||
pkg_setup() { | ||
use python && python-single-r1_pkg_setup | ||
} | ||
|
||
src_configure() { | ||
eqmake5 LIBDIR="/usr/$(get_libdir)" PREFIX="/usr" DISABLE_PYTHON_PLUGIN="$(usex !python)" | ||
} | ||
|
||
src_install() { | ||
emake INSTALL_ROOT="${D}" install | ||
|
||
einstalldocs | ||
|
||
if use examples ; then | ||
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 | ||
} |