summaryrefslogtreecommitdiff
path: root/pcr/freefilesync
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-02-14 09:43:42 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-02-14 09:43:42 -0500
commit5ab36c7e9a120c2008dd0c0d8d4969f1e6935b6e (patch)
treef7245d10b93a339d74ba42ea85ddf636f6e1902a /pcr/freefilesync
parent1f17dba4882f326f515508a762788dcab16bebc4 (diff)
downloadabslibre-5ab36c7e9a120c2008dd0c0d8d4969f1e6935b6e.tar.gz
abslibre-5ab36c7e9a120c2008dd0c0d8d4969f1e6935b6e.tar.bz2
abslibre-5ab36c7e9a120c2008dd0c0d8d4969f1e6935b6e.zip
freefilesync-8.9-0: updating version
Diffstat (limited to 'pcr/freefilesync')
-rwxr-xr-xpcr/freefilesync/PKGBUILD57
1 files changed, 32 insertions, 25 deletions
diff --git a/pcr/freefilesync/PKGBUILD b/pcr/freefilesync/PKGBUILD
index d50cba16e..3e818fef6 100755
--- a/pcr/freefilesync/PKGBUILD
+++ b/pcr/freefilesync/PKGBUILD
@@ -4,49 +4,56 @@
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=freefilesync
-pkgver=8.5
+pkgver=8.9
pkgrel=0
pkgdesc="Backup software to synchronize files and folders"
-arch=('i686' 'x86_64' 'armv7h')
+arch=('i686' 'x86_64')
url="http://www.freefilesync.org/"
license=('GPLv3')
depends=(wxgtk webkitgtk2 boost-libs)
makedepends=(boost)
source=(
- "http://downloads.sourceforge.net/project/zenxml/zenXml_2.3.zip" #zen
- "FreeFileSync_${pkgver}_Source.zip::https://dl.dropboxusercontent.com/u/74545385/FreeFileSync_8.5_Source.zip" #ffs
+ "http://downloads.sourceforge.net/project/zenxml/zenXml_2.4.zip" #zen
+ "FreeFileSync_${pkgver}_Source.zip::https://dl.dropboxusercontent.com/u/74545385/FreeFileSync_8.9_Source.zip" #ffs
FreeFileSync.desktop
ffsicon.png
RealTimeSync.desktop
rtsicon.png
)
md5sums=(
- '58baf96cb8e1136d10e1ada7419921c5' #zen source
- '3d95dd10e7b3395f73173eb6eabc4c9e' #ffs source
- 'eab0ccfc6a88e229a0f07507b93cfcff' #FreeFileSync.desktop
- '1f452dff6f970d95839411008d86250b' #ffsicon.png
- 'ab266177f69d16ad9f4099ae4edd77a2' #RealTimeSync.desktop
- 'ee5587fa0a8d906ad416564e4daf5a06' #rtsicon.png
- )
+ '55907f1af4eb94a4196d95815b675d78' #zen source
+ '92a29624a517367e348afce669502c73' #ffs source
+ 'eab0ccfc6a88e229a0f07507b93cfcff' #FreeFileSync.desktop
+ '1f452dff6f970d95839411008d86250b' #ffsicon.png
+ 'ab266177f69d16ad9f4099ae4edd77a2' #RealTimeSync.desktop
+ 'ee5587fa0a8d906ad416564e4daf5a06' #rtsicon.png
+ )
prepare() {
- cd ${srcdir}/zen
- sed -i 's/__GNUC__ < 5/__GNUC__ < 7/' scope_guard.h
+# wxgtk < 3.1.0
+ sed -i 's/m_listBoxHistory->GetTopItem()/0/g' FreeFileSync/Source/ui/main_dlg.cpp
+# gcc 6.3.1
+ sed -i 's!static_assert!//static_assert!' zen/scope_guard.h
+# 8.9 warn_static(string) -DZEN_LINUX
+ sed -i 's!-O3 -DN!-D"warn_static(arg)= " -DZEN_LINUX -O3 -DN!' FreeFileSync/Source/Makefile
+ sed -i 's!-O3 -DN!-D"warn_static(arg)= " -DZEN_LINUX -O3 -DN!' FreeFileSync/Source/RealTimeSync/Makefile
+# 8.9 linker error
+ sed -i 's#inline##g' FreeFileSync/Source/ui/version_check_impl.h
+# 8.9 install error
+ cp ${srcdir}/Changelog.txt ${srcdir}/FreeFileSync/Build
}
build() {
-### just in case of compile errors
- VER=`g++ --version`
- VER=`echo $VER | cut -d " " -f 1-4`
- echo "compiled with $VER"
-
-### FFS
- cd ${srcdir}/FreeFileSync/Source
- make launchpad
-
-### RTS
- cd RealTimeSync
- make launchpad
+# just in case of compile errors
+ VER=`g++ -dumpversion`
+ MAC=`g++ -dumpmachine`
+ echo "compiler g++ $VER $MAC"
+# FFS
+ cd ${srcdir}/FreeFileSync/Source
+ make launchpad
+# RTS
+ cd RealTimeSync
+ make launchpad
}
package() {