public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Vadim A. Misbakh-Soloviov" <mva@mva.name>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-puzzle/2048-qt/
Date: Wed, 10 Jun 2015 09:36:35 +0000 (UTC)	[thread overview]
Message-ID: <1433928986.0a53a090c3d9c38e1f3a1103ddfc483e9ec91215.mva@gentoo> (raw)

commit:     0a53a090c3d9c38e1f3a1103ddfc483e9ec91215
Author:     Vadim A. Misbakh-Soloviov <git <AT> mva <DOT> name>
AuthorDate: Wed Jun 10 09:36:26 2015 +0000
Commit:     Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
CommitDate: Wed Jun 10 09:36:26 2015 +0000
URL:        https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=0a53a090

2048-qt: added

 games-puzzle/2048-qt/2048-qt-0.1.5-r1.ebuild | 48 ++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/games-puzzle/2048-qt/2048-qt-0.1.5-r1.ebuild b/games-puzzle/2048-qt/2048-qt-0.1.5-r1.ebuild
new file mode 100644
index 0000000..86a7aad
--- /dev/null
+++ b/games-puzzle/2048-qt/2048-qt-0.1.5-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit games qmake-utils
+
+DESCRIPTION="A Qt-based version of the game 2048"
+HOMEPAGE="https://github.com/xiaoyong/2048-Qt"
+SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz"
+
+LICENSE="LGPL-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-qt/qtcore:5
+	dev-qt/qtdeclarative:5
+	dev-qt/qtquickcontrols[widgets]
+	x11-themes/hicolor-icon-theme"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/2048-Qt-${PV}"
+
+src_configure(){
+	local myeqmakeargs=(
+		${PN}.pro
+		PREFIX="${EPREFIX}/usr"
+		DESKTOPDIR="${EPREFIX}/usr/share/applications"
+		ICONDIR="${EPREFIX}/usr/share/pixmaps"
+	)
+	eqmake5 ${myeqmakeargs[@]}
+}
+
+src_install(){
+	dogamesbin ${PN}
+	insinto /usr/share/icons/hicolor
+	doins -r icons/*
+	insinto /usr/share/applications
+	doins ${PN}.desktop
+	doman man/${PN}.6
+}
+
+pkg_postinst(){
+	elog "IMPORTANT: Add your user to the games group, and restart your current session."
+	elog "After that, you can play. Enjoy!"
+}


             reply	other threads:[~2015-06-10  9:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-10  9:36 Vadim A. Misbakh-Soloviov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-01-08  8:36 [gentoo-commits] proj/gamerlay:master commit in: games-puzzle/2048-qt/ Vadim Misbakh-Soloviov
2020-02-29 13:04 Azamat H. Hackimov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1433928986.0a53a090c3d9c38e1f3a1103ddfc483e9ec91215.mva@gentoo \
    --to=mva@mva.name \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox