[arch-commits] Commit in cdemu-daemon/repos/community-x86_64 (4 files)

Jan Steffens heftig at gemini.archlinux.org
Sun Nov 21 01:00:06 UTC 2021


    Date: Sunday, November 21, 2021 @ 01:00:06
  Author: heftig
Revision: 1052923

archrelease: copy trunk to community-x86_64

Added:
  cdemu-daemon/repos/community-x86_64/PKGBUILD
    (from rev 1052921, cdemu-daemon/trunk/PKGBUILD)
  cdemu-daemon/repos/community-x86_64/cdemu-daemon.install
    (from rev 1052921, cdemu-daemon/trunk/cdemu-daemon.install)
Deleted:
  cdemu-daemon/repos/community-x86_64/PKGBUILD
  cdemu-daemon/repos/community-x86_64/cdemu-daemon.install

----------------------+
 PKGBUILD             |   90 ++++++++++++++++++++++++++-----------------------
 cdemu-daemon.install |   36 +++++++++----------
 2 files changed, 66 insertions(+), 60 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-21 01:00:05 UTC (rev 1052922)
+++ PKGBUILD	2021-11-21 01:00:06 UTC (rev 1052923)
@@ -1,42 +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=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=('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"
-}
-
-# vim:set sw=2 et:

Copied: cdemu-daemon/repos/community-x86_64/PKGBUILD (from rev 1052921, cdemu-daemon/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-21 01:00:06 UTC (rev 1052923)
@@ -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.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:

Deleted: cdemu-daemon.install
===================================================================
--- cdemu-daemon.install	2021-11-21 01:00:05 UTC (rev 1052922)
+++ cdemu-daemon.install	2021-11-21 01:00:06 UTC (rev 1052923)
@@ -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 1052921, cdemu-daemon/trunk/cdemu-daemon.install)
===================================================================
--- cdemu-daemon.install	                        (rev 0)
+++ cdemu-daemon.install	2021-11-21 01:00:06 UTC (rev 1052923)
@@ -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