Gentoo Archives: gentoo-commits

From: Alexandre Rostovtsev <tetromino@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-cdr/cdemu-daemon/
Date: Mon, 29 Feb 2016 05:12:22
Message-Id: 1456722648.a59a127613f32237ad8702a047504d32275b8256.tetromino@gentoo
1 commit: a59a127613f32237ad8702a047504d32275b8256
2 Author: Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 29 04:46:07 2016 +0000
4 Commit: Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 29 05:10:48 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a59a1276
7
8 app-cdr/cdemu-daemon: bump to 3.0.4 for bug #571034 and eapi6-ify
9
10 Thanks to Rafał Mużyło.
11
12 Package-Manager: portage-2.2.27
13
14 app-cdr/cdemu-daemon/Manifest | 1 +
15 app-cdr/cdemu-daemon/cdemu-daemon-3.0.4.ebuild | 45 ++++++++++++++++++++++++++
16 2 files changed, 46 insertions(+)
17
18 diff --git a/app-cdr/cdemu-daemon/Manifest b/app-cdr/cdemu-daemon/Manifest
19 index 8a91513..df48d8d 100644
20 --- a/app-cdr/cdemu-daemon/Manifest
21 +++ b/app-cdr/cdemu-daemon/Manifest
22 @@ -1,2 +1,3 @@
23 DIST cdemu-daemon-2.1.1.tar.bz2 62600 SHA256 d26782071184d555b06ad5def7d1c22916cbeb73377328879499b91e1196f36f SHA512 be59bf12e326855ccdfe5cec72a813b7a80dcc2cb408c3f19b9abe66eeb8d092e2755b1ba9f746ac7d3c1b27276ed857947ce1b2509d8cbf07eb1c6663f3536d WHIRLPOOL fd6ad9aa28ae9c821934099a3be271a1fe85db684dcc1ca9b65d499281ce65b27ac63d44c8570309d1fc3fbd486eadb165e15cec285c81bb07b10c709a1f6f42
24 DIST cdemu-daemon-3.0.2.tar.bz2 76029 SHA256 8c9a0d292e0fd71538f123f2b795f4490ff455f68b391b97812be369c34a4f06 SHA512 eb09880dcc984c8843cf0254d45aeaa39cff8faa3a415352c574b59ea6778de9bc10a9634022c1fe5c7de8aa0493129a7bd15b859a7ca3895d5175b2bb2296e1 WHIRLPOOL 918554fead811418bd1e1b1ad8cd22342c5e5559eb7e4f3e30f1ccb1c889547bbd7f70bd7af86c19af86a7c432281f3d98a2fb5d0ef59f57dcddf3ad0fc10686
25 +DIST cdemu-daemon-3.0.4.tar.bz2 76121 SHA256 8101b4ad659de3cc53dcc39b14381d7d85b3dad131d780caefe9cc1c03551ecd SHA512 e5a3da9dd87e6ad6cf226e53628dbee76eb26104c51a511adb5b6b65d46e3f213a682ba0d845c8a651d939c44b853b6a9881e542e10f9f7d1dd579b8fc408154 WHIRLPOOL b92a78732f177e31b7a80288ec5253d92d5e92f796612cc288c7b976e46d5ebff3e8a2ffd9c3a0a1acb785893a0a663317ece75c3ed5c30592f69d53c01199b8
26
27 diff --git a/app-cdr/cdemu-daemon/cdemu-daemon-3.0.4.ebuild b/app-cdr/cdemu-daemon/cdemu-daemon-3.0.4.ebuild
28 new file mode 100644
29 index 0000000..0797117
30 --- /dev/null
31 +++ b/app-cdr/cdemu-daemon/cdemu-daemon-3.0.4.ebuild
32 @@ -0,0 +1,45 @@
33 +# Copyright 1999-2016 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +EAPI="6"
38 +
39 +CMAKE_MIN_VERSION="2.8.5"
40 +
41 +inherit cmake-utils eutils
42 +
43 +DESCRIPTION="Daemon of the CDEmu optical media image mounting suite"
44 +HOMEPAGE="http://cdemu.org"
45 +SRC_URI="mirror://sourceforge/cdemu/${P}.tar.bz2"
46 +
47 +LICENSE="GPL-2+"
48 +SLOT="0/7" # subslot = CDEMU_DAEMON_INTERFACE_VERSION_MAJOR in CMakeLists.txt
49 +KEYWORDS="~amd64 ~hppa ~x86"
50 +IUSE=""
51 +
52 +RDEPEND=">=dev-libs/glib-2.32:2
53 + >=dev-libs/libmirage-${PV}:=
54 + >=media-libs/libao-0.8.0:=
55 + sys-apps/dbus
56 + >=sys-fs/vhba-20130607"
57 +DEPEND="${RDEPEND}
58 + virtual/pkgconfig"
59 +
60 +src_prepare() {
61 + DOCS="AUTHORS README"
62 + cmake-utils_src_prepare
63 +}
64 +
65 +pkg_postinst() {
66 + elog "You will need to load the vhba module to use cdemu devices:"
67 + elog " # modprobe vhba"
68 + elog "To automatically load the vhba module at boot time, edit your"
69 + elog "/etc/conf.d/modules file."
70 +
71 + if [[ -e "${ROOT}etc/conf.d/cdemud" ]]; then
72 + elog
73 + elog "${PN} no longer installs an init.d service; instead, it is"
74 + elog "automatically activated when needed via dbus."
75 + elog "You can therefore remove ${ROOT}etc/conf.d/cdemud"
76 + fi
77 +}