1 |
commit: 462aae26f8feb22df96d0a0a1b0f2495bac0954a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 28 06:52:43 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 28 07:07:49 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=462aae26 |
7 |
|
8 |
app-cdr/cdemu: Bump to 3.2.2 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
app-cdr/cdemu/Manifest | 1 + |
13 |
app-cdr/cdemu/cdemu-3.2.2.ebuild | 53 ++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 54 insertions(+) |
15 |
|
16 |
diff --git a/app-cdr/cdemu/Manifest b/app-cdr/cdemu/Manifest |
17 |
index b3611e57e20..469a0d6f7b1 100644 |
18 |
--- a/app-cdr/cdemu/Manifest |
19 |
+++ b/app-cdr/cdemu/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST cdemu-client-3.2.1.tar.bz2 43584 BLAKE2B d34c09203b7b4e70161d62aee48d531b083952174fd2357bf0fc7b69a0fd59200bedb9ca87fe2d2c18c953979c84e9db3fec4d5fb500375f0bcc155dcaf5cedb SHA512 913c26754d16c339d7ddb4e00cc7d5b754ad6cc7f1a156c9448b51ed09468cf9e8a2bc74ed123a621278d2ad281e447d33ee06c3416bc1d0d2e6c2becd539154 |
22 |
+DIST cdemu-client-3.2.2.tar.bz2 44305 BLAKE2B 3a656bfda48a502752cb2b14df413a26467a1512b867cc1519f3dfd21b764a8086135a70b13272f258eb079ce169f58af55665e56238a7ba57cf4e9d84f07751 SHA512 ab5c1b1c741945618581bedb18a6eebdcb55915dc811e4247f0c3afe17729f7fbfaaaec10302e444a2f237c5a1401aa402a614685a84c63442907982e759ff41 |
23 |
|
24 |
diff --git a/app-cdr/cdemu/cdemu-3.2.2.ebuild b/app-cdr/cdemu/cdemu-3.2.2.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..76a0b498633 |
27 |
--- /dev/null |
28 |
+++ b/app-cdr/cdemu/cdemu-3.2.2.ebuild |
29 |
@@ -0,0 +1,53 @@ |
30 |
+# Copyright 1999-2019 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{5,6,7} ) |
36 |
+ |
37 |
+inherit bash-completion-r1 cmake-utils python-single-r1 xdg-utils |
38 |
+ |
39 |
+DESCRIPTION="Command-line tool for controlling cdemu-daemon" |
40 |
+HOMEPAGE="http://cdemu.org" |
41 |
+SRC_URI="mirror://sourceforge/cdemu/cdemu-client-${PV}.tar.bz2" |
42 |
+ |
43 |
+LICENSE="GPL-2+" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+IUSE="+cdemu-daemon" |
47 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
48 |
+ |
49 |
+RDEPEND="${PYTHON_DEPS} |
50 |
+ dev-python/pygobject:3[${PYTHON_USEDEP}] |
51 |
+ cdemu-daemon? ( app-cdr/cdemu-daemon:0/7 )" |
52 |
+DEPEND=" |
53 |
+ dev-util/desktop-file-utils |
54 |
+ >=dev-util/intltool-0.21 |
55 |
+ >=sys-devel/gettext-0.18 |
56 |
+ virtual/pkgconfig" |
57 |
+ |
58 |
+S=${WORKDIR}/cdemu-client-${PV} |
59 |
+ |
60 |
+DOCS=( AUTHORS README ) |
61 |
+ |
62 |
+src_prepare() { |
63 |
+ cmake-utils_src_prepare |
64 |
+ |
65 |
+ python_fix_shebang src/cdemu |
66 |
+} |
67 |
+ |
68 |
+src_configure() { |
69 |
+ local mycmakeargs=( |
70 |
+ -DPOST_INSTALL_HOOKS=OFF |
71 |
+ -DCMAKE_INSTALL_COMPLETIONSDIR="$(get_bashcompdir)" |
72 |
+ ) |
73 |
+ cmake-utils_src_configure |
74 |
+} |
75 |
+ |
76 |
+pkg_postinst() { |
77 |
+ xdg_desktop_database_update |
78 |
+} |
79 |
+ |
80 |
+pkg_postrm() { |
81 |
+ xdg_desktop_database_update |
82 |
+} |