summaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
author marav2022-08-19 01:26:53 +0200
committer Willy Sudiarto Raharjo2022-08-20 05:06:42 +0200
commit59b8108d1cc466a59b279f7f6e8ae6bd163a271d (patch)
tree9a2d96661b7dd3ca49c34f56e72ab82cce16b5b6 /multimedia
parentae38595a7d725b473bdad61e4b027cc393f308e4 (diff)
downloadslackbuilds-59b8108d1cc466a59b279f7f6e8ae6bd163a271d.tar.gz
multimedia/haruna: Updated for version 0.9.0.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/haruna/README10
-rw-r--r--multimedia/haruna/haruna.SlackBuild12
-rw-r--r--multimedia/haruna/haruna.info6
-rw-r--r--multimedia/haruna/slack-desc2
4 files changed, 17 insertions, 13 deletions
diff --git a/multimedia/haruna/README b/multimedia/haruna/README
index db88999248..3e99cd5e57 100644
--- a/multimedia/haruna/README
+++ b/multimedia/haruna/README
@@ -5,9 +5,9 @@ Haruna is an open source video player built with Qt/QML and libmpv
Features
these are just some features that set Haruna apart from others players
-- play online videos, through youtube-dl
-- toggle playlist with mouse-over, playlist overlays the video
-- auto skip chapter containing certain words
-- configurable shortcuts and mouse buttons
-- quick jump to next chapter by middle click on progress bar
+- play online videos, through youtube-dl
+- toggle playlist with mouse-over, playlist overlays the video
+- auto skip chapter containing certain words
+- configurable shortcuts and mouse buttons
+- quick jump to next chapter by middle click on progress bar
diff --git a/multimedia/haruna/haruna.SlackBuild b/multimedia/haruna/haruna.SlackBuild
index 09a853e7d7..5a4d4612da 100644
--- a/multimedia/haruna/haruna.SlackBuild
+++ b/multimedia/haruna/haruna.SlackBuild
@@ -23,7 +23,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=haruna
-VERSION=${VERSION:-0.8.0}
+VERSION=${VERSION:-0.9.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -36,6 +36,9 @@ if [ -z "$ARCH" ]; then
esac
fi
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -59,7 +62,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG
@@ -79,8 +82,8 @@ cd build
cmake \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release ..
- make
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
make install DESTDIR=$PKG
cd ..
@@ -92,6 +95,7 @@ cp -a \
LICENSES/* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -rf $PKG/usr/share/doc
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/multimedia/haruna/haruna.info b/multimedia/haruna/haruna.info
index aa62b7024a..72ae31782a 100644
--- a/multimedia/haruna/haruna.info
+++ b/multimedia/haruna/haruna.info
@@ -1,8 +1,8 @@
PRGNAM="haruna"
-VERSION="0.8.0"
+VERSION="0.9.0"
HOMEPAGE="https://invent.kde.org/multimedia/haruna/"
-DOWNLOAD="https://download.kde.org/stable/haruna/haruna-0.8.0.tar.xz"
-MD5SUM="d4d7908a57b52b53764018eaffb0f5ef"
+DOWNLOAD="https://download.kde.org/stable/haruna/haruna-0.9.0.tar.xz"
+MD5SUM="d9bcf9ab6eda37725018bd576d79cf19"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="mpv youtube-dl"
diff --git a/multimedia/haruna/slack-desc b/multimedia/haruna/slack-desc
index de17d1d9e3..729ef1b76a 100644
--- a/multimedia/haruna/slack-desc
+++ b/multimedia/haruna/slack-desc
@@ -8,7 +8,7 @@
|-----handy-ruler------------------------------------------------------|
haruna: haruna (Video Player)
haruna:
-haruna: Haruna is an open source video player built with Qt/QML
+haruna: haruna is an open source video player built with Qt/QML
haruna: and libmpv
haruna:
haruna: