diff options
Diffstat (limited to 'games-board/xmahjongg')
-rw-r--r-- | games-board/xmahjongg/Manifest | 3 | ||||
-rw-r--r-- | games-board/xmahjongg/metadata.xml | 8 | ||||
-rw-r--r-- | games-board/xmahjongg/xmahjongg-3.7-r1.ebuild | 31 |
3 files changed, 42 insertions, 0 deletions
diff --git a/games-board/xmahjongg/Manifest b/games-board/xmahjongg/Manifest new file mode 100644 index 000000000000..636e6cd5e53a --- /dev/null +++ b/games-board/xmahjongg/Manifest @@ -0,0 +1,3 @@ +DIST xmahjongg-3.7.tar.gz 551834 BLAKE2B 8a8d82fe6f88efc0b966440b27654a003f8928bf10ee7cdf54a95dd35108530794faa21d39c296c789a910e6867db831bbfbecefe8f873f26a52d0e877b45485 SHA512 eb952b38b2ea79f3037a6e8063042f4094e0719edd366c0327350aaf6484ee64ad5d174741bbb80fc49dba62eba4790ffc97eb1bf0d942149e614bde7bd1759a +EBUILD xmahjongg-3.7-r1.ebuild 678 BLAKE2B b50c04934ca6f5b5ae4b23620b79da7b3fdd1694c6fffc44e3e77b7463d545375b68444c78b5c2a60f2352d9294f3d371e1d7e780164b98f92156795ab37c523 SHA512 1af567a8301d87094c646c55184a5c4e54c5479bb53f3eaca1bc5fe3462851e270e04eea38b8ca1e33549d1737d0a546d2004e158bb7d93e697a6934b9a8e978 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-board/xmahjongg/metadata.xml b/games-board/xmahjongg/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-board/xmahjongg/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> +</maintainer> +</pkgmetadata> diff --git a/games-board/xmahjongg/xmahjongg-3.7-r1.ebuild b/games-board/xmahjongg/xmahjongg-3.7-r1.ebuild new file mode 100644 index 000000000000..e05ea7454d84 --- /dev/null +++ b/games-board/xmahjongg/xmahjongg-3.7-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils + +DESCRIPTION="friendly GUI version of xmahjongg" +HOMEPAGE="http://www.lcdf.org/xmahjongg/" +SRC_URI="http://www.lcdf.org/xmahjongg/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~mips ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="" + +RDEPEND="x11-libs/libX11" +DEPEND="${RDEPEND} + x11-libs/libXt" + +src_prepare() { + default + sed -i \ + -e '/X_PRE_LIBS/s:-lSM -lICE::' \ + configure || die +} + +src_install() { + default + newicon share/tiles/small.gif ${PN}.gif + make_desktop_entry xmahjongg "Xmahjongg" /usr/share/pixmaps/${PN}.gif +} |