Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-cdr/cdemu/
Date: Mon, 09 Jul 2018 07:14:05
Message-Id: 1531120434.270af262be3b8e9a507b5ea65628aeb8fb9464ac.mgorny@gentoo
1 commit: 270af262be3b8e9a507b5ea65628aeb8fb9464ac
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 9 06:47:02 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 9 07:13:54 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=270af262
7
8 app-cdr/cdemu: Bump to 3.2.0
9
10 app-cdr/cdemu/Manifest | 1 +
11 app-cdr/cdemu/cdemu-3.2.0.ebuild | 53 ++++++++++++++++++++++++++++++++++++++++
12 2 files changed, 54 insertions(+)
13
14 diff --git a/app-cdr/cdemu/Manifest b/app-cdr/cdemu/Manifest
15 index 7033868ef18..584fdfddec8 100644
16 --- a/app-cdr/cdemu/Manifest
17 +++ b/app-cdr/cdemu/Manifest
18 @@ -1 +1,2 @@
19 DIST cdemu-client-3.1.0.tar.bz2 43066 BLAKE2B 97413d06b0466e81dce212c9f621fed2a7b83517c8ef3c70ccf182b48093b9c5f805ee40c81bf23bb88089da758876e80f57094c2ec761d42480a401d3b95114 SHA512 62c0650cfd18c1e8edca8c53a343460bf12aae35909251fce24098f16b48a3b30d083d436f494bf23145c06252f943f75413f024c6744696f5ad75cac0a15509
20 +DIST cdemu-client-3.2.0.tar.bz2 43588 BLAKE2B 0f75bed1ce2a715bb7acf227ebd3da8b80cf6418e28b0d352f294121c1f67acb8c6bab5f5dc5c768150ad46830b823d66f1940887c66225d20b41827c1377d31 SHA512 778f2ecac828ba278d0ded875c7bab2415f1c1acb62f4030eaf161376869939c48bc16a6d660326d9aacd2af745ef9dc9158f922a72aa8ccbd47f05ce41b8cd7
21
22 diff --git a/app-cdr/cdemu/cdemu-3.2.0.ebuild b/app-cdr/cdemu/cdemu-3.2.0.ebuild
23 new file mode 100644
24 index 00000000000..64c84f45b11
25 --- /dev/null
26 +++ b/app-cdr/cdemu/cdemu-3.2.0.ebuild
27 @@ -0,0 +1,53 @@
28 +# Copyright 1999-2018 Gentoo Foundation
29 +# Distributed under the terms of the GNU General Public License v2
30 +
31 +EAPI="6"
32 +
33 +PYTHON_COMPAT=( python3_{4,5,6} )
34 +
35 +inherit bash-completion-r1 cmake-utils python-single-r1 xdg-utils
36 +
37 +DESCRIPTION="Command-line tool for controlling cdemu-daemon"
38 +HOMEPAGE="http://cdemu.org"
39 +SRC_URI="mirror://sourceforge/cdemu/cdemu-client-${PV}.tar.bz2"
40 +
41 +LICENSE="GPL-2+"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~hppa ~x86"
44 +IUSE="+cdemu-daemon"
45 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
46 +
47 +RDEPEND="${PYTHON_DEPS}
48 + dev-python/pygobject:3[${PYTHON_USEDEP}]
49 + cdemu-daemon? ( app-cdr/cdemu-daemon:0/7 )"
50 +DEPEND="${RDEPEND}
51 + dev-util/desktop-file-utils
52 + >=dev-util/intltool-0.21
53 + >=sys-devel/gettext-0.18
54 + virtual/pkgconfig"
55 +
56 +S=${WORKDIR}/cdemu-client-${PV}
57 +
58 +DOCS=( AUTHORS README )
59 +
60 +src_prepare() {
61 + cmake-utils_src_prepare
62 +
63 + python_fix_shebang src/cdemu
64 +}
65 +
66 +src_configure() {
67 + local mycmakeargs=(
68 + -DPOST_INSTALL_HOOKS=OFF
69 + -DCMAKE_INSTALL_COMPLETIONSDIR="$(get_bashcompdir)"
70 + )
71 + cmake-utils_src_configure
72 +}
73 +
74 +pkg_postinst() {
75 + xdg_desktop_database_update
76 +}
77 +
78 +pkg_postrm() {
79 + xdg_desktop_database_update
80 +}