summaryrefslogtreecommitdiff
path: root/app-cdr/cdemu
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-cdr/cdemu
reinit the tree, so we can have metadata
Diffstat (limited to 'app-cdr/cdemu')
-rw-r--r--app-cdr/cdemu/Manifest6
-rw-r--r--app-cdr/cdemu/cdemu-3.1.0.ebuild51
-rw-r--r--app-cdr/cdemu/files/cdemu-3.0.0-bash-completion-dir.patch14
-rw-r--r--app-cdr/cdemu/metadata.xml18
4 files changed, 89 insertions, 0 deletions
diff --git a/app-cdr/cdemu/Manifest b/app-cdr/cdemu/Manifest
new file mode 100644
index 000000000000..15b0313f106a
--- /dev/null
+++ b/app-cdr/cdemu/Manifest
@@ -0,0 +1,6 @@
+AUX cdemu-3.0.0-bash-completion-dir.patch 387 SHA256 61491ca6dfc4e2f63414174d4d0035c3da0edc25472c943e6296e270b2e0ab3e SHA512 5348f57ee7ad19a2df7d7cc67642ca9144f5c6a0bb8604d4ed565463e539d5e2560cf794da8e3f1f1d67a3165244737e866d8c1f7f7e8adb758ab09dbfbc1b1f WHIRLPOOL b45e71f8c5354c130ae13c26c5754ced33fb423e5101fa72be9315c53073ac76745263ef2b4280860ffa3859ccc6619d17e02654937e34d442934422a427bb89
+DIST cdemu-client-3.1.0.tar.bz2 43066 SHA256 336a078b0b1f70de81d7ee92ee3e3a1e1957843accc4e90a876aeef28648d868 SHA512 62c0650cfd18c1e8edca8c53a343460bf12aae35909251fce24098f16b48a3b30d083d436f494bf23145c06252f943f75413f024c6744696f5ad75cac0a15509 WHIRLPOOL a84940b0c0bd1de343cdd81ea47be6612f4e50b03b00e2c8aba62b90f685d867212babf93a2ade02ef3e9798b80bfd11cff4479e8b4a5866ab58dd936a0d8dc2
+EBUILD cdemu-3.1.0.ebuild 1134 SHA256 c53aab2b9de03f93361c8d84075a29eb18c64665a74ea82e23560eb48a8fda9a SHA512 2a0212b648d12cc71b870d68a6b95dc2351d9eb561a61bab309413fafd7f6c0de075772e886639355fc46df317df510f736acc1900ea5648377ff00ba4867dab WHIRLPOOL 46cb4f6768b67dd8b9c971f3e77739f86d34803ccbe2415733a038a519a778461dc765a2f283cc0b8915cea1c7335bd50a5bfa308ab9a6641d2d1be70c036b61
+MISC ChangeLog 3360 SHA256 3ceead1a68c18956643bec2834b68ffdaaf5cf78074d96b42016a679bd30b6b9 SHA512 001c58fd43e5e4254f275e2bfc90073c23202d4902fd82d487e660726c7d71de76870ea97ddbabc1ebc4d54b8f2cd74c837107ae030aba8e4eb07c1199601427 WHIRLPOOL fd31629aa985bd5fc3f69cfb864fcc05f4c83f765961ee273d13337ec832b87486f4d263c33b3aafaa8dac0ccbd6bf5435d98bb33d8fdf674e5b8fbf32c3acfc
+MISC ChangeLog-2015 8329 SHA256 300ffac627f4f9cc70a5e0d8325455cd4295c83c62c05a585bf5474065686605 SHA512 687811097ddcd9ae470e27402731670a097b0ef851271c74fa44f94f95ad2df4c60e4dfbbf0637b7343ea7ae7b975fad8108af6d6ac3034a2dc4b027bc239f1d WHIRLPOOL c93f93246ba242bec4ff719b4209ace4a9b3cd527cccdee74539ad480900cbe47fe7d6f33d4c8871c4b8d073571191ccc1b0c784336c24678ef321ab308e8a5a
+MISC metadata.xml 652 SHA256 71dc82cfb8a8c342a5cccad94b5de86bf0cf7c987742fc26a9766ce80fb67a6c SHA512 3c37419e3191ab278fdbb03b26ffafb36c6c00edc93566524a08253cb2deddd3ac61184e6bf0e66a0d18aa30b890c13f2c0946d396ee3835131a722e8bb76f93 WHIRLPOOL 958fe5f2b7078436687232a45e54acbbd805fd6c4c9b4b3faf10f468dd5f43c44a99e7df804b49da68d6b6492a319fdd7b00cf60185b6fd02a85344926a684af
diff --git a/app-cdr/cdemu/cdemu-3.1.0.ebuild b/app-cdr/cdemu/cdemu-3.1.0.ebuild
new file mode 100644
index 000000000000..725457621cfa
--- /dev/null
+++ b/app-cdr/cdemu/cdemu-3.1.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
+
+inherit bash-completion-r1 cmake-utils python-single-r1 xdg-utils
+
+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/pygobject:3[${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}
+
+src_prepare() {
+ python_fix_shebang src/cdemu
+ eapply -p2 "${FILESDIR}/${PN}-3.0.0-bash-completion-dir.patch"
+ eapply_user
+}
+
+src_configure() {
+ local DOCS=( AUTHORS README )
+ local mycmakeargs=(
+ -DPOST_INSTALL_HOOKS=OFF
+ -DGENTOO_BASHCOMPDIR="$(get_bashcompdir)"
+ )
+ cmake-utils_src_configure
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+}
diff --git a/app-cdr/cdemu/files/cdemu-3.0.0-bash-completion-dir.patch b/app-cdr/cdemu/files/cdemu-3.0.0-bash-completion-dir.patch
new file mode 100644
index 000000000000..54d11dab4d1b
--- /dev/null
+++ b/app-cdr/cdemu/files/cdemu-3.0.0-bash-completion-dir.patch
@@ -0,0 +1,14 @@
+diff --git a/cdemu-client/CMakeLists.txt b/cdemu-client/CMakeLists.txt
+index 99b595e..e4f9b6e 100644
+--- a/cdemu-client/CMakeLists.txt
++++ b/cdemu-client/CMakeLists.txt
+@@ -39,7 +39,8 @@ install (
+
+ install (
+ FILES data/cdemu-bash-completion.sh
+- DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/bash_completion.d
++ DESTINATION ${GENTOO_BASHCOMPDIR}
++ RENAME cdemu
+ )
+
+ install (
diff --git a/app-cdr/cdemu/metadata.xml b/app-cdr/cdemu/metadata.xml
new file mode 100644
index 000000000000..268d427433cc
--- /dev/null
+++ b/app-cdr/cdemu/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>tetromino@gentoo.org</email>
+ <name>Alexandre Rostovtsev</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+ <use>
+ <flag name="cdemu-daemon">Pull <pkg>app-cdr/cdemu-daemon</pkg> dependency, useful in chroot environment (bug #315491). Do not disable until you know what you are doing.</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">cdemu</remote-id>
+ </upstream>
+</pkgmetadata>