Skip to content

Commit

Permalink
dev-games/tiled: version bump
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.27
  • Loading branch information
Michael Palimaka committed Mar 9, 2016
1 parent 2f2ec00 commit f123992
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-games/tiled/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ DIST tiled-0.12.3.tar.gz 2372813 SHA256 8078b266cc4902451e14b1efb6c8eba69f610e50
DIST tiled-0.14.2.tar.gz 2941171 SHA256 11ab1ae659d63e0fc6b78a319eab72c3a058a57c6c4bbd334a3e9f258ac0a6f5 SHA512 5fd47f56f1f29fa5cb48ec82f3ac2f4fd3c3addcdd35fc5e4fe742b83ebafe72c67d37c21e73bd5ac383070d68ed270dacc86f6c3959abbada915dfea19b5acf WHIRLPOOL 7cefcd1753614e07ff296d63f0b1a661caae8feeab0b8fb4f032b55443fb6512473443c7329ae7969018b6861ab9fc0dcdfddf743b7e63d1b8d6a668d89a68e9
DIST tiled-0.15.0.tar.gz 2984039 SHA256 978c6270f4e6be5996ee69d12a1c417ea3b98b0ba0a50fbe74176f193c0330d3 SHA512 a4116ea308858f4c430aaa9e4ba5b6170b561d6682d95e85028a32daa960c0533f904a2b065c9943c22c94d533f5a0ea5351962e92d53ee53a0152eaf7ef39a0 WHIRLPOOL e7f6848aeafe1f8fe75233fb5822600382fd8b6dbb9b846626f57f30bd06c2da91247ebd63ea93aef0da86227f98453f33ae08656acf3cc25b7bdf4bf0e3065f
DIST tiled-0.15.1.tar.gz 2984663 SHA256 b084650adae12c1c34d9493f99fabcdb27c9fa12e3e1167212c28c5c76936b81 SHA512 34dcc6f58d3709f3499d0a317a35e7b6488a6b6a313efa3a1f1d602970721af0892742b67a01623fd4f237e3ef97d6e1ba1d304dd0e3c73f27a24f7f24e92f1a WHIRLPOOL 74d4bf7b3ebb39ab1fc3973310bab626a852d7fb1b978d8a2f5e98459370a02b3162ae6878efca320844430b5f2d40839d2d9a0efaa9f0c19a81ac84be60aa4e
DIST tiled-0.15.2.tar.gz 3004096 SHA256 af662bba4d7b930717359484da4f3cae0ae004d0a9e51f0eeb04704cefd74ee1 SHA512 0c866ad6733ed37a60967f9826d632e4e72669289329b8db0799dafc99b95a18ec3c9e9b454ea925f4289b6d05e06268533858c8b02f7b43a224a64255a7c214 WHIRLPOOL c920f8cd7130fc055eb08bb550439e473a638a6a305eee1b70af59f1294ff25b0511c40707538200438e857f45f9909059792bf8b9bfe39849262c5eb6767187
66 changes: 66 additions & 0 deletions dev-games/tiled/tiled-0.15.2.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Copyright 1999-2016 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
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
"

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

dodoc AUTHORS COPYING NEWS README.md

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
}

0 comments on commit f123992

Please sign in to comment.