[arch-commits] Commit in goldendict/repos (4 files)

Antonio Rojas arojas at gemini.archlinux.org
Thu Jan 27 18:50:52 UTC 2022


    Date: Thursday, January 27, 2022 @ 18:50:52
  Author: arojas
Revision: 1117298

archrelease: copy trunk to community-staging-x86_64

Added:
  goldendict/repos/community-staging-x86_64/
  goldendict/repos/community-staging-x86_64/PKGBUILD
    (from rev 1117297, goldendict/trunk/PKGBUILD)
  goldendict/repos/community-staging-x86_64/ffmpeg5.patch
    (from rev 1117297, goldendict/trunk/ffmpeg5.patch)
  goldendict/repos/community-staging-x86_64/goldendict.changelog
    (from rev 1117297, goldendict/trunk/goldendict.changelog)

----------------------+
 PKGBUILD             |   53 +++++++++++++++++++++++++++++++++++++++++++++++++
 ffmpeg5.patch        |   21 +++++++++++++++++++
 goldendict.changelog |   29 ++++++++++++++++++++++++++
 3 files changed, 103 insertions(+)

Copied: goldendict/repos/community-staging-x86_64/PKGBUILD (from rev 1117297, goldendict/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-01-27 18:50:52 UTC (rev 1117298)
@@ -0,0 +1,53 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: m0rph <m0rph.mailbox at gmail.com>
+
+pkgname=goldendict
+pkgver=1.5.0RC2
+pkgrel=10
+pkgdesc="Feature-rich dictionary lookup program"
+arch=('x86_64')
+url="http://goldendict.org"
+license=('GPL3')
+depends=('hunspell' 'libxtst' 'libzip' 'libao' 'qt5-webkit' 'qt5-svg'
+         'qt5-x11extras' 'qt5-tools' 'phonon-qt5' 'ffmpeg')
+provides=('stardict')
+changelog=$pkgname.changelog
+source=($pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/1.5.0-RC2.tar.gz
+        goldendict-qt-5.11-1.patch::"https://github.com/goldendict/goldendict/commit/3d4a468b.patch"
+        goldendict-qt-5.11-2.patch::"https://github.com/goldendict/goldendict/commit/a6596780.patch"
+        goldendict-ffmpeg4.patch::"https://github.com/goldendict/goldendict/commit/03bbe01b.patch"
+        ffmpeg5.patch)
+sha256sums=('bccee0a3d3902f8fa31e439e220a405065fff774e5f8c581be2b0743d3f83fde'
+            '4606d4ce6022fc0e7b6d3dec823e1eefcd30f0760de8241a89e36dd65d47d73d'
+            '1ef4bf9a92ce407d50476260988253e98f0e17fa2b9acc863f8a5b536924deb2'
+            'fa4d004c021c1987afb107ce3480c518b8e350630b278343a1e32dc50564b633'
+            '0d670656872a1558530e013f30cf88c63eb879819f5ed3b09d48e8d20b4095a7')
+
+prepare() {
+  cd $pkgname-1.5.0-RC2
+  patch -p1 -i ../goldendict-qt-5.11-1.patch # Fix build with Qt 5.11
+  patch -p1 -i ../goldendict-qt-5.11-2.patch # Follow-up to the above
+  patch -p1 -i ../goldendict-ffmpeg4.patch # Fix build with ffmpeg 4
+  patch -p1 -i ../ffmpeg5.patch # Fix build with ffmpeg 5
+}
+
+build(){
+  cd "${srcdir}"/$pkgname-1.5.0-RC2
+
+  export CXXFLAGS+=" -std=c++14" # Fix build with GCC 11, fixed in master
+  qmake-qt5 "CONFIG+=no_epwing_support" PREFIX="/usr" 
+  make
+}
+
+package() {
+  cd "${srcdir}"/$pkgname-1.5.0-RC2
+
+  make INSTALL_ROOT="${pkgdir}" install
+
+# languages
+  install -d "${pkgdir}"/usr/share/$pkgname/locale
+  install -m644 locale/*.qm -t "${pkgdir}"/usr/share/$pkgname/locale
+
+# removing unneeded
+  rm -rf "${pkgdir}"/usr/share/app-install
+}

Copied: goldendict/repos/community-staging-x86_64/ffmpeg5.patch (from rev 1117297, goldendict/trunk/ffmpeg5.patch)
===================================================================
--- community-staging-x86_64/ffmpeg5.patch	                        (rev 0)
+++ community-staging-x86_64/ffmpeg5.patch	2022-01-27 18:50:52 UTC (rev 1117298)
@@ -0,0 +1,21 @@
+diff --git a/ffmpegaudio.cc b/ffmpegaudio.cc
+index 77585119..e3b90b5d 100644
+--- a/ffmpegaudio.cc
++++ b/ffmpegaudio.cc
+@@ -51,7 +51,6 @@ AudioPlayer & AudioPlayer::instance()
+ 
+ AudioPlayer::AudioPlayer()
+ {
+-  av_register_all();
+   ao_initialize();
+ }
+ 
+@@ -91,7 +90,7 @@ struct DecoderContext
+   QByteArray audioData_;
+   QDataStream audioDataStream_;
+   AVFormatContext * formatContext_;
+-  AVCodec * codec_;
++  const AVCodec * codec_;
+   AVCodecContext * codecContext_;
+   AVIOContext * avioContext_;
+   AVStream * audioStream_;

Copied: goldendict/repos/community-staging-x86_64/goldendict.changelog (from rev 1117297, goldendict/trunk/goldendict.changelog)
===================================================================
--- community-staging-x86_64/goldendict.changelog	                        (rev 0)
+++ community-staging-x86_64/goldendict.changelog	2022-01-27 18:50:52 UTC (rev 1117298)
@@ -0,0 +1,29 @@
+2016-07-03 Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* goldendict 1.5.0RC2-4 ffmpeg 3.1 rebuild
+
+2016-06-11 Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* goldendict 1.5.0RC2-3 hunspell 1.4.1 rebuild
+
+2016-05-15 Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* goldendict 1.5.0RC2-2 FS#49316 fix
+
+2016-05-11 Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* goldendict 1.5.0RC2-1
+
+2016-02-17 Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* goldendict 1.5.0RC-3 ffmpeg 3.0 rebuild
+
+2015-02-02 Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* goldendict 1.5.0RC-1 FS#43667 fix, localizations added again
+
+2011-12-17 Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* goldendict 1.0.1-5 libQtWebKit.so.4 now in new qtwebkit package
+
+2010-12-27 Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* Update to major release 1.0.1
+
+2010-02-16 Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* FS#18350 fixed in 0.9.0-5
+
+2009-06-21 Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* Package moved to [community] in v0.9.0



More information about the arch-commits mailing list