[arch-commits] Commit in libwslay/repos/community-x86_64 (PKGBUILD sphinx-4.patch)

Alexander Rødseth arodseth at gemini.archlinux.org
Fri Oct 1 22:46:43 UTC 2021


    Date: Friday, October 1, 2021 @ 22:46:43
  Author: arodseth
Revision: 1026663

archrelease: copy trunk to community-x86_64

Added:
  libwslay/repos/community-x86_64/PKGBUILD
    (from rev 1026662, libwslay/trunk/PKGBUILD)
  libwslay/repos/community-x86_64/sphinx-4.patch
    (from rev 1026662, libwslay/trunk/sphinx-4.patch)

----------------+
 PKGBUILD       |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 sphinx-4.patch |   29 +++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)

Copied: libwslay/repos/community-x86_64/PKGBUILD (from rev 1026662, libwslay/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-10-01 22:46:43 UTC (rev 1026663)
@@ -0,0 +1,49 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Cebtenzzre <cebtenzzre (at) gmail (dot) com>
+# Contributor: Andy Weidenbaum <archbaum at gmail.com>
+
+pkgname=libwslay
+pkgver=1.1.1
+pkgrel=2
+pkgdesc='WebSocket library'
+arch=(x86_64)
+makedepends=(python-sphinx)
+checkdepends=(cunit)
+optdepends=('nettle: needed for wslay_testclient')
+url='https://github.com/tatsuhiro-t/wslay'
+license=(MIT)
+source=("$pkgname-$pkgver.tar.bz2::https://github.com/tatsuhiro-t/wslay/releases/download/release-$pkgver/wslay-$pkgver.tar.bz2"
+        sphinx-4.patch)
+b2sums=('e5b5e7435e1e3a82cef4407f2a5fbcf4168f2814546074d8ee5aa70f36acabc648bc58f14aaee53bc6be7ab7e18c39a4f8e16fba507dc85f19ee4f79a827be6e'
+        '12dc00c3dfcf29a0263b93638164ab9e99a9672962714392cf8f28421498d138a83779a267f59892b579f66dfc4b7fca8c8b1a3662040d9dc29d1841ebe42ea9')
+
+prepare() {
+  cd wslay-$pkgver
+  patch -Np1 -i ../sphinx-4.patch
+}
+
+build() {
+  cd wslay-$pkgver
+  autoreconf -i
+  ./configure \
+    --libexecdir=/usr/lib/wslay \
+    --localstatedir=/var/lib/wslay \
+    --prefix=/usr \
+    --sbindir=/usr/bin \
+    --sharedstatedir=/usr/share/wslay \
+    --sysconfdir=/etc \
+    --with-gnu-ld
+  make
+}
+
+check() {
+  make -C wslay-$pkgver
+}
+
+package() {
+  cd wslay-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+  # rename example executables
+  cd "$pkgdir/usr/bin" && find * -type f -exec mv -v {} wslay_{} \;
+}

Copied: libwslay/repos/community-x86_64/sphinx-4.patch (from rev 1026662, libwslay/trunk/sphinx-4.patch)
===================================================================
--- sphinx-4.patch	                        (rev 0)
+++ sphinx-4.patch	2021-10-01 22:46:43 UTC (rev 1026663)
@@ -0,0 +1,29 @@
+initial patch by deep_thought, changes by Cebtenzzre
+diff -Naurp a/doc/sphinx/conf.py.in b/doc/sphinx/conf.py.in
+--- a/doc/sphinx/conf.py.in	2020-06-20 02:51:51.000000000 -0400
++++ b/doc/sphinx/conf.py.in	2021-05-17 17:12:54.764224521 -0400
+@@ -123,6 +123,8 @@ html_theme_options = {'bodyfont':'roboto
+ # so a file named "default.css" will overwrite the builtin "default.css".
+ html_static_path = ['_static/default2.css']
+ 
++html_css_files = ['default2.css']
++
+ # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
+ # using the given strftime format.
+ #html_last_updated_fmt = '%b %d, %Y'
+@@ -209,6 +211,9 @@ latex_documents = [
+ 
+ # -- Options for manual page output --------------------------------------------
+ 
++# If true, make a section directory on build man page. Default is True.
++man_make_section_directory = False
++
+ # One entry per manual page. List of tuples
+ # (source start file, name, description, authors, manual section).
+ man_pages = [
+@@ -302,4 +307,4 @@ man_pages = [
+     ]
+ 
+ def setup(app):
+-    app.add_stylesheet('default2.css')
++    pass



More information about the arch-commits mailing list