PaganOS Luna 0.6.0
PL EN DE
🔒 Repository is read-only – file editing is disabled.

recipes/gui/libwmf/PAGBUILD.yaml main

47 lines Raw ← Back
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
pkgname: libwmf
pkgver: '0.2.17'
pkgrel: '1'
pkgdesc: A library for reading vector images in Microsoft's native Windows Metafile Format (WMF)
url: 'https://wvware.sourceforge.net/libwmf.html'
arch: x86_64
depends:
- expat
- freetype
- gdk-pixbuf
- glib
- libjpeg-turbo
- libpng
- xorg-libx11
makedepends:
- autoconf
- automake
- gsfonts
- libjpeg-turbo
- xorg-libx11
- gdk-pixbuf
- gtk2
- xorg-libxt
source:
- libwmf-freetype.patch
- 'https://github.com/caolanm/libwmf/archive/v${pkgver}.tar.gz'
sha256sums:
- SKIP
- b4ba7d95297f26341fcdd2595532eaf88026a251630985a3ab2e0443f4ee8d13
build: |
  cd ${pkgname}-${pkgver}

  autoreconf -fi
  ./configure --prefix=/usr \
              --with-gsfontdir=/usr/share/fonts/Type1 \
              --with-fontdir=/usr/share/fonts/Type1 \
              --with-gsfontmap=/usr/share/ghostscript/9.14/Resource/Init/Fontmap.GS
  make
  make -j1 DESTDIR=${PKGDIR} install
  # rm fonts already in gsfonts packages
  rm -rf ${PKGDIR}/usr/share/fonts

  # Obsolets libs
  rm -f ${PKGDIR}/usr/lib/libwmf.la
  rm -f ${PKGDIR}/usr/lib/libwmflite.la
package: |
  true