Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/qdevicemonitor/
Date: Mon, 02 Jan 2017 09:59:44
Message-Id: 1483351177.98319e06830ea708d7946b18a5d8f4888e74fb3e.monsieurp@gentoo
1 commit: 98319e06830ea708d7946b18a5d8f4888e74fb3e
2 Author: Alexander Lopatin <alopatindev <AT> gmail <DOT> com>
3 AuthorDate: Thu Dec 29 09:12:28 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 2 09:59:37 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98319e06
7
8 dev-util/qdevicemonitor: new package.
9
10 QDeviceMonitor is a crossplatform log viewer for Android, iOS and text files.
11 Written in C++ using the Qt5 framework.
12
13 Gentoo-Bug: https://bugs.gentoo.org/532898
14 Gentoo-Bug: https://bugs.gentoo.org/603810
15
16 Package-Manager: portage-2.3.0
17 Closes: https://github.com/gentoo/gentoo/pull/3272
18
19 dev-util/qdevicemonitor/Manifest | 1 +
20 dev-util/qdevicemonitor/metadata.xml | 16 ++++++++
21 .../qdevicemonitor/qdevicemonitor-1.0.1.ebuild | 47 ++++++++++++++++++++++
22 dev-util/qdevicemonitor/qdevicemonitor-9999.ebuild | 47 ++++++++++++++++++++++
23 4 files changed, 111 insertions(+)
24
25 diff --git a/dev-util/qdevicemonitor/Manifest b/dev-util/qdevicemonitor/Manifest
26 new file mode 100644
27 index 00000000..da1af57
28 --- /dev/null
29 +++ b/dev-util/qdevicemonitor/Manifest
30 @@ -0,0 +1 @@
31 +DIST qdevicemonitor-1.0.1.tar.gz 955052 SHA256 33bd193dd6ad492973ec1fd0c6076bf3c3e9b90deb04f9c39c3f15095d98712b SHA512 c393d8e33aa6234c2b62af8c25e5fc2e6ccacf9734b77500a512fbd584ecde723b9d5717dbe268d65565d3d30801d297236b3546263ba2689ba246d2b13b8f55 WHIRLPOOL 0b1a1f24ea21897adcf24e5a3ff3dcb42244052c6cf28d6898791c50c250376f98b82496d680c5693bbc680eff8f826134de666e5226c1226ed2e8927d1b13ee
32
33 diff --git a/dev-util/qdevicemonitor/metadata.xml b/dev-util/qdevicemonitor/metadata.xml
34 new file mode 100644
35 index 00000000..5351b15
36 --- /dev/null
37 +++ b/dev-util/qdevicemonitor/metadata.xml
38 @@ -0,0 +1,16 @@
39 +<?xml version="1.0" encoding="UTF-8"?>
40 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
41 +<pkgmetadata>
42 + <maintainer type="person">
43 + <email>alopatindev@×××××.com</email>
44 + <name>Alexander Lopatin</name>
45 + <description>Proxy maintainer</description>
46 + </maintainer>
47 + <maintainer type="project">
48 + <email>proxy-maint@g.o</email>
49 + <name>Proxy Maintainers</name>
50 + </maintainer>
51 + <upstream>
52 + <remote-id type="github">alopatindev/qdevicemonitor</remote-id>
53 + </upstream>
54 +</pkgmetadata>
55
56 diff --git a/dev-util/qdevicemonitor/qdevicemonitor-1.0.1.ebuild b/dev-util/qdevicemonitor/qdevicemonitor-1.0.1.ebuild
57 new file mode 100644
58 index 00000000..eb497b2
59 --- /dev/null
60 +++ b/dev-util/qdevicemonitor/qdevicemonitor-1.0.1.ebuild
61 @@ -0,0 +1,47 @@
62 +# Copyright 1999-2016 Gentoo Foundation
63 +# Distributed under the terms of the GNU General Public License v2
64 +# $Header: $
65 +
66 +EAPI="6"
67 +
68 +inherit eutils qmake-utils
69 +
70 +DESCRIPTION="Crossplatform log viewer for Android, iOS and text files"
71 +HOMEPAGE="https://github.com/alopatindev/qdevicemonitor"
72 +
73 +if [[ ${PV} == "9999" ]] ; then
74 + inherit git-r3
75 + EGIT_REPO_URI="git://github.com/alopatindev/qdevicemonitor"
76 +else
77 + SRC_URI="https://github.com/alopatindev/qdevicemonitor/archive/${PV}.tar.gz -> ${P}.tar.gz"
78 + KEYWORDS="~amd64 ~x86"
79 +fi
80 +
81 +LICENSE="GPL-3"
82 +SLOT="0"
83 +IUSE=""
84 +
85 +RDEPEND="
86 + dev-qt/qtcore:5
87 + dev-qt/qtgui:5
88 + dev-util/android-tools
89 + app-pda/usbmuxd"
90 +DEPEND="${RDEPEND}"
91 +
92 +src_configure() {
93 + cd "${PN}" || die
94 + export VERSION_WITH_BUILD_NUMBER="${PV}"
95 + eqmake5
96 +}
97 +
98 +src_compile() {
99 + cd "${PN}" || die
100 + emake
101 +}
102 +
103 +src_install() {
104 + dobin "${PN}/${PN}"
105 + dodoc README.md
106 + newicon -s scalable "icons/app_icon.svg" "${PN}.svg"
107 + domenu "icons/${PN}.desktop"
108 +}
109
110 diff --git a/dev-util/qdevicemonitor/qdevicemonitor-9999.ebuild b/dev-util/qdevicemonitor/qdevicemonitor-9999.ebuild
111 new file mode 100644
112 index 00000000..eb497b2
113 --- /dev/null
114 +++ b/dev-util/qdevicemonitor/qdevicemonitor-9999.ebuild
115 @@ -0,0 +1,47 @@
116 +# Copyright 1999-2016 Gentoo Foundation
117 +# Distributed under the terms of the GNU General Public License v2
118 +# $Header: $
119 +
120 +EAPI="6"
121 +
122 +inherit eutils qmake-utils
123 +
124 +DESCRIPTION="Crossplatform log viewer for Android, iOS and text files"
125 +HOMEPAGE="https://github.com/alopatindev/qdevicemonitor"
126 +
127 +if [[ ${PV} == "9999" ]] ; then
128 + inherit git-r3
129 + EGIT_REPO_URI="git://github.com/alopatindev/qdevicemonitor"
130 +else
131 + SRC_URI="https://github.com/alopatindev/qdevicemonitor/archive/${PV}.tar.gz -> ${P}.tar.gz"
132 + KEYWORDS="~amd64 ~x86"
133 +fi
134 +
135 +LICENSE="GPL-3"
136 +SLOT="0"
137 +IUSE=""
138 +
139 +RDEPEND="
140 + dev-qt/qtcore:5
141 + dev-qt/qtgui:5
142 + dev-util/android-tools
143 + app-pda/usbmuxd"
144 +DEPEND="${RDEPEND}"
145 +
146 +src_configure() {
147 + cd "${PN}" || die
148 + export VERSION_WITH_BUILD_NUMBER="${PV}"
149 + eqmake5
150 +}
151 +
152 +src_compile() {
153 + cd "${PN}" || die
154 + emake
155 +}
156 +
157 +src_install() {
158 + dobin "${PN}/${PN}"
159 + dodoc README.md
160 + newicon -s scalable "icons/app_icon.svg" "${PN}.svg"
161 + domenu "icons/${PN}.desktop"
162 +}