[arch-commits] Commit in libmspub/repos (3 files)

Felix Yan felixonmars at gemini.archlinux.org
Thu Apr 14 17:55:57 UTC 2022


    Date: Thursday, April 14, 2022 @ 17:55:57
  Author: felixonmars
Revision: 442549

archrelease: copy trunk to staging-x86_64

Added:
  libmspub/repos/staging-x86_64/
  libmspub/repos/staging-x86_64/PKGBUILD
    (from rev 442548, libmspub/trunk/PKGBUILD)
  libmspub/repos/staging-x86_64/buildfix.diff
    (from rev 442548, libmspub/trunk/buildfix.diff)

---------------+
 PKGBUILD      |   33 +++++++++++++++++++++++++++++++++
 buildfix.diff |   12 ++++++++++++
 2 files changed, 45 insertions(+)

Copied: libmspub/repos/staging-x86_64/PKGBUILD (from rev 442548, libmspub/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2022-04-14 17:55:57 UTC (rev 442549)
@@ -0,0 +1,33 @@
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+# Contributor: Simone Sclavi 'Ito' <darkhado at gmail.com>
+
+pkgname=libmspub
+pkgver=0.1.4
+pkgrel=12
+pkgdesc="Microsoft Publisher file format parser library (latest snapshot)"
+arch=('x86_64')
+url="https://wiki.documentfoundation.org/DLP/Libraries/libmspub"
+license=('GPL2' 'LGPL2.1' 'MPL')
+depends=('libwpd' 'icu' 'librevenge')
+makedepends=('libwpg' 'boost' 'doxygen')
+source=(https://dev-www.libreoffice.org/src/${pkgname}/${pkgname}-${pkgver}.tar.xz
+        buildfix.diff)
+sha256sums=('ef36c1a1aabb2ba3b0bedaaafe717bf4480be2ba8de6f3894be5fd3702b013ba'
+            'be1a871f9ebfb15d989605137d5de0c5dc67a3e383e0e1178037f8a9bdfc89dc')
+
+prepare() {
+    cd "${pkgname}"-${pkgver}
+    patch -Np1 -i ../buildfix.diff
+    autoreconf -vfi
+}
+
+build() {
+    cd "${pkgname}"-${pkgver}
+    ./configure --prefix=/usr --with-docs
+    make
+}
+
+package() {
+    cd "${pkgname}"-${pkgver}
+    make DESTDIR="$pkgdir" install
+}

Copied: libmspub/repos/staging-x86_64/buildfix.diff (from rev 442548, libmspub/trunk/buildfix.diff)
===================================================================
--- staging-x86_64/buildfix.diff	                        (rev 0)
+++ staging-x86_64/buildfix.diff	2022-04-14 17:55:57 UTC (rev 442549)
@@ -0,0 +1,12 @@
+diff --git a/src/lib/MSPUBMetaData.h b/src/lib/MSPUBMetaData.h
+index 9167f4f..27bdd4f 100644
+--- a/src/lib/MSPUBMetaData.h
++++ b/src/lib/MSPUBMetaData.h
+@@ -13,6 +13,7 @@
+ #include <map>
+ #include <utility>
+ #include <vector>
++#include <stdint.h>
+ 
+ #include <librevenge/librevenge.h>
+ 



More information about the arch-commits mailing list