mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-26 23:03:41 +00:00
Merge pull request #65829 from sikmir/goldendict
goldendict: 2018-06-13 -> 2019-08-01
This commit is contained in:
commit
56c229d12e
@ -1,25 +1,29 @@
|
||||
{ stdenv, fetchFromGitHub, pkgconfig, libXtst, libvorbis, hunspell
|
||||
, libao, ffmpeg, libeb, lzo, xz, libtiff
|
||||
{ mkDerivation, lib, fetchFromGitHub, pkgconfig, libXtst, libvorbis, hunspell
|
||||
, libao, ffmpeg, libeb, lzo, xz, libtiff, opencc
|
||||
, qtbase, qtsvg, qtwebkit, qtx11extras, qttools, qmake }:
|
||||
stdenv.mkDerivation rec {
|
||||
mkDerivation rec {
|
||||
|
||||
name = "goldendict-2018-06-13";
|
||||
name = "goldendict-2019-08-01";
|
||||
src = fetchFromGitHub {
|
||||
owner = "goldendict";
|
||||
repo = "goldendict";
|
||||
rev = "48e850c7ec11d83cba7499f7fdce377ef3849bbb";
|
||||
sha256 = "0i4q4waqjv45hgwillvjik97pg26kwlmz4925djjkx8s6hxgjlq9";
|
||||
rev = "0f951b06a55f3a201891cf645a556e773bda5f52";
|
||||
sha256 = "1d1hn95vhvsmbq9q96l5adn90g0hg25dl01knb4y4v6v9x4yrl2x";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig qmake ];
|
||||
buildInputs = [
|
||||
qtbase qtsvg qtwebkit qtx11extras qttools
|
||||
libXtst libvorbis hunspell libao ffmpeg libeb lzo xz libtiff
|
||||
libXtst libvorbis hunspell libao ffmpeg libeb lzo xz libtiff opencc
|
||||
];
|
||||
|
||||
qmakeFlags = [ "CONFIG+=zim_support" ];
|
||||
qmakeFlags = [
|
||||
"goldendict.pro"
|
||||
"CONFIG+=zim_support"
|
||||
"CONFIG+=chinese_conversion_support"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = http://goldendict.org/;
|
||||
description = "A feature-rich dictionary lookup program";
|
||||
platforms = platforms.linux;
|
||||
|
Loading…
Reference in New Issue
Block a user