summaryrefslogtreecommitdiff
path: root/homebrew/qca/.beer
blob: e35c287513818d56aa6dc74da70b3870bf857824 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
    "name": "Qca",
    "description": "Qt Cryptographic Architecture (QCA)",
    "url": "https://github.com/KDE/qca/archive/v2.1.3.tar.gz",
    "mirror": null,
    "homepage": "https://userbase.kde.org/QCA",
    "depends": [
        {
            "depend": "cmake",
            "build-depend": true
        },
        {
            "depend": "pkg-config",
            "build-depend": true
        },
        {
            "depend": "openssl",
            "build-depend": false
        },
        {
            "depend": "qt",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [
        {
            "url": "https://github.com/KDE/qca/commit/7ba0ee591e0f50a7e7b532f9eb7e500e7da784fb.diff?full_index=1",
            "strip": "1"
        },
        {
            "url": "https://github.com/KDE/qca/commit/b435c1b87b14ac2d2de9f83e586bfd6d8c2a755e.diff?full_index=1",
            "strip": "1"
        },
        {
            "url": "https://github.com/KDE/qca/commit/f4b2eb0ced5310f3c43398eb1f03e0c065e08a82.diff?full_index=1",
            "strip": "1"
        },
        {
            "url": "https://github.com/KDE/qca/pull/3.patch?full_index=1",
            "strip": "1"
        }
    ],
    "install": [
        "args = std_cmake_args",
        "args << \"-DQT4_BUILD=OFF\"",
        "args << \"-DBUILD_TESTS=OFF\"",
        "args << \"-DQCA_PLUGINS_INSTALL_DIR=#{lib}/qt5/plugins\"",
        "args << \"-DWITH_botan_PLUGIN=NO\"",
        "args << \"-DWITH_gcrypt_PLUGIN=NO\"",
        "args << \"-DWITH_gnupg_PLUGIN=NO\"",
        "args << \"-DWITH_nss_PLUGIN=NO\"",
        "args << \"-DWITH_pkcs11_PLUGIN=NO\"",
        "inreplace \"src/CMakeLists.txt\",",
        "/^(\\s+)(INSTALL_NAME_DIR )(\"\\$\\{QCA_LIBRARY_INSTALL_DIR\\}\")$/,",
        "\"\\\\1\\\\2\\\"#{opt_lib}\\\"\"",
        "system \"cmake\", \".\", *args",
        "system \"make\", \"install\""
    ],
    "version": "2.1.3",
    "file": "qca.rb"
}