From b4dc4de62018f3c4d62ecc50c6cb94c62698ddbd Mon Sep 17 00:00:00 2001 From: Martchus Date: Wed, 13 Jan 2016 19:53:31 +0100 Subject: [PATCH] updated File Zilla PKGBUILDs --- filezilla/mingw-w64-svn/PKGBUILD | 6 +++- filezilla/svn/PKGBUILD | 51 +++++++++++++++++++++++++++++ filezilla/svn/filezilla.install | 11 +++++++ libfilezilla/mingw-w64-svn/PKGBUILD | 16 ++++----- libfilezilla/svn/PKGBUILD | 47 ++++++++++++++++++++++++++ pkgbuilds.pro | 21 +++++++++++- wxwidgets/mingw-w64/PKGBUILD | 14 ++++---- 7 files changed, 149 insertions(+), 17 deletions(-) create mode 100644 filezilla/svn/PKGBUILD create mode 100644 filezilla/svn/filezilla.install create mode 100644 libfilezilla/svn/PKGBUILD diff --git a/filezilla/mingw-w64-svn/PKGBUILD b/filezilla/mingw-w64-svn/PKGBUILD index fd6aaf33..91369c69 100644 --- a/filezilla/mingw-w64-svn/PKGBUILD +++ b/filezilla/mingw-w64-svn/PKGBUILD @@ -1,6 +1,8 @@ +# Maintainer: Martchus + _name=filezilla pkgname=mingw-w64-filezilla-svn -pkgver=r7235 +pkgver=r7253 pkgrel=1 pkgdesc="Fast and reliable FTP, FTPS and SFTP client (mingw-w64, svn version)" arch=('any') @@ -8,6 +10,8 @@ url="https://filezilla-project.org/" license=('GPL') depends=('mingw-w64-crt' 'mingw-w64-libidn' 'mingw-w64-sqlite' 'mingw-w64-gnutls' 'mingw-w64-wxmsw' 'mingw-w64-libfilezilla-svn') makedepends=('mingw-w64-gcc' 'mingw-w64-configure' 'wxgtk' 'subversion') +provides=(${pkgname%-svn}) +conflicts=(${pkgname%-svn}) install= source=("${_name}::svn+https://svn.filezilla-project.org/svn/FileZilla3/trunk") md5sums=('SKIP') diff --git a/filezilla/svn/PKGBUILD b/filezilla/svn/PKGBUILD new file mode 100644 index 00000000..aa37ead5 --- /dev/null +++ b/filezilla/svn/PKGBUILD @@ -0,0 +1,51 @@ +# Maintainer: Martchus + +_name=filezilla +pkgname=filezilla-svn +pkgver=r7253 +pkgrel=1 +pkgdesc="Fast and reliable FTP, FTPS and SFTP client (svn version)" +arch=('i686' 'x86_64') +url="https://filezilla-project.org/" +license=('GPL') +depends=('dbus' 'xdg-utils' 'wxgtk' 'libidn' 'hicolor-icon-theme' 'sqlite' 'gnutls' 'libfilezilla') +makedepends=('subversion') +checkdepends=('cppunit') +provides=(${pkgname%-svn}) +conflicts=(${pkgname%-svn}) +install=filezilla.install +source=("${_name}::svn+https://svn.filezilla-project.org/svn/FileZilla3/trunk") +md5sums=('SKIP') + +pkgver() { + cd "${srcdir}/${_name}" + local ver="$(svnversion)" + printf "r%s" "${ver//[[:alpha:]]}" +} + +prepare() { + cd "${srcdir}/${_name}" + autoreconf -i +} + +build() { + cd "${srcdir}/${_name}" + ./configure \ + --prefix=/usr \ + --disable-manualupdatecheck \ + --disable-autoupdatecheck \ + --with-pugixml=builtin \ + --disable-static \ + --with-wx-config="wx-config --static=no" + make +} + +check() { + cd "${_name}" + LANG=en_US.UTF-8 make check +} + +package() { + cd "${srcdir}/${_name}" + make DESTDIR="${pkgdir}" install +} diff --git a/filezilla/svn/filezilla.install b/filezilla/svn/filezilla.install new file mode 100644 index 00000000..1a05f573 --- /dev/null +++ b/filezilla/svn/filezilla.install @@ -0,0 +1,11 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/libfilezilla/mingw-w64-svn/PKGBUILD b/libfilezilla/mingw-w64-svn/PKGBUILD index ec818aa6..0c0fe6fc 100644 --- a/libfilezilla/mingw-w64-svn/PKGBUILD +++ b/libfilezilla/mingw-w64-svn/PKGBUILD @@ -1,6 +1,8 @@ +# Maintainer: Martchus + _name=libfilezilla pkgname=mingw-w64-libfilezilla-svn -pkgver=r7227 +pkgver=r7253 pkgrel=1 pkgdesc="Library used by FileZilla (mingw-w64, svn version)" arch=('any') @@ -8,6 +10,8 @@ url="https://filezilla-project.org/" license=('GPL') depends=('mingw-w64-crt') makedepends=('mingw-w64-gcc' 'mingw-w64-configure' 'subversion') +provides=(${pkgname%-svn}) +conflicts=(${pkgname%-svn}) options=(staticlibs !strip !buildflags) install= source=("${_name}::svn+https://svn.filezilla-project.org/svn/libfilezilla/trunk") @@ -16,23 +20,20 @@ md5sums=('SKIP') _architectures="i686-w64-mingw32 x86_64-w64-mingw32" pkgver() { - cd "${_name}" + cd "${srcdir}/${_name}" local ver="$(svnversion)" printf "r%s" "${ver//[[:alpha:]]}" } prepare() { - cd "${_name}" + cd "${srcdir}/${_name}" autoreconf -i } build() { for _arch in ${_architectures}; do mkdir -p "${srcdir}/${_name}/build-${_arch}" && cd "${srcdir}/${_name}/build-${_arch}" - ${_arch}-configure \ - --disable-manualupdatecheck \ - --disable-autoupdatecheck \ - --with-pugixml=builtin + ${_arch}-configure make done } @@ -40,7 +41,6 @@ build() { package() { for _arch in ${_architectures}; do cd "${srcdir}/${_name}/build-${_arch}" - export PATH="/usr/${_arch}/bin:${PATH}" make DESTDIR="${pkgdir}" install ${_arch}-strip -g "${pkgdir}/usr/${_arch}/lib/"*.a ${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll diff --git a/libfilezilla/svn/PKGBUILD b/libfilezilla/svn/PKGBUILD new file mode 100644 index 00000000..5c9f2e42 --- /dev/null +++ b/libfilezilla/svn/PKGBUILD @@ -0,0 +1,47 @@ +# Maintainer: Martchus + +_name=libfilezilla +pkgname=libfilezilla-svn +pkgver=r7253 +pkgrel=1 +pkgdesc="Library used by FileZilla (svn version)" +arch=('i686' 'x86_64') +url="https://filezilla-project.org/" +license=('GPL') +depends=('gcc-libs') +makedepends=('subversion') +checkdepends=('cppunit') +provides=(${pkgname%-svn}) +conflicts=(${pkgname%-svn}) +install= +source=("${_name}::svn+https://svn.filezilla-project.org/svn/libfilezilla/trunk") +md5sums=('SKIP') + +pkgver() { + cd "${srcdir}/${_name}" + local ver="$(svnversion)" + printf "r%s" "${ver//[[:alpha:]]}" +} + +prepare() { + cd "${srcdir}/${_name}" + autoreconf -i +} + +build() { + cd "${srcdir}/${_name}" + ./configure \ + --prefix=/usr \ + --disable-static + make +} + +check() { + cd "${srcdir}/${_name}" + LANG=en_US.UTF-8 make check +} + +package() { + cd "${srcdir}/${_name}" + make DESTDIR="${pkgdir}" install +} diff --git a/pkgbuilds.pro b/pkgbuilds.pro index 55a7e516..2658f06b 100644 --- a/pkgbuilds.pro +++ b/pkgbuilds.pro @@ -77,11 +77,30 @@ OTHER_FILES += \ libssh/mingw-w64/mingw-as-unix.patch \ libssh/mingw-w64/mingw-DATADIR-conflict.patch \ libssh/mingw-w64/mingw-pkgconfig.patch \ + filezilla/svn/PKGBUILD \ + filezilla/svn/filezilla.install \ filezilla/mingw-w64-svn/PKGBUILD \ + libfilezilla/svn/PKGBUILD \ libfilezilla/mingw-w64-svn/PKGBUILD \ ffmpeg/libfdk_aac-git/PKGBUILD \ ffmpeg/mingw-w64/PKGBUILD \ x264/mingw-w64/PKGBUILD \ x265/mingw-w64/PKGBUILD \ x265/mingw-w64/mingw.patch \ - wxwidgets/mingw-w64/PKGBUILD + wxwidgets/mingw-w64/PKGBUILD \ + qt5-webchannel/mingw-w64/PKGBUILD \ + qt5-webengine/mingw-w64/PKGBUILD \ + qt5-webengine/mingw-w64/0044-qt-5.4.0-win32-g++-enable-qtwebengine-build.patch \ + qt5-webengine/mingw-w64-git/PKGBUILD \ + qt5-webengine/mingw-w64-git/0044-qt-5.4.0-win32-g++-enable-qtwebengine-build.patch \ + qt5-webview/default/PKGBUILD \ + qt5-webview/git/PKGBUILD \ + qt5-webview/mingw-w64-git/PKGBUILD \ + ghostscript/mingw-w64/PKGBUILD \ + ghostscript/mingw-w64/add_gserrors_h.diff \ + ghostscript/mingw-w64/bug_696246.diff \ + ghostscript/mingw-w64/ghostscript-sys-zlib.patch \ + ghostscript/mingw-w64/libspectre.patch \ + ghostscript/mingw-w64/mingw-build.patch \ + lcms2/mingw-w64/PKGBUILD \ + lcms2/mingw-w64/0002-need-jconfig-before-jmoreconfig.mingw diff --git a/wxwidgets/mingw-w64/PKGBUILD b/wxwidgets/mingw-w64/PKGBUILD index deba2a1b..dee83a84 100644 --- a/wxwidgets/mingw-w64/PKGBUILD +++ b/wxwidgets/mingw-w64/PKGBUILD @@ -1,17 +1,17 @@ pkgname=mingw-w64-wxmsw epoch=1 pkgver=3.0.2 -pkgrel=1.1 +pkgrel=2 pkgdesc="Win32 implementation of wxWidgets API for GUI (mingw-w64)" -arch=('i686' 'x86_64') # contains binaries executed on the host +arch=('any') url="http://wxwidgets.org" license=("custom:wxWindows") -depends=(mingw-w64-crt mingw-w64-libpng mingw-w64-libjpeg-turbo mingw-w64-libtiff) -makedepends=(mingw-w64-gcc) +depends=('mingw-w64-crt' 'mingw-w64-libpng' 'mingw-w64-libjpeg-turbo' 'mingw-w64-libtiff') +makedepends=('mingw-w64-gcc') options=(staticlibs !strip !buildflags) -conflicts=(mingw-w64-wxmsw2.9 mingw-w64-wxmsw-static) -provides=(mingw-w64-wxmsw2.9 mingw-w64-wxmsw-static) -replaces=(mingw-w64-wxmsw2.9) +conflicts=('mingw-w64-wxmsw2.9' 'mingw-w64-wxmsw-static') +provides=('mingw-w64-wxmsw2.9' 'mingw-w64-wxmsw-static') +replaces=('mingw-w64-wxmsw2.9') source=("http://downloads.sourceforge.net/wxwindows/wxWidgets-${pkgver}.tar.bz2") sha1sums=('6461eab4428c0a8b9e41781b8787510484dea800')