Date: Sunday, November 27, 2022 @ 23:15:51
Author: heftig
Revision: 462644
archrelease: copy trunk to extra-x86_64
Added:
dleyna/repos/extra-x86_64/PKGBUILD
(from rev 462643, dleyna/trunk/PKGBUILD)
Deleted:
dleyna/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 166 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 85 insertions(+), 81 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-27 23:15:42 UTC (rev 462643)
+++ PKGBUILD 2022-11-27 23:15:51 UTC (rev 462644)
@@ -1,81 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
-
-pkgbase=dleyna
-pkgname=(dleyna dleyna-docs)
-pkgver=0.8.1
-pkgrel=1
-pkgdesc="Services and D-Bus APIs to access UPnP and DLNA media devices"
-url="https://gitlab.gnome.org/World/dLeyna"
-arch=(x86_64)
-license=(LGPL2.1)
-depends=(
- dbus
- gupnp
- gupnp-av
- gupnp-dlna
- libsoup3
- libxml2
-)
-makedepends=(
- git
- meson
- python-docutils
- python-sphinx
- python-sphinx_rtd_theme
-)
-options=(debug)
-_commit=21e074a2f5ab707698e3dff115c69bbb31dcfba8 # tags/v0.8.1^0
-source=("git+https://gitlab.gnome.org/World/dLeyna.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
- cd dLeyna
- git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
-}
-
-prepare() {
- cd dLeyna
-}
-
-build() {
- local meson_options=(
- -D log_type=glib
- )
-
- arch-meson dLeyna build "${meson_options[@]}"
- meson compile -C build
- meson compile -C build docs
-}
-
-check() {
- meson test -C build --print-errorlogs
-}
-
-package_dleyna() {
- provides=(
- dleyna-connector-dbus
- dleyna-core
- dleyna-renderer
- dleyna-server
- libdleyna-core-1.0.so
- )
- replaces=(
- 'dleyna-connector-dbus<=0.4.1-1'
- 'dleyna-core<=0.7.0-3'
- 'dleyna-renderer<=0.7.2-1'
- 'dleyna-server<=0.7.2-1'
- )
- conflicts=("${replaces[@]}")
-
- meson install -C build --destdir "$pkgdir"
-}
-
-package_dleyna-docs() {
- pkgdesc+=" (documentation)"
- depends=()
-
- mkdir -p "$pkgdir/usr/share/doc"
- cp -a build/doc/docs "$pkgdir/usr/share/doc/$pkgbase"
-}
-
-# vim:set sw=2 sts=-1 et:
Copied: dleyna/repos/extra-x86_64/PKGBUILD (from rev 462643,
dleyna/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-27 23:15:51 UTC (rev 462644)
@@ -0,0 +1,85 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+
+pkgbase=dleyna
+pkgname=(dleyna dleyna-docs)
+pkgver=0.8.2
+pkgrel=1
+pkgdesc="Services and D-Bus APIs to access UPnP and DLNA media devices"
+url="https://gitlab.gnome.org/World/dLeyna"
+arch=(x86_64)
+license=(LGPL2.1)
+depends=(
+ dbus
+ gupnp
+ gupnp-av
+ gupnp-dlna
+ libsoup3
+ libxml2
+)
+makedepends=(
+ git
+ meson
+ python-docutils
+ python-gobject
+ python-sphinx
+ python-sphinx_rtd_theme
+)
+options=(debug)
+_commit=9444b8eb9e48a3985340c7f7e0d3a63d2b352302 # tags/v0.8.2^0
+source=("git+https://gitlab.gnome.org/World/dLeyna.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd dLeyna
+ git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+ cd dLeyna
+}
+
+build() {
+ local meson_options=(
+ -D log_type=glib
+ )
+
+ arch-meson dLeyna build "${meson_options[@]}"
+ meson compile -C build
+ meson compile -C build docs
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package_dleyna() {
+ provides=(
+ dleyna-connector-dbus
+ dleyna-core
+ dleyna-renderer
+ dleyna-server
+ libdleyna-core-1.0.so
+ )
+ replaces=(
+ 'dleyna-connector-dbus<=0.4.1-1'
+ 'dleyna-core<=0.7.0-3'
+ 'dleyna-renderer<=0.7.2-1'
+ 'dleyna-server<=0.7.2-1'
+ )
+ conflicts=("${replaces[@]}")
+
+ meson install -C build --destdir "$pkgdir"
+
+ python -m compileall -d /usr/lib "$pkgdir/usr/lib"
+ python -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
+}
+
+package_dleyna-docs() {
+ pkgdesc+=" (documentation)"
+ depends=()
+
+ mkdir -p "$pkgdir/usr/share/doc"
+ cp -a build/doc/docs "$pkgdir/usr/share/doc/$pkgbase"
+}
+
+# vim:set sw=2 sts=-1 et: