]> saetta.ns0.it Git - msys2/commitdiff
graphviz: nuovo pacchetto WIP.
authorAndrea Zagli <azagli@libero.it>
Sun, 5 Apr 2015 09:28:47 +0000 (11:28 +0200)
committerAndrea Zagli <azagli@libero.it>
Sat, 21 Apr 2018 13:13:19 +0000 (15:13 +0200)
packages/mingw-w64-graphviz/001-win.patch [new file with mode: 0644]
packages/mingw-w64-graphviz/PKGBUILD [new file with mode: 0644]

diff --git a/packages/mingw-w64-graphviz/001-win.patch b/packages/mingw-w64-graphviz/001-win.patch
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/mingw-w64-graphviz/PKGBUILD b/packages/mingw-w64-graphviz/PKGBUILD
new file mode 100644 (file)
index 0000000..55b3df7
--- /dev/null
@@ -0,0 +1,57 @@
+# Maintainer: Andrea Zagli <andrea.zagli.free@gmail.com>
+
+_realname=graphviz
+pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
+pkgver=2.38.0
+pkgrel=1
+arch=('any')
+pkgdesc="Rich set of graph drawing tools (mingw-w64)"
+options=(strip staticlibs)
+depends=("${MINGW_PACKAGE_PREFIX}-cairo"
+         "${MINGW_PACKAGE_PREFIX}-expat"
+         "${MINGW_PACKAGE_PREFIX}-freetype"
+         "${MINGW_PACKAGE_PREFIX}-gd"
+         "${MINGW_PACKAGE_PREFIX}-fontconfig"
+         "${MINGW_PACKAGE_PREFIX}-pango"
+         "${MINGW_PACKAGE_PREFIX}-libpng"
+         "${MINGW_PACKAGE_PREFIX}-zlib"
+         "${MINGW_PACKAGE_PREFIX}-gtk3"
+         "${MINGW_PACKAGE_PREFIX}-gtkglext"
+         "${MINGW_PACKAGE_PREFIX}-freeglut"
+         "${MINGW_PACKAGE_PREFIX}-glade")
+options=('strip' 'staticlibs')
+license=("GPL 2")
+url="http://www.gnome.org"
+source=(http://graphviz.org/pub/${_realname}/stable/SOURCES/${_realname}-$pkgver.tar.gz
+        001-win.patch)
+sha256sums=('81aa238d9d4a010afa73a9d2a704fc3221c731e1e06577c2ab3496bdef67859e'
+            'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855')
+
+prepare() {
+  cd "${srcdir}"/${_realname}-${pkgver}
+
+  #patch -p1 -i ${srcdir}/001-win.patch
+
+  #autoreconf -fi
+}
+
+build() {
+  mkdir -p build-${MINGW_CHOST}
+  cd build-${MINGW_CHOST}
+
+  ../${_realname}-${pkgver}/configure \
+    --prefix=${MINGW_PREFIX} \
+    --libexecdir=${MINGW_PREFIX}/lib \
+    --host=${MINGW_CHOST} \
+    --target=${MINGW_CHOST} \
+    --build=${MINGW_CHOST} \
+    --enable-shared \
+    --disable-static
+
+  make
+}
+
+package() {
+  cd "$srcdir/build-${MINGW_CHOST}"
+  make DESTDIR=$pkgdir install
+}