diff options
Diffstat (limited to 'games-puzzle/gnome-tetravex')
-rw-r--r-- | games-puzzle/gnome-tetravex/Manifest | 4 | ||||
-rw-r--r-- | games-puzzle/gnome-tetravex/gnome-tetravex-3.36.4.ebuild | 50 | ||||
-rw-r--r-- | games-puzzle/gnome-tetravex/metadata.xml | 4 |
3 files changed, 57 insertions, 1 deletions
diff --git a/games-puzzle/gnome-tetravex/Manifest b/games-puzzle/gnome-tetravex/Manifest index c620fe698049..916a34cd8176 100644 --- a/games-puzzle/gnome-tetravex/Manifest +++ b/games-puzzle/gnome-tetravex/Manifest @@ -1,3 +1,5 @@ DIST gnome-tetravex-3.34.4.tar.xz 914456 BLAKE2B 93fb2711c750feff80af8fb671e69aacb10241009855f268b90e333870f71a82a73344486fdb5612aec69b7c1f5d0a628fc31094fd3aee97bb6c5f68cbc825ac SHA512 4affa8823482d901cd2accc9cab43ebf7054f9550778e3b460ea4915e4eef5937ff74430399610101f1e8c06d8e6aa111e9ae240a19043c0907d0a1d013f5f67 +DIST gnome-tetravex-3.36.4.tar.xz 1005996 BLAKE2B 9647f3db8e60c6cccc243d3da798265fc51eb16a463ef37b8259689b6cc36b81391616f36b665f28c108bb0d70bc42ebe2fc1feafbbc77cb3256f78d1bc4c016 SHA512 a3c163ae61b312b94ed32c02eb13ccaf9aa2f5eefede1a0735b4240e3127be0bd6e827fda47b1bc2987f793fc5927ee63cc836bf1e2a149f958acb1946dba954 EBUILD gnome-tetravex-3.34.4.ebuild 712 BLAKE2B 116fd266617e835966a202702e913583fa4cd98f08e69a35acf84b24a74b449bddcf8bfa5e5d3ef48927a6d2b108e7638dbf70c22e704f21358b1b27cf3b73ae SHA512 f91a2ee8eb48e59189cbfe05ea30043c87c6640699a015b24aa53095001adbe5ba5b0e0dc73d50caa0097e6745f19cf0385b274b8e1251bed28898ec86cc389f -MISC metadata.xml 249 BLAKE2B e71e1b95fee768c696704acbf7e3cf0e599ed2bc8de92bae0141d1194ef9e842bdc292798904487a9b90ddfda9b0e84abd3b76b1518576c1d288240e4e46f110 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 +EBUILD gnome-tetravex-3.36.4.ebuild 899 BLAKE2B 83bd2dfcf5c77418d7c599ed905062272cbf8c62d652ca4545c3c9c32d41ac2da9cd1798fc29b40271a797cdc5d1b07f552742bae39c81dd076332323116974f SHA512 3b0406028e02f1a77a3d021ce0eaf489e5626c7d72f584d502586ce2b39f81add060fb7cd5555cc928ada426aeb73300109e8534d89749aad39026ffe5e73f78 +MISC metadata.xml 418 BLAKE2B 9722632bf30d5cd8920572c229e6344ebb73aee42104644351f8a512db0cfe890203328d063f6108a75cfaced93c7f680f296a2993b2ee0a7335ea483a9baaf3 SHA512 4cad964a8d4e4b0fa2c8161d867ba9683eaa591069b29a0aba877ab8deec55ab2d3a5d4b36aa37fa8314b93a31dde799e87cc0c54a7edde2aec139e567bd6913 diff --git a/games-puzzle/gnome-tetravex/gnome-tetravex-3.36.4.ebuild b/games-puzzle/gnome-tetravex/gnome-tetravex-3.36.4.ebuild new file mode 100644 index 000000000000..31c4ce7053ee --- /dev/null +++ b/games-puzzle/gnome-tetravex/gnome-tetravex-3.36.4.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +VALA_MIN_API_VERSION="0.40" + +inherit gnome.org gnome2-utils meson vala xdg + +DESCRIPTION="Complete the puzzle by matching numbered tiles" +HOMEPAGE="https://wiki.gnome.org/Apps/Tetravex" + +LICENSE="GPL-2+ CC-BY-SA-3.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="cli +gui" +REQUIRED_USE="|| ( cli gui )" + +RDEPEND=" + >=dev-libs/glib-2.42.0:2 + gui? ( >=x11-libs/gtk+-3.22.23:3 ) +" +DEPEND="${RDEPEND} + $(vala_depend) + gui? ( dev-util/itstool ) + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig +" + +src_prepare() { + xdg_src_prepare + vala_src_prepare +} + +src_configure() { + local emesonargs=( + $(meson_use cli build_cli) + $(meson_use gui build_gui) + ) + meson_src_configure +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} diff --git a/games-puzzle/gnome-tetravex/metadata.xml b/games-puzzle/gnome-tetravex/metadata.xml index 39980802b1da..329f3cf78012 100644 --- a/games-puzzle/gnome-tetravex/metadata.xml +++ b/games-puzzle/gnome-tetravex/metadata.xml @@ -5,4 +5,8 @@ <email>gnome@gentoo.org</email> <name>Gentoo GNOME Desktop</name> </maintainer> +<use> + <flag name="cli">Build the gnome-tetravex-cli command-line interface</flag> + <flag name="gui">Build the gnome-tetravex graphical Gtk user interface</flag> +</use> </pkgmetadata> |