Commit d9c55aed authored by Leo's avatar Leo

community/libvisio: upgrade to 0.1.7

parent f5913460
# Contributor: Timo Teräs <timo.teras@iki.fi> # Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi> # Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=libvisio pkgname=libvisio
pkgver=0.1.6 pkgver=0.1.7
pkgrel=5 pkgrel=0
pkgdesc="Import filter and tools for MS Visio Diagrams" pkgdesc="Import filter and tools for MS Visio Diagrams"
url="https://wiki.documentfoundation.org/DLP/Libraries/libvisio" url="https://wiki.documentfoundation.org/DLP/Libraries/libvisio"
arch="all" arch="all"
license="MPL-2.0" license="MPL-2.0"
depends_dev="boost-dev librevenge-dev icu-dev libwpd-dev libwpg-dev libxml2-dev zlib-dev" makedepends="doxygen gperf perl icu-dev librevenge-dev libxml2-dev"
makedepends="$depends_dev doxygen gperf perl"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools" subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
source="https://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz" source="https://dev-www.libreoffice.org/src/libvisio/libvisio-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
default_prepare
update_config_sub
}
build() { build() {
cd "$builddir"
# boost -1.59 # boost -1.59
export CPPFLAGS='-DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED' export CPPFLAGS='-DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED'
./configure \ ./configure \
...@@ -35,12 +26,10 @@ build() { ...@@ -35,12 +26,10 @@ build() {
} }
check() { check() {
cd "$builddir" make check
make check
} }
package() { package() {
cd "$builddir"
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
} }
...@@ -49,4 +38,4 @@ tools() { ...@@ -49,4 +38,4 @@ tools() {
mv "$pkgdir"/usr/bin "$subpkgdir"/usr mv "$pkgdir"/usr/bin "$subpkgdir"/usr
} }
sha512sums="58cee8cfe4205b2cad2f11dbe17882e57ebf0d10500116ca9d8d120e138f8eb0c65a5fea3bd7d2746bf8140377ee9deb34258597e028f9fdc8d21f270606cce1 libvisio-0.1.6.tar.xz" sha512sums="c26f67a09fa6a6d0bf6f3fff5590d5cf16983630d4f7cfcf86d9461baec58dbdf7989fd934be6db0639ca043c160aac2d008275afb9e047766bc878ac579a9ea libvisio-0.1.7.tar.xz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment