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/gcdemu/
Date: Tue, 07 Jan 2020 06:02:16
Message-Id: 1578376928.4a88d663b7586236f290fdcf3509f19bb2305729.mgorny@gentoo
1 commit: 4a88d663b7586236f290fdcf3509f19bb2305729
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 7 05:46:28 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 7 06:02:08 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a88d663
7
8 app-cdr/gcdemu: Bump to 3.2.4
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 app-cdr/gcdemu/Manifest | 1 +
13 app-cdr/gcdemu/gcdemu-3.2.4.ebuild | 56 ++++++++++++++++++++++++++++++++++++++
14 2 files changed, 57 insertions(+)
15
16 diff --git a/app-cdr/gcdemu/Manifest b/app-cdr/gcdemu/Manifest
17 index 8af625059d0..e6959795d2e 100644
18 --- a/app-cdr/gcdemu/Manifest
19 +++ b/app-cdr/gcdemu/Manifest
20 @@ -1 +1,2 @@
21 DIST gcdemu-3.2.3.tar.bz2 52229 BLAKE2B 9f8d0b6e04b438c0637f42875b144ad4d1a643b8f1216d868040121e417203ffedbf983fec235eb30bf9d11bcfe142e52c1c89966ac3b64442071d0897a9e8bf SHA512 1d31b9edeb111145c7dd438fc645c7513877fe89f78cf262c282bba2d2e7f9a99a8499e607bf00f880186bd4a37a8ebbcc5ba14e1e014254e767a8335396d6e2
22 +DIST gcdemu-3.2.4.tar.bz2 52209 BLAKE2B 620b1ea8616cf0d7f80954dd00ad1442b55fedafc5ff27ad5aa917e69a803a9629ccadb33ec3fdb2371c464bd484a15e85e00036dee5a67283fbf7e8d64e252c SHA512 920ab87a0b200f3f3983ff878871265084787f1468c042352c319ff3a37131547cc1e981801eefaee1e419ec306b026f7a18da165a17e3ddc6a92998a42e7b41
23
24 diff --git a/app-cdr/gcdemu/gcdemu-3.2.4.ebuild b/app-cdr/gcdemu/gcdemu-3.2.4.ebuild
25 new file mode 100644
26 index 00000000000..6222ed99b96
27 --- /dev/null
28 +++ b/app-cdr/gcdemu/gcdemu-3.2.4.ebuild
29 @@ -0,0 +1,56 @@
30 +# Copyright 1999-2020 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +PYTHON_COMPAT=( python3_{6,7,8} )
36 +
37 +inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
38 +
39 +DESCRIPTION="Gtk+ GUI for controlling cdemu-daemon"
40 +HOMEPAGE="https://cdemu.sourceforge.io"
41 +SRC_URI="https://download.sourceforge.net/cdemu/gcdemu/${P}.tar.bz2"
42 +
43 +LICENSE="GPL-2+"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +IUSE=""
47 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
48 +
49 +# librsvg for pixbuf-loader
50 +RDEPEND="${PYTHON_DEPS}
51 + app-cdr/cdemu-daemon:0/7
52 + $(python_gen_cond_dep '
53 + dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
54 + ')
55 + gnome-base/librsvg:2
56 + x11-libs/gdk-pixbuf[introspection]
57 + x11-libs/gtk+:3[introspection]
58 + x11-libs/libnotify[introspection]"
59 +BDEPEND="${PYTHON_DEPS}
60 + dev-util/desktop-file-utils
61 + >=dev-util/intltool-0.21
62 + sys-devel/gettext
63 + virtual/pkgconfig"
64 +
65 +DOCS=( AUTHORS README )
66 +
67 +src_prepare() {
68 + cmake-utils_src_prepare
69 + python_fix_shebang src/gcdemu
70 +}
71 +
72 +src_configure() {
73 + local mycmakeargs=( -DPOST_INSTALL_HOOKS=OFF )
74 + cmake-utils_src_configure
75 +}
76 +
77 +pkg_postinst() {
78 + xdg_desktop_database_update
79 + gnome2_schemas_update
80 +}
81 +
82 +pkg_postrm() {
83 + xdg_desktop_database_update
84 + gnome2_schemas_update
85 +}