app-cdr/cdemu: Bump to 3.3.1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-06-08 05:52:26 +02:00
parent 49d3afea6e
commit e6f8d16891
2 changed files with 66 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST cdemu-client-3.3.0.tar.xz 47820 BLAKE2B f4420454e87782b11e8a6d253acc495e1d4cc0038197a2541df24a6f772ec5500d1c6cf898dccaed0183f72fb5d6bbe1add235ca535e2a4030593cbeb630ec96 SHA512 c90ae661fb121e5333d70fcf3e93a7958eb32d3982f7fc9c709b2b7a133597b2c78167b892a8bb9b6dc86ae6af1338e1d2601c07d54976907fba0be77b71eb30
DIST cdemu-client-3.3.1.tar.xz 50372 BLAKE2B 4f2cf1b47a47ef26238cee9660aec5e0b8ee72c39ecbde9349413620d3580dd55203eb479af130de5788d297e9ed396a7605aa5c9cea0311b265b1f9cc98b474 SHA512 d602cc0373c5727cfa7aa392b115c075d80a5fb6f03fc5d8e1a9cf64b29bd03dd6c5edfb1e50fd0888a7791bd8be607366603e4a1944e82831d007ed971f73ed

View File

@@ -0,0 +1,65 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..14} )
inherit bash-completion-r1 cmake python-single-r1 xdg-utils
MY_P=cdemu-client-${PV}
DESCRIPTION="Command-line tool for controlling cdemu-daemon"
HOMEPAGE="https://cdemu.sourceforge.io"
SRC_URI="https://download.sourceforge.net/cdemu/cdemu-client/${MY_P}.tar.xz"
S=${WORKDIR}/${MY_P}
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+cdemu-daemon"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
${PYTHON_DEPS}
$(python_gen_cond_dep '
dev-python/pygobject:3[${PYTHON_USEDEP}]
')
cdemu-daemon? ( app-cdr/cdemu-daemon:0/7 )
"
BDEPEND="
${PYTHON_DEPS}
dev-util/desktop-file-utils
>=dev-util/intltool-0.21
>=sys-devel/gettext-0.18
virtual/pkgconfig
"
DOCS=( AUTHORS README )
src_prepare() {
cmake_src_prepare
python_fix_shebang src/cdemu
}
src_configure() {
local mycmakeargs=(
-DPOST_INSTALL_HOOKS=OFF
# requires bash-completion as BDEPEND, better install it manually
-DENABLE_BASH_COMPLETION=OFF
)
cmake_src_configure
}
src_install() {
cmake_src_install
newbashcomp data/cdemu-bash-completion.sh cdemu
}
pkg_postinst() {
xdg_desktop_database_update
}
pkg_postrm() {
xdg_desktop_database_update
}