diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2021-03-04 18:51:56 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:25:26 -0500 |
commit | c597630c463567cf87a35ad41a2504c1470420ca (patch) | |
tree | cdb4668b3ed2f2dca059bec7f2399d1a270646f1 /office/goldendict/goldendict.SlackBuild | |
parent | 7a5dba5f92a53ca021469f4c872631f5c9539202 (diff) |
office/goldendict: Patch for the newer qt5 and ffmpeg.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'office/goldendict/goldendict.SlackBuild')
-rw-r--r-- | office/goldendict/goldendict.SlackBuild | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/office/goldendict/goldendict.SlackBuild b/office/goldendict/goldendict.SlackBuild index 2d1e6b478faea..71a698c559286 100644 --- a/office/goldendict/goldendict.SlackBuild +++ b/office/goldendict/goldendict.SlackBuild @@ -53,9 +53,16 @@ cd $TMP rm -rf $PRGNAM-$SRCVER tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz cd $PRGNAM-$SRCVER -chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -$(type -p qmake-qt5 || echo qmake) PREFIX=/usr \ +# archlinux, thanks for all the patches! +for i in $CWD/patches/* ; do patch -p1 < $i ; done + +qmake-qt5 PREFIX=/usr \ CONFIG+=no_epwing_support \ CONFIG+=zim_support \ DISABLE_INTERNAL_PLAYER=$DISABLE_INTERNAL_PLAYER |