diff options
author | 2023-03-03 13:19:11 +0100 | |
---|---|---|
committer | 2023-03-03 13:19:11 +0100 | |
commit | 7083ba4485beeca70b2040793cd34e3787abf64f (patch) | |
tree | d4c257733f2fa6b0a103253529ce6d947c0cda3e | |
parent | dev-util/premake: new package, add 5.0.0_beta2 (diff) | |
download | AzP-7083ba4485beeca70b2040793cd34e3787abf64f.tar.gz AzP-7083ba4485beeca70b2040793cd34e3787abf64f.tar.bz2 AzP-7083ba4485beeca70b2040793cd34e3787abf64f.zip |
dev-games/tiled: new package, add 1.9.2
Signed-off-by: Peter Asplund <peter.azp@gmail.com>
-rw-r--r-- | dev-games/tiled/Manifest | 3 | ||||
-rw-r--r-- | dev-games/tiled/metadata.xml | 11 | ||||
-rw-r--r-- | dev-games/tiled/tiled-1.9.2.ebuild | 81 |
3 files changed, 95 insertions, 0 deletions
diff --git a/dev-games/tiled/Manifest b/dev-games/tiled/Manifest new file mode 100644 index 0000000..9a1cdd6 --- /dev/null +++ b/dev-games/tiled/Manifest @@ -0,0 +1,3 @@ +DIST tiled-1.9.2.tar.gz 17131452 SHA256 6332db65acc867a53be3c2e700c7934cdb96bc1436f465212f55594af9b3d2aa SHA512 a8594a064df918b052a04428080ff3075d409756b81633acbddf7f1921c76d2ae29f63e95c0cbd981cdde00759658877db143163da38d238c733081a571464ea WHIRLPOOL 9aa78cd961b6e7a3b13c58ca03a4a026ec08e5fec0635c71c88660041ef77865e7e95a7b7b02f9d715269b4a8d9ba7647d27313146fff67e41c83cb5f960184e +EBUILD tiled-1.9.2.ebuild 1714 SHA256 98479d0125b4db07cd3cdba796ead35d1f9bdbf50d89b4d0a25c5392495000d6 SHA512 2a4c048ad46fd76f8567fcb2b9fcde94c7a4d8dbe2b1122894934b8909d5fe7e4a34574d340557653dda937346a696a8572e985e6c61fd7ffd284ed0c943748e WHIRLPOOL e5f3f3c7e3735f068efd76295ff3652f485d88c996935f4263af23efd5709bf8f28ea78098ca87d72b8626d317f7c87eb1f047445017b1a0ae05be242f674ed5 +MISC metadata.xml 330 SHA256 1333ca8ca92b00ccfdbbd2ae40704a9befcb8e65204ed31ea062b319a6340ed3 SHA512 d87ca073f06c7dcffad14ba0de2856fbc78dc9b963f0bfe4de4ecbc393e5859ac2d85b9a3fa4cd9aaea3e26e19d7688e63dbf1f69ff8fd39ea9e94316b8010a9 WHIRLPOOL 359f685a2feadf29755dfe391acdb84b45e3a886b7d7080166d788d354431c91b002850f4ded8427d67f7d7bdff7ba0e070248c66d987c0c1ce56aac16617c94 diff --git a/dev-games/tiled/metadata.xml b/dev-games/tiled/metadata.xml new file mode 100644 index 0000000..c2ffa3a --- /dev/null +++ b/dev-games/tiled/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>kensington@gentoo.org</email> + <name>Michael Palimaka</name> + </maintainer> + <upstream> + <remote-id type="github">bjorn/tiled</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-games/tiled/tiled-1.9.2.ebuild b/dev-games/tiled/tiled-1.9.2.ebuild new file mode 100644 index 0000000..4c2cfd5 --- /dev/null +++ b/dev-games/tiled/tiled-1.9.2.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +inherit python-single-r1 qmake-utils xdg-utils + +DESCRIPTION="A general purpose tile map editor" +HOMEPAGE="https://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=" + app-arch/zstd:= + >=dev-qt/qtcore-5.15:5 + >=dev-qt/qtdbus-5.15:5 + >=dev-qt/qtdeclarative-5.15:5 + >=dev-qt/qtgui-5.15:5 + >=dev-qt/qtnetwork-5.15:5 + >=dev-qt/qtwidgets-5.15:5 + sys-libs/zlib + python? ( ${PYTHON_DEPS} ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-qt/linguist-tools:5 + virtual/pkgconfig + dev-util/qbs +" + +DOCS=( AUTHORS COPYING NEWS.md README.md ) + +pkg_setup() { + use python && python-single-r1_pkg_setup + # Create a Qt5 profile for Qbs + qbs setup-qt "$(qt5_get_bindir)/qmake" qt5 +} + +src_configure() { + # Setup toolchains + qbs setup-toolchains --detect + # The installdir is appended to installPrefix + qbs build profile:qt5 \ + qbs.installPrefix:"/usr" \ + qbs.installDir:"$(get_libdir)" \ + qbs.install:true + #SYSTEM_ZSTD="yes" \ + #DISABLE_PYTHON_PLUGIN="$(usex !python)" \ + #USE_FHS_PLUGIN_PATH="true" +} + +src_install() { + #emake INSTALL_ROOT="${D}" install + qbs install --install-root="${D}" profile:qt5 + + einstalldocs + + if use examples ; then + docompress -x /usr/share/doc/${PF}/examples + dodoc -r examples + fi +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update +} |