summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-cdr/cdemu/ChangeLog9
-rw-r--r--app-cdr/cdemu/cdemu-1.3.0.ebuild49
-rw-r--r--app-cdr/cdemu/metadata.xml3
3 files changed, 60 insertions, 1 deletions
diff --git a/app-cdr/cdemu/ChangeLog b/app-cdr/cdemu/ChangeLog
index 6ba0cc73f7c0..80bba134cd0d 100644
--- a/app-cdr/cdemu/ChangeLog
+++ b/app-cdr/cdemu/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-cdr/cdemu
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdemu/ChangeLog,v 1.22 2010/07/06 16:55:16 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdemu/ChangeLog,v 1.23 2010/10/19 14:35:39 pva Exp $
+
+*cdemu-1.3.0 (19 Oct 2010)
+
+ 19 Oct 2010; Peter Volkov <pva@gentoo.org> +cdemu-1.3.0.ebuild,
+ metadata.xml:
+ Version bump. Added nocdemud USE flag to avoid cdemud dependency #315491
+ wrt Michał Górny.
06 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
cdemu-1.2.0.ebuild:
diff --git a/app-cdr/cdemu/cdemu-1.3.0.ebuild b/app-cdr/cdemu/cdemu-1.3.0.ebuild
new file mode 100644
index 000000000000..020dd48c5974
--- /dev/null
+++ b/app-cdr/cdemu/cdemu-1.3.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdemu/cdemu-1.3.0.ebuild,v 1.1 2010/10/19 14:35:39 pva Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+
+inherit python
+
+DESCRIPTION="Client of cdemu suite, which mounts all kinds of cd images"
+HOMEPAGE="http://cdemu.org"
+SRC_URI="mirror://sourceforge/cdemu/cdemu-client-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nocdemud"
+
+RDEPEND="dev-python/dbus-python
+ !nocdemud? ( ~app-cdr/cdemud-${PV} )"
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.21"
+
+S=${WORKDIR}/cdemu-client-${PV}
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ # disable compilation of python modules
+ rm py-compile && \
+ ln -s "$(type -P true)" py-compile || die
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die "install failed"
+ dodoc AUTHORS ChangeLog README
+}
+
+pkg_postinst() {
+ python_mod_optimize cdemu
+ python_need_rebuild
+}
+
+pkg_postrm() {
+ python_mod_cleanup cdemu
+}
diff --git a/app-cdr/cdemu/metadata.xml b/app-cdr/cdemu/metadata.xml
index e4fa40918efa..fad0cfd5e1ac 100644
--- a/app-cdr/cdemu/metadata.xml
+++ b/app-cdr/cdemu/metadata.xml
@@ -5,4 +5,7 @@
<maintainer>
<email>vanquirius@gentoo.org</email>
</maintainer>
+<use>
+<flag name='nocdemud'>Don't pull <pkg>app-cdr/cdemud</pkg> dependency, useful in chroot environment (bug #315491)</flag>
+</use>
</pkgmetadata>