Compare commits
2
Commits
caa3346e1d
...
988fb010db
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
988fb010db
|
||
|
|
075d22791b
|
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
name: libwmf
|
name: libwmf
|
||||||
description: Library for reading and converting WMF (Windows Meta Files)
|
description: Library for reading and converting WMF (Windows Meta Files)
|
||||||
version: 0.2.15
|
version: 0.2.16
|
||||||
revision: 2
|
revision: 2
|
||||||
url: https://github.com/caolanm/libwmf
|
url: https://github.com/caolanm/libwmf
|
||||||
license: LGPL2.1-or-later
|
license: LGPL2.1-or-later
|
||||||
@@ -11,6 +11,7 @@ type: source
|
|||||||
depends:
|
depends:
|
||||||
- expat
|
- expat
|
||||||
- freetype2
|
- freetype2
|
||||||
|
- gd
|
||||||
- glibc
|
- glibc
|
||||||
- libjpeg-turbo
|
- libjpeg-turbo
|
||||||
- libpng
|
- libpng
|
||||||
@@ -24,4 +25,4 @@ downloads:
|
|||||||
- url: https://github.com/caolanm/libwmf/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz
|
- url: https://github.com/caolanm/libwmf/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz
|
||||||
extract_to: ${BPM_SOURCE}
|
extract_to: ${BPM_SOURCE}
|
||||||
extract_strip_components: 1
|
extract_strip_components: 1
|
||||||
checksum: 379ae041dd53ab35f55c9b73a78a31f1ce530e925023c31607b05f2199d867e6
|
checksum: 50f36f939b751274b5f0abef9fb38c23c101ebf8bba0934cfbf5444ec37011f0
|
||||||
@@ -12,7 +12,9 @@ prepare() {
|
|||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
./configure --prefix=/usr --with-gsfontmap=/usr/share/ghostscript/Resource/Init/Fontmap.GS --with-gsfontdir=/usr/share/fonts/gsfonts
|
./configure --prefix=/usr \
|
||||||
|
--with-gsfontmap=/usr/share/ghostscript/Resource/Init/Fontmap.GS \
|
||||||
|
--with-gsfontdir=/usr/share/fonts/gsfonts
|
||||||
# prevent excessive overlinking due to libtool
|
# prevent excessive overlinking due to libtool
|
||||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||||
make
|
make
|
||||||
|
|||||||
Reference in new issue
Block a user