public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alexandre Rostovtsev" <tetromino@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-cdr/cdemu/
Date: Mon, 29 Feb 2016 05:12:15 +0000 (UTC)	[thread overview]
Message-ID: <1456722656.26e71cf6d443000dc60d6f2911eba958991c07ce.tetromino@gentoo> (raw)

commit:     26e71cf6d443000dc60d6f2911eba958991c07ce
Author:     Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 29 04:49:37 2016 +0000
Commit:     Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org>
CommitDate: Mon Feb 29 05:10:56 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26e71cf6

app-cdr/cdemu: bump to 3.0.1 for bug #571034 and eapi6-ify

Thanks to Rafał Mużyło.

Package-Manager: portage-2.2.27

 app-cdr/cdemu/Manifest           |  1 +
 app-cdr/cdemu/cdemu-3.0.1.ebuild | 69 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

diff --git a/app-cdr/cdemu/Manifest b/app-cdr/cdemu/Manifest
index 9089ee8..622a6da 100644
--- a/app-cdr/cdemu/Manifest
+++ b/app-cdr/cdemu/Manifest
@@ -1,2 +1,3 @@
 DIST cdemu-client-2.1.1.tar.bz2 28474 SHA256 204e626994f61d36423f3b732e180e3b3b20624effdfe91aabffd439c76d3964 SHA512 d764000fadc66b639dd8f20d9bb8fbe3b91d3e20bd207d30a734dc1a9a7fae746e8aad317a3d78cd35b69d0a8acbf8e389598786cadabec6e512640ba5b21be5 WHIRLPOOL 93cb01c3bc16ee69e3fd9ce9080838f4eebc874afe8d6be71c22e44919909144980dd44595a0dbf6fe1add3574061bcd6f523b72644eb52774d974f226c100b9
 DIST cdemu-client-3.0.0.tar.bz2 40300 SHA256 359310a57422d5c59c8f93be0da827a2437edb1e62f455f5614089c28e34ae88 SHA512 807fe98dc8743a227484d20587c9f9e06cac649d74d8fdd520dba9bb2a2f268ba977c922333fdcf91201baf4f08595044939f6d5bd4834ec26cf689b6a36f361 WHIRLPOOL bd7d5b0ebe75aad5629f8cdf9f1de04fbdf7ad37400163d69e1eb9bfe35a47bc2bca5b58a031bb022611689d7c7c480fcc98403f883643ccc3cc2049f98fb814
+DIST cdemu-client-3.0.1.tar.bz2 40299 SHA256 cf7b2fedf14bb64df7e318546756e133eef9e018e04218f74891f676eda9e5cd SHA512 3abbedef15f2e30fc53d9f199c7f31b838da16a763d3dcb0e4745d0dd76675c0962e951a378dec3d8b13f024c339d5f3aa978fdf1f7e664332a684ab279d788d WHIRLPOOL 32099514bdbafda3994646cd08ac0f31fa345963090ef7506185db3955d953bbc42be018b970611bb4664f494790cbd99bb577dc169c53b4295110a26f28bf4d

diff --git a/app-cdr/cdemu/cdemu-3.0.1.ebuild b/app-cdr/cdemu/cdemu-3.0.1.ebuild
new file mode 100644
index 0000000..df9195c
--- /dev/null
+++ b/app-cdr/cdemu/cdemu-3.0.1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+CMAKE_MIN_VERSION="2.8.5"
+PYTHON_COMPAT=( python2_7 )
+PLOCALES="no sl sv"
+
+inherit bash-completion-r1 cmake-utils fdo-mime l10n python-single-r1
+
+DESCRIPTION="Command-line tool for controlling cdemu-daemon"
+HOMEPAGE="http://cdemu.org"
+SRC_URI="mirror://sourceforge/cdemu/cdemu-client-${PV}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="+cdemu-daemon"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+	dev-python/dbus-python[${PYTHON_USEDEP}]
+	cdemu-daemon? ( app-cdr/cdemu-daemon:0/7 )"
+DEPEND="${RDEPEND}
+	dev-util/desktop-file-utils
+	>=dev-util/intltool-0.21
+	>=sys-devel/gettext-0.18"
+
+S=${WORKDIR}/cdemu-client-${PV}
+
+pkg_setup() {
+	python-single-r1_pkg_setup
+}
+
+src_prepare() {
+	python_fix_shebang src/cdemu
+	eapply -p2 "${FILESDIR}/${PN}-3.0.0-bash-completion-dir.patch"
+	eapply_user
+}
+
+src_configure() {
+	DOCS="AUTHORS README"
+	local mycmakeargs=(
+		-DPOST_INSTALL_HOOKS=OFF
+		-DGENTOO_BASHCOMPDIR="$(get_bashcompdir)"
+	)
+	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
+}
+
+pkg_postinst() {
+	fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+	fdo-mime_desktop_database_update
+}


             reply	other threads:[~2016-02-29  5:12 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-29  5:12 Alexandre Rostovtsev [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-03  0:23 [gentoo-commits] repo/gentoo:master commit in: app-cdr/cdemu/ Sam James
2025-05-03  0:23 Sam James
2024-06-20 16:33 Michał Górny
2024-03-03 16:20 Michał Górny
2023-02-17 16:52 Michał Górny
2022-11-15 18:17 Michał Górny
2022-03-16  8:32 Michał Górny
2021-05-29 15:23 Sam James
2021-05-28  2:27 Sam James
2021-04-19  6:44 Michał Górny
2020-06-08  8:56 Michał Górny
2020-03-19 17:20 Michał Górny
2020-02-21 15:57 Agostino Sarubbo
2020-01-07  6:02 Michał Górny
2019-12-08  9:57 Michał Górny
2019-12-08  9:57 Michał Górny
2019-12-08  9:57 Michał Górny
2019-11-15 14:33 Agostino Sarubbo
2019-10-21 12:47 Thomas Deutschmann
2019-09-01  5:36 Michał Górny
2019-08-28  7:07 Michał Górny
2019-04-10 15:07 Michał Górny
2019-04-09 21:04 Mikle Kolyada
2019-04-09 21:04 Mikle Kolyada
2019-03-10 15:48 Jeroen Roovers
2019-03-05 14:29 Michał Górny
2018-09-21 11:30 Mikle Kolyada
2018-07-24 15:10 Michał Górny
2018-07-09  7:14 Michał Górny
2018-07-09  7:14 Michał Górny
2017-09-04 17:34 Michał Górny
2017-06-16 16:14 Michał Górny
2017-06-16 16:14 Michał Górny
2016-03-27 19:26 Agostino Sarubbo
2016-03-27 19:23 Agostino Sarubbo
2016-02-29  5:12 Alexandre Rostovtsev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1456722656.26e71cf6d443000dc60d6f2911eba958991c07ce.tetromino@gentoo \
    --to=tetromino@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox