Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / qstardict
Commits: f0d42bee by Antonio Rojas at 2023-12-25T00:56:28+01:00 upgpkg: 1.4.1-1: Update to 1.4.1 - - - - - 3 changed files: - + .SRCINFO - PKGBUILD - + fix-build.patch Changes: ===================================== .SRCINFO ===================================== @@ -0,0 +1,18 @@ +pkgbase = qstardict + pkgdesc = Qt clone of StarDict with full support of StarDict dictionaries + pkgver = 1.4.1 + pkgrel = 1 + url = http://qstardict.ylsoftware.com/index.php + changelog = qstardict.changelog + arch = x86_64 + license = GPL2 + makedepends = qt5-tools + depends = hicolor-icon-theme + depends = qt5-base + provides = stardict + source = qstardict-1.4.1.tar.gz::https://notabug.org/a-rodin/qstardict/archive/1.4.1.tar.gz + source = fix-build.patch + sha256sums = 21d6a3e52a4e3d20058c23f6bedd5ac223e573a0e20e2bd79200b60a3ea4df02 + sha256sums = b76a810b7464e784a07f470e76b56dfc34c946158aff273ecfc6866f14acc108 + +pkgname = qstardict ===================================== PKGBUILD ===================================== @@ -2,8 +2,8 @@ # Contributor: Alois Nespor <[email protected]> pkgname=qstardict -pkgver=1.3 -pkgrel=3 +pkgver=1.4.1 +pkgrel=1 pkgdesc="Qt clone of StarDict with full support of StarDict dictionaries" provides=('stardict') depends=('hicolor-icon-theme' 'qt5-base') @@ -12,18 +12,24 @@ arch=('x86_64') url="http://qstardict.ylsoftware.com/index.php" license=('GPL2') changelog=$pkgname.changelog -source=(https://github.com/a-rodin/qstardict/archive/$pkgname-$pkgver.tar.gz) -sha256sums=('9b083a3177407d66a17403742590471a0aa89a3d31df886926b79fa21e4d41a4') +source=($pkgname-$pkgver.tar.gz::https://notabug.org/a-rodin/qstardict/archive/$pkgver.tar.gz + fix-build.patch) +sha256sums=('21d6a3e52a4e3d20058c23f6bedd5ac223e573a0e20e2bd79200b60a3ea4df02' + 'b76a810b7464e784a07f470e76b56dfc34c946158aff273ecfc6866f14acc108') + +prepare() { + patch -d $pkgname -p1 < fix-build.patch +} build() { - cd "${srcdir}"/$pkgname-$pkgname-$pkgver + cd $pkgname qmake-qt5 ENABLED_PLUGINS="stardict swac web" make } package() { - cd "${srcdir}"/$pkgname-$pkgname-$pkgver + cd $pkgname make INSTALL_ROOT="${pkgdir}" install } ===================================== fix-build.patch ===================================== @@ -0,0 +1,13 @@ +diff --git a/plugins/swac/swac.h b/plugins/swac/swac.h +index bc706a3..79624d0 100644 +--- a/plugins/swac/swac.h ++++ b/plugins/swac/swac.h +@@ -39,7 +39,7 @@ public: + + QIcon pluginIcon() const; + Features features() const +- { return Features(SearchSimilar); } ++ { return Features(Feature::SearchSimilar); } + + QStringList availableDicts() const; + QStringList loadedDicts() const View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/qstardict/-/commit/f0d42bee979438e03563827258de7dcd56204d8f -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/qstardict/-/commit/f0d42bee979438e03563827258de7dcd56204d8f You're receiving this email because of your account on gitlab.archlinux.org.
