From 48a2ba7d83eab7fbf9049837127d18cf1c00a9bb Mon Sep 17 00:00:00 2001 From: Alexandre Rostovtsev Date: Sun, 28 Feb 2016 23:58:38 -0500 Subject: app-cdr/gcdemu: bump to 3.0.1 for bug #571034 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks to Rafał Mużyło. Package-Manager: portage-2.2.27 --- app-cdr/gcdemu/Manifest | 1 + app-cdr/gcdemu/gcdemu-3.0.1.ebuild | 64 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 app-cdr/gcdemu/gcdemu-3.0.1.ebuild (limited to 'app-cdr') diff --git a/app-cdr/gcdemu/Manifest b/app-cdr/gcdemu/Manifest index 4d297de17c2c..f617fa93486f 100644 --- a/app-cdr/gcdemu/Manifest +++ b/app-cdr/gcdemu/Manifest @@ -1,2 +1,3 @@ DIST gcdemu-2.1.1.tar.bz2 40156 SHA256 cd1d59fb6dadbc05f5865c1654089563aeb28ef9ea4216da2e223f8376887c5c SHA512 1d8d9cc29a1d7a69681fbd4dc540a97172d81ac3d018bd98af469746901c8841dd5fd23ca8ae6fce68e41b43d98fb693acba1b621ed6b72c97972038cde1c47a WHIRLPOOL 0dbc04b57c5026a642a268b6bbba9d55ca27c92c1a606048a7395ebc07527e83ea05578c398725ed3782f4cf678769e0b77c686f07fe3061334875a375da3a05 DIST gcdemu-3.0.0.tar.bz2 45506 SHA256 1357a02720f05644929bae167fcc64dc58784f406aa426bcd806955cc458aad4 SHA512 c4d0d64638e0f7ecccfe11ab1a8527ba2002a5bbb382b2d4e8b58eaaa0a10140ee85b8d62ba93fe4ecdc2882301dfe62a08373dbb9e5404d5ddf7592cd5f0b7d WHIRLPOOL 18c8615ad6ae166c2111e7dd2f1c1d46b4128d99bb11a3f7e2f297c58dfff3e38ad981547703b13af940b0d1e6e3bccb7098180fde51458bfe34e3b19a66a465 +DIST gcdemu-3.0.1.tar.bz2 45508 SHA256 d9d9cd4270803a021d55205fad2c76f65b51f5b509dde21c70475bb8577896b6 SHA512 e5a1905642c08145669c5eb9e65159d5a9a2fbcd1657edd28ae091ee1d02673e56bb7007df2a9f95863cae1a1ab01916bb43b4d10fe054d52507beabd7dd532f WHIRLPOOL e4fd9e009cdbad1f79e1a579339e27225fa76e132d136c9dba5e9388551d0a3c27448bf870d9f4344e99d47f1a7b0cce3c712e26569fc77f0206671cbbef2553 diff --git a/app-cdr/gcdemu/gcdemu-3.0.1.ebuild b/app-cdr/gcdemu/gcdemu-3.0.1.ebuild new file mode 100644 index 000000000000..32451d181d57 --- /dev/null +++ b/app-cdr/gcdemu/gcdemu-3.0.1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 eutils 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 + epatch_user +} + +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 +} -- cgit v1.2.3