[arch-commits] Commit in cdemu-daemon/repos/community-x86_64 (4 files)
Jan Steffens
heftig at gemini.archlinux.org
Sun Dec 19 17:23:06 UTC 2021
Date: Sunday, December 19, 2021 @ 17:23:06
Author: heftig
Revision: 1079062
archrelease: copy trunk to community-x86_64
Added:
cdemu-daemon/repos/community-x86_64/PKGBUILD
(from rev 1079060, cdemu-daemon/trunk/PKGBUILD)
cdemu-daemon/repos/community-x86_64/cdemu-daemon.install
(from rev 1079060, cdemu-daemon/trunk/cdemu-daemon.install)
Deleted:
cdemu-daemon/repos/community-x86_64/PKGBUILD
cdemu-daemon/repos/community-x86_64/cdemu-daemon.install
----------------------+
PKGBUILD | 96 ++++++++++++++++++++++++-------------------------
cdemu-daemon.install | 36 +++++++++---------
2 files changed, 66 insertions(+), 66 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-19 17:23:05 UTC (rev 1079061)
+++ PKGBUILD 2021-12-19 17:23:06 UTC (rev 1079062)
@@ -1,48 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-# Contributor: Ray Rashif <schiv at archlinux.org>
-# Contributor: Mateusz Herych <heniekk at gmail.com>
-# Contributor: Charles Lindsay <charles at chaoslizard.org>
-
-pkgname=cdemu-daemon
-pkgver=3.2.5
-pkgrel=2
-pkgdesc="CD/DVD-ROM device emulator daemon"
-arch=(x86_64)
-url="https://cdemu.sourceforge.io/"
-license=(GPL)
-depends=(dbus VHBA-MODULE libao 'libmirage>=3.2.0')
-makedepends=(cmake intltool)
-optdepends=('alsa-lib: to enable the ALSA audio driver'
- 'pulseaudio: to enable the PA audio driver')
-install=cdemu-daemon.install
-source=("https://downloads.sourceforge.net/cdemu/$pkgname/$pkgname-$pkgver.tar.xz")
-sha256sums=('8d1053b195e8f9040c5628340740aa9bbfdd4891bac06fbc5eb5cd4ec376e699')
-
-prepare() {
- cd $pkgname-$pkgver
-}
-
-build() {
- cmake -S $pkgname-$pkgver -B build \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr
- cmake --build build
-}
-
-package() {
- DESTDIR="$pkgdir" cmake --install build
-
- install -Dt "$pkgdir/usr/share/doc/$pkgname" -m644 $pkgname-$pkgver/README
- install -Dt "$pkgdir/usr/lib/systemd/user" -m644 \
- $pkgname-$pkgver/service-example/cdemu-daemon.service
- install -Dt "$pkgdir/usr/share/dbus-1/services" -m644 \
- $pkgname-$pkgver/service-example/net.sf.cdemu.CDEmuDaemon.service
-
- echo vhba | install -Dm644 /dev/stdin "$pkgdir/usr/lib/modules-load.d/cdemu.conf"
- echo 'g cdemu - -' | install -Dm644 /dev/stdin "$pkgdir/usr/lib/sysusers.d/cdemu.conf"
- install -Dm644 /dev/stdin "$pkgdir/usr/lib/udev/rules.d/60-cdemu.rules" <<END
-ACTION=="add", KERNEL=="vhba_ctl", MODE="0660", OWNER="root", GROUP="cdemu", TAG+="uaccess"
-END
-}
-
-# vim:set sw=2 et:
Copied: cdemu-daemon/repos/community-x86_64/PKGBUILD (from rev 1079060, cdemu-daemon/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-19 17:23:06 UTC (rev 1079062)
@@ -0,0 +1,48 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Ray Rashif <schiv at archlinux.org>
+# Contributor: Mateusz Herych <heniekk at gmail.com>
+# Contributor: Charles Lindsay <charles at chaoslizard.org>
+
+pkgname=cdemu-daemon
+pkgver=3.2.6
+pkgrel=1
+pkgdesc="CD/DVD-ROM device emulator daemon"
+arch=(x86_64)
+url="https://cdemu.sourceforge.io/"
+license=(GPL)
+depends=(dbus VHBA-MODULE libao 'libmirage>=3.2.0')
+makedepends=(cmake intltool)
+optdepends=('alsa-lib: to enable the ALSA audio driver'
+ 'pulseaudio: to enable the PA audio driver')
+install=cdemu-daemon.install
+source=("https://downloads.sourceforge.net/cdemu/$pkgname/$pkgname-$pkgver.tar.xz")
+sha256sums=('a6e404e3ef75c6146e36354f65880dfd63b4b8ef1f54039dc5058e190f857d8f')
+
+prepare() {
+ cd $pkgname-$pkgver
+}
+
+build() {
+ cmake -S $pkgname-$pkgver -B build \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+
+ install -Dt "$pkgdir/usr/share/doc/$pkgname" -m644 $pkgname-$pkgver/README
+ install -Dt "$pkgdir/usr/lib/systemd/user" -m644 \
+ $pkgname-$pkgver/service-example/cdemu-daemon.service
+ install -Dt "$pkgdir/usr/share/dbus-1/services" -m644 \
+ $pkgname-$pkgver/service-example/net.sf.cdemu.CDEmuDaemon.service
+
+ echo vhba | install -Dm644 /dev/stdin "$pkgdir/usr/lib/modules-load.d/cdemu.conf"
+ echo 'g cdemu - -' | install -Dm644 /dev/stdin "$pkgdir/usr/lib/sysusers.d/cdemu.conf"
+ install -Dm644 /dev/stdin "$pkgdir/usr/lib/udev/rules.d/60-cdemu.rules" <<END
+ACTION=="add", KERNEL=="vhba_ctl", MODE="0660", OWNER="root", GROUP="cdemu", TAG+="uaccess"
+END
+}
+
+# vim:set sw=2 et:
Deleted: cdemu-daemon.install
===================================================================
--- cdemu-daemon.install 2021-12-19 17:23:05 UTC (rev 1079061)
+++ cdemu-daemon.install 2021-12-19 17:23:06 UTC (rev 1079062)
@@ -1,18 +0,0 @@
-post_install () {
- modprobe vhba || :
-}
-
-post_upgrade () {
- if (( $(vercmp $2 3.2.5) < 0)); then
- cat <<MSG
- > The system daemon has been removed. The session daemon must now be used.
-
- > The daemon now uses a configuration file at ~/.config/cdemu-daemon . It
- uses a different format from the old ~/.cdemu-daemon file. If you have
- customized the configuration before, you need to port your old settings.
- See /usr/share/doc/cdemu-daemon/README for details.
-MSG
- fi
-}
-
-# vim:set ts=2 sw=2 et:
Copied: cdemu-daemon/repos/community-x86_64/cdemu-daemon.install (from rev 1079060, cdemu-daemon/trunk/cdemu-daemon.install)
===================================================================
--- cdemu-daemon.install (rev 0)
+++ cdemu-daemon.install 2021-12-19 17:23:06 UTC (rev 1079062)
@@ -0,0 +1,18 @@
+post_install () {
+ modprobe vhba || :
+}
+
+post_upgrade () {
+ if (( $(vercmp $2 3.2.5) < 0)); then
+ cat <<MSG
+ > The system daemon has been removed. The session daemon must now be used.
+
+ > The daemon now uses a configuration file at ~/.config/cdemu-daemon . It
+ uses a different format from the old ~/.cdemu-daemon file. If you have
+ customized the configuration before, you need to port your old settings.
+ See /usr/share/doc/cdemu-daemon/README for details.
+MSG
+ fi
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list