diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-puzzle/lpairs |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-puzzle/lpairs')
-rw-r--r-- | games-puzzle/lpairs/Manifest | 5 | ||||
-rw-r--r-- | games-puzzle/lpairs/lpairs-1.0.4.ebuild | 42 | ||||
-rw-r--r-- | games-puzzle/lpairs/metadata.xml | 11 |
3 files changed, 58 insertions, 0 deletions
diff --git a/games-puzzle/lpairs/Manifest b/games-puzzle/lpairs/Manifest new file mode 100644 index 000000000000..87428fed0789 --- /dev/null +++ b/games-puzzle/lpairs/Manifest @@ -0,0 +1,5 @@ +DIST lpairs-1.0.4.tar.gz 536625 SHA256 350237a51a5de6b2a557af687b4f16678056a0e8d8d96d7e395f6629481462c5 SHA512 637f9782c1c1faee3fe0d02adeeb7ea70704f1b625922e1ba086cd03e9a6cf1d61a082eff4753a2ec8be5fc7041bd029f193adf847a39e773e4eedd9eafb2b97 WHIRLPOOL 36d57eb4100a03fdd73e770759330799a55973860b7213f8b4f1847d546e54197071dc064171c9f15c936d71c83b35aa9ae49c5b68ad019741d8964be1735a47 +EBUILD lpairs-1.0.4.ebuild 968 SHA256 eefd0e31ca00dfa5e7642db4785bcc34ae37365121f17fa9fff5c54254c2e7fc SHA512 4f9db43853960336fd9c966b178a0d718dbb9bb8f83149f7cce3e64053206d3690ded31ac83d34add56a4e8800f74c388c400f1291fc742ee4bbb223effcbb9c WHIRLPOOL a2c80340403f9c6776b730af10ff31e8bfc09e88bd5408942973fa0cc50d63f8b3c145a30e8f949089f570e4d38cf7bb92f4ac84190d9cce9c037abbeb1747a7 +MISC ChangeLog 2622 SHA256 7e42af1ff9d18f9615d8b8efa6f6df2f3ff0925789c30e94d43f46b0966f4108 SHA512 7e65a13be928fb5a9c9679243823133b1d518e774e40e9b6d6542d53c4291afe566c77ee184e3daded7ddd71fb70c3b2aef2c974cc4e19f0c0e0390dc880b3c7 WHIRLPOOL 54e7beb2d7f285ff59448a92efaf31abd21e727826b3a5e1a5457c594b1b665a14786f260d31878e6dae317aa27ad0210a7f2f4de3b44118b4dc8cfe7ce836d1 +MISC ChangeLog-2015 2215 SHA256 000d152036684d073691ad594cb7802038cdee2a34839fe6e794849f13b4a589 SHA512 5b4c4be2a8cc916e9dd3e7723d142fe3f766836df833aae3c090708bf9d1343a0c62837a0df11838f1cb37f8175af30080d034ede8778508694c12d1fa85c4a0 WHIRLPOOL 2d2566340b4ce3f0af3983b2c8d109125da7019cd2cdc7f4c22861d9c6a41789e082bebbc209a126ffcaabcc82576844e63d172f3542a6c260eb9999a6b3361b +MISC metadata.xml 329 SHA256 677366ad46dc60999490d23fa85e7d6f2e04596caac98deb8a04d1dc224c7932 SHA512 2439299362958450ac88f39ba8332cb84d42694d471f79cf8a6b9d38ecc96fa629b91530dee7c50aa23fab5e5a0155cb92cb3a8131a1b69e9375f114da86b463 WHIRLPOOL 65e6d198fb2ebd6dfc0038bc37d6f11c5ae44e60f5db9b641d40bf2248abf21e7e6e7bacc2109a42c16be0e092ba37708baa53b8c166efff2fff4db8e878f105 diff --git a/games-puzzle/lpairs/lpairs-1.0.4.ebuild b/games-puzzle/lpairs/lpairs-1.0.4.ebuild new file mode 100644 index 000000000000..f5169a3488fc --- /dev/null +++ b/games-puzzle/lpairs/lpairs-1.0.4.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="A classical memory game" +HOMEPAGE="http://lgames.sourceforge.net/LPairs/" +SRC_URI="mirror://sourceforge/lgames/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="nls sound" + +RDEPEND="media-libs/libsdl[sound?,video] + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_prepare() { + sed -i \ + -e 's:$localedir:/usr/share/locale:' \ + -e 's:$(localedir):/usr/share/locale:' \ + configure po/Makefile.in.in || die + # gcc5 doesn't like the way inline is used. just punt it. (bug #568684) + sed -i -e 's/^inline//g' lpairs/{sdl.[ch],pairs.[ch]} || die +} + +src_configure() { + egamesconf \ + --datadir="${GAMES_DATADIR_BASE}" \ + $(use_enable nls) \ + $(usex sound '' --disable-sound) +} + +src_install() { + default + doicon lpairs.png + make_desktop_entry lpairs LPairs + prepgamesdirs +} diff --git a/games-puzzle/lpairs/metadata.xml b/games-puzzle/lpairs/metadata.xml new file mode 100644 index 000000000000..2cbba7c09d17 --- /dev/null +++ b/games-puzzle/lpairs/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">lgames</remote-id> + </upstream> +</pkgmetadata> |