summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2015-02-21 22:55:56 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2015-02-21 22:55:56 +0000
commit554ef9559ea7462bd7445bd84cef3b6de1079e2a (patch)
treec645b9fd9d7fb22f22ada072132d3c6be56b8e7a /app-cdr
parentVersion bump, adds image writing (bug #518590, thanks to Rafał Mużyło). Ad... (diff)
downloadgentoo-2-554ef9559ea7462bd7445bd84cef3b6de1079e2a.tar.gz
gentoo-2-554ef9559ea7462bd7445bd84cef3b6de1079e2a.tar.bz2
gentoo-2-554ef9559ea7462bd7445bd84cef3b6de1079e2a.zip
Version bump, adds image writing (bug #518590, thanks to Rafał Mużyło). Add REQUIRED_USE (bug #521834, thanks to Karl Lindén).
(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 0x18E5B6F2D8D5EC8D)
Diffstat (limited to 'app-cdr')
-rw-r--r--app-cdr/gcdemu/ChangeLog11
-rw-r--r--app-cdr/gcdemu/gcdemu-2.1.1.ebuild5
-rw-r--r--app-cdr/gcdemu/gcdemu-3.0.0.ebuild63
3 files changed, 75 insertions, 4 deletions
diff --git a/app-cdr/gcdemu/ChangeLog b/app-cdr/gcdemu/ChangeLog
index 09185f7b4be6..3ad768d11edd 100644
--- a/app-cdr/gcdemu/ChangeLog
+++ b/app-cdr/gcdemu/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-cdr/gcdemu
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/gcdemu/ChangeLog,v 1.34 2014/04/26 08:14:02 pacho Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/gcdemu/ChangeLog,v 1.35 2015/02/21 22:55:56 tetromino Exp $
+
+*gcdemu-3.0.0 (21 Feb 2015)
+
+ 21 Feb 2015; Alexandre Rostovtsev <tetromino@gentoo.org> gcdemu-2.1.1.ebuild,
+ +gcdemu-3.0.0.ebuild:
+ Version bump, adds image writing (bug #518590, thanks to Rafał Mużyło).
+ Add REQUIRED_USE (bug #521834, thanks to Karl Lindén).
26 Apr 2014; Pacho Ramos <pacho@gentoo.org> -gcdemu-2.1.0.ebuild,
gcdemu-2.1.1.ebuild:
diff --git a/app-cdr/gcdemu/gcdemu-2.1.1.ebuild b/app-cdr/gcdemu/gcdemu-2.1.1.ebuild
index f460a916ee4c..508767c9b471 100644
--- a/app-cdr/gcdemu/gcdemu-2.1.1.ebuild
+++ b/app-cdr/gcdemu/gcdemu-2.1.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/gcdemu/gcdemu-2.1.1.ebuild,v 1.4 2014/04/26 08:14:02 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/gcdemu/gcdemu-2.1.1.ebuild,v 1.5 2015/02/21 22:55:56 tetromino Exp $
EAPI="5"
@@ -19,6 +19,7 @@ LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
app-cdr/cdemu-daemon:0/6
diff --git a/app-cdr/gcdemu/gcdemu-3.0.0.ebuild b/app-cdr/gcdemu/gcdemu-3.0.0.ebuild
new file mode 100644
index 000000000000..3bf3a2e8675d
--- /dev/null
+++ b/app-cdr/gcdemu/gcdemu-3.0.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/gcdemu/gcdemu-3.0.0.ebuild,v 1.1 2015/02/21 22:55:56 tetromino Exp $
+
+EAPI="5"
+
+CMAKE_MIN_VERSION="2.8.5"
+PYTHON_COMPAT=( python2_7 )
+PLOCALES="no sl sv"
+
+# cmake-utils after gnome2, to make sure cmake-utils is used for building
+inherit gnome2 cmake-utils l10n python-single-r1
+
+DESCRIPTION="Gtk+ GUI for controlling cdemu-daemon"
+HOMEPAGE="http://cdemu.org/"
+SRC_URI="mirror://sourceforge/cdemu/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ app-cdr/cdemu-daemon:0/7
+ >=dev-libs/glib-2.28:2
+ dev-libs/gobject-introspection
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ gnome-base/librsvg:2
+ sys-apps/dbus
+ x11-libs/gdk-pixbuf[introspection]
+ x11-libs/gtk+:3[introspection]
+ x11-libs/libnotify[introspection]"
+DEPEND="${COMMON_DEPEND}
+ dev-util/desktop-file-utils
+ >=dev-util/intltool-0.21
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ python_fix_shebang src/gcdemu
+}
+
+src_configure() {
+ DOCS="AUTHORS README"
+ local mycmakeargs=( -DPOST_INSTALL_HOOKS=OFF )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+ # Build system doesn't respect LINGUAS, and changing list of installed
+ # translations requires error-prone editing of CMakeLists.txt
+ rm_po() {
+ rm -r "${ED}"/usr/share/locale/$1 || die
+ ls "${ED}"/usr/share/locale/* &> /dev/null || rmdir "${ED}"/usr/share/locale || die
+ }
+ l10n_for_each_disabled_locale_do rm_po
+}