aboutsummaryrefslogtreecommitdiff
path: root/multimedia/winff/winff.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/winff/winff.SlackBuild')
-rw-r--r--multimedia/winff/winff.SlackBuild50
1 files changed, 25 insertions, 25 deletions
diff --git a/multimedia/winff/winff.SlackBuild b/multimedia/winff/winff.SlackBuild
index 9de9cf69bac7..093d5411b3fe 100644
--- a/multimedia/winff/winff.SlackBuild
+++ b/multimedia/winff/winff.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for winff
# Copyright 2010 by Giovanne Castro, Campinas, Sao Paulo, Brazil <giovannefc@ig.com.br>
-# Copyright 2022 Vijay Marcel
+# Copyright 2022-2024 Vijay Marcel
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -31,9 +31,9 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=winff
-VERSION=${VERSION:-20220903_8e4491b}
-LONGNAM=${LONGNAM:-8e4491be149031916053378d859ce156cf9b43d3}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-20231003_31b79e3}
+LONGNAM=${LONGNAM:-31b79e3aab5172dfeda874471debc31b09bedb2d}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -87,17 +87,16 @@ echo "Patching Winff, See README and changelog for Details"
cd $PRGNAM
-patch --verbose --unified < $CWD/patches/unit1_lfm.patch
-patch --verbose --unified < $CWD/patches/unit1_pas.patch
-patch --verbose --unified < $CWD/patches/unit2_pas.patch
-patch --verbose --unified < $CWD/patches/unit3_lfm.patch
-patch --verbose --unified < $CWD/patches/unit3_pas.patch
-patch --verbose --unified < $CWD/patches/unit4_pas.patch
-patch --verbose --unified < $CWD/patches/unit5_pas.patch
-patch --verbose --unified < $CWD/patches/unit6_pas.patch
-patch --verbose --unified < $CWD/patches/winff_lpi.patch
-patch --verbose --unified < $CWD/patches/winff_lpr.patch
-patch --verbose --unified < $CWD/patches/winff_1.patch
+patch --verbose --unified < $CWD/patches/unit1-pas.patch
+patch --verbose --unified < $CWD/patches/unit2-pas.patch
+patch --verbose --unified < $CWD/patches/unit3-lfm.patch
+patch --verbose --unified < $CWD/patches/unit3-pas.patch
+patch --verbose --unified < $CWD/patches/unit4-pas.patch
+patch --verbose --unified < $CWD/patches/unit5-pas.patch
+patch --verbose --unified < $CWD/patches/unit6-pas.patch
+patch --verbose --unified < $CWD/patches/winff-lpi.patch
+patch --verbose --unified < $CWD/patches/winff-lpr.patch
+patch --verbose --unified < $CWD/patches/winff-1.patch
echo "Patching the languages file"
@@ -105,9 +104,9 @@ find languages -type f -not \( -name 'winff.po' -or -name 'winff.pot' -or -name
cd languages
-patch --verbose --unified < $CWD/patches/winff_po.patch
-patch --verbose --unified < $CWD/patches/winff_pot.patch
-patch --verbose --unified < $CWD/patches/winff_en_GB_po.patch
+patch --verbose --unified < $CWD/patches/winff-po.patch
+patch --verbose --unified < $CWD/patches/winff-pot.patch
+patch --verbose --unified < $CWD/patches/winff-en.patch
cd ../..
@@ -117,12 +116,12 @@ HOME=$(pwd) lazbuild --lazarusdir=/usr/share/lazarus \
--widgetset=qt5 --cpu=$CPU \
-B $TMP/$PRGNAM-$LONGNAM/$PRGNAM/winff.lpr
-install -s -m 0755 -D $TMP/$PRGNAM-$LONGNAM/$PRGNAM/$PRGNAM $PKG/usr/bin/$PRGNAM
+install -s -m 0755 -D $TMP/$PRGNAM-$LONGNAM/$PRGNAM/$PRGNAM $PKG/usr/bin/$PRGNAM
-mkdir -pv $PKG/usr/share/winff
-cp -a $TMP/$PRGNAM-$LONGNAM/$PRGNAM/languages $PKG/usr/share/winff/
-cp -a $TMP/$PRGNAM-$LONGNAM/$PRGNAM/presets.xml $PKG/usr/share/winff/
-install -m 0644 $TMP/$PRGNAM-$LONGNAM/$PRGNAM/scripts/check_presets.sh $PKG/usr/share/winff/
+mkdir -pv $PKG/usr/share/$PRGNAM
+cp -a $TMP/$PRGNAM-$LONGNAM/$PRGNAM/languages $PKG/usr/share/$PRGNAM/
+cp -a $TMP/$PRGNAM-$LONGNAM/$PRGNAM/presets.xml $PKG/usr/share/$PRGNAM/
+install -m 0644 $TMP/$PRGNAM-$LONGNAM/$PRGNAM/scripts/check_presets.sh $PKG/usr/share/$PRGNAM/
mkdir -pv $PKG/usr/man/man1
gzip -c9 $TMP/$PRGNAM-$LONGNAM/$PRGNAM/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
@@ -134,9 +133,10 @@ install -m 0644 -D $TMP/$PRGNAM-$LONGNAM/$PRGNAM/winff-icons/48x48/$PRGNAM.png $
mkdir -pv $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $TMP/$PRGNAM-$LONGNAM/$PRGNAM/COPYING $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $TMP/$PRGNAM-$LONGNAM/$PRGNAM/AUTHORS $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $TMP/$PRGNAM-$LONGNAM/$PRGNAM/README-Presets.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $TMP/$PRGNAM-$LONGNAM/$PRGNAM/{README-Presets.txt,changelog.txt} $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $TMP/$PRGNAM-$LONGNAM/$PRGNAM/docs/*.{pdf,txt} $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cp -a $TMP/$PRGNAM-$LONGNAM/README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -pv $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc