-
Notifications
You must be signed in to change notification settings - Fork 4
/
org.chromium.ChromiumBrowser
118 lines (118 loc) · 3.65 KB
/
org.chromium.ChromiumBrowser
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"app-id": "org.chromium.ChromiumBrowser",
"runtime": "org.gnome.Platform",
"runtime-version": "master",
"sdk": "org.gnome.Sdk",
"command": "chromium-browser",
"rename-desktop-file": "chromium-browser.desktop",
"rename-icon": "chromium-browser",
"finish-args": [
/* X11 + XShm access */
"--share=ipc", "--socket=x11",
/* OpenGL access */
"--device=dri",
/* Needs to talk to the network: */
"--share=network",
/* Play sounds */
"--socket=pulseaudio",
/* Allow using the HTML5 Geolocation API */
"--system-talk-name=org.freedesktop.GeoClue2",
/* Needed for dconf to work */
"--filesystem=xdg-run/dconf", "--filesystem=~/.config/dconf:ro",
"--talk-name=ca.desrt.dconf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf"
],
"build-options" : {
"cflags": "-O2 -g",
"cxxflags": "-O2 -g",
"env": {
"V": "1"
}
},
"cleanup": [
"/include",
"/lib/pkgconfig",
"/share/pkgconfig",
"/share/aclocal",
"/man"
],
"modules": [
{
"name": "ninja",
"no-autogen": true,
"sources": [
{
"type": "git",
"url": "https://github.com/ninja-build/ninja.git"
},
{
"type": "file",
"path": "ninja-Makefile",
"dest-filename": "Makefile"
}
]
},
{
"name": "lspci",
"no-autogen": true,
"sources": [
{
"type": "git",
"url": "git://git.kernel.org/pub/scm/utils/pciutils/pciutils.git"
}
],
"make-args": [ "SHARED=yes" ],
"make-install-args" : ["PREFIX=/app"],
"post-install": [
"mkdir -p /app/lib/pkgconfig",
"mkdir -p /app/include/pci",
"mkdir -p /app/lib",
"install -m 644 lib/pci.h lib/header.h lib/config.h lib/types.h /app/include/pci",
"install -m 644 lib/libpci.pc /app/lib/pkgconfig",
"install -m 644 lib/libpci.so* /app/lib",
"ln -s /app/lib/libpci.so.3.2.1 /app/lib/libpci.so",
"ln -s /app/lib/libpci.so.3.2.1 /app/lib/libpci.so.3"
]
},
{
"name": "alsa-lib",
"sources": [
{
"type": "archive",
"url": "http://alsa.mirror.fr/lib/alsa-lib-1.0.25.tar.bz2",
"sha256": "5a1a805cf04106316d549ec650116ce6711a162e107ba8b3c551866680e286e6"
}
]
},
{
"name": "chromium",
"no-autogen": true,
"sources": [
{
"type": "git",
"url": "[email protected]:endlessm/chromium-browser.git"
},
{
"type": "file",
"path": "chromium-Makefile",
"dest-filename": "Makefile"
},
{
"type": "file",
"path": "chromium-browser.desktop"
},
{
"type": "file",
"path": "chromium-browser.sh"
},
{
"type": "file",
"path": "chromium-browser.svg"
},
{
"type": "patch",
"path": "0001-Fix-build-for-with-Duse_udev-0.patch"
}
]
}
]
}