From 2e2e17f3a647fa5c68737e0d5e7acaae6570dfbf Mon Sep 17 00:00:00 2001 From: Alexpux Date: Tue, 1 Apr 2014 12:25:14 +0400 Subject: [PATCH] Add WIP of soqt package. --- mingw-w64-soqt-hg/PKGBUILD | 59 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 mingw-w64-soqt-hg/PKGBUILD diff --git a/mingw-w64-soqt-hg/PKGBUILD b/mingw-w64-soqt-hg/PKGBUILD new file mode 100644 index 0000000000..d0799cf9ab --- /dev/null +++ b/mingw-w64-soqt-hg/PKGBUILD @@ -0,0 +1,59 @@ +# Maintainer: Alexey Pavlov + +_realname=soqt +_mingw_suff=mingw-w64-${CARCH} +pkgname="${_mingw_suff}-${_realname}-hg" +pkgver=r1937.06c521480698 +pkgrel=1 +pkgdesc="The glue between Coin & Qt (mingw-w64)" +arch=('any') +license=('BSD') +depends=("${_mingw_suff}-coin3d" "${_mingw_suff}-qt5") +makedepends=("mercurial" "${_mingw_suff}-cmake" "${_mingw_suff}-gcc") +provides=("${_mingw_suff}-${_realname}") +conflicts=("${_mingw_suff}-${_realname}") +url=('https://bitbucket.org/Coin3D/dime') +source=("${_realname}"::"hg+https://bitbucket.org/Alexpux/soqt" + "hg+https://bitbucket.org/Alexpux/generalmsvcgeneration" + "hg+https://bitbucket.org/Alexpux/soanydata" + "hg+https://bitbucket.org/Alexpux/sogui" + ) +options=(!strip staticlibs !makeflags) +md5sums=('SKIP' + 'SKIP' + 'SKIP' + 'SKIP') + +pkgver() { + cd "$srcdir/$_realname" + printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)" +} + +prepare() { + cd ${srcdir}/${_realname} +} + +build() { + #export lt_cv_deplibs_check_method='pass_all' + [[ -d "${srcdir}/build-${MINGW_CHOST}" ]] && rm -rf ${srcdir}/build-${MINGW_CHOST} + mkdir ${srcdir}/build-${MINGW_CHOST} + cd ${srcdir}/build-${MINGW_CHOST} + ../"${_realname}"/configure \ + --prefix=${MINGW_PREFIX} \ + --build=${MINGW_CHOST} \ + --host=${MINGW_CHOST} \ + --enable-shared \ + --disable-static \ + --enable-optimization \ + --disable-debug \ + --disable-loadlibrary \ + --with-qt=${MINGW_PREFIX} \ + --with-coin=${MINGW_PREFIX} \ + --without-x + LC_ALL=C make -j1 +} + +package() { + cd "${srcdir}/build-${MINGW_CHOST}" + make DESTDIR=${pkgdir} install +}