1 # Maintainer: Laurent Carlier <lordheavym@gmail.com>
2 # Contributor : sebikul <sebikul@gmail.com>
5 pkgname=('gambas3-gb-args'
6 'gambas3-gb-cairo' 'gambas3-gb-chart' 'gambas3-gb-clipper' 'gambas3-gb-complex' 'gambas3-gb-compress' 'gambas3-gb-crypt'
7 'gambas3-gb-dbus' 'gambas3-gb-data'
8 'gambas3-gb-db-form' 'gambas3-gb-db-mysql' 'gambas3-gb-db-odbc' 'gambas3-gb-db-postgresql' 'gambas3-gb-db-sqlite3' 'gambas3-gb-db'
9 'gambas3-gb-desktop-gnome' 'gambas3-gb-desktop-x11' 'gambas3-gb-desktop'
10 'gambas3-gb-eval-highlight'
11 'gambas3-gb-form-dialog' 'gambas3-gb-form-mdi' 'gambas3-gb-form-terminal' 'gambas3-gb-form-stock' 'gambas3-gb-form-editor' 'gambas3-gb-form-htmlview' 'gambas3-gb-form'
12 'gambas3-gb-gmp' 'gambas3-gb-gsl' 'gambas3-gb-gtk3-opengl' 'gambas3-gb-gtk3'
13 'gambas3-gb-hash' 'gambas3-gb-httpd'
14 'gambas3-gb-image-effect' 'gambas3-gb-image-imlib' 'gambas3-gb-image-io' 'gambas3-gb-image' 'gambas3-gb-inotify'
15 'gambas3-gb-libxml' 'gambas3-gb-logging'
16 'gambas3-gb-map' 'gambas3-gb-markdown' 'gambas3-gb-media-form' 'gambas3-gb-media' 'gambas3-gb-memcached' 'gambas3-gb-mime' 'gambas3-gb-mysql'
17 'gambas3-gb-ncurses' 'gambas3-gb-net-curl' 'gambas3-gb-net-pop3' 'gambas3-gb-net-smtp' 'gambas3-gb-net'
18 'gambas3-gb-openal' 'gambas3-gb-opengl-glu' 'gambas3-gb-opengl-glsl' 'gambas3-gb-opengl-sge' 'gambas3-gb-opengl' 'gambas3-gb-option'
19 'gambas3-gb-pcre' 'gambas3-gb-poppler'
20 'gambas3-gb-qt5-opengl' 'gambas3-gb-qt5'
23 'gambas3-gb-scanner' 'gambas3-gb-sdl2-audio' 'gambas3-gb-sdl2' 'gambas3-gb-sdl-sound' 'gambas3-gb-sdl' 'gambas3-gb-settings' 'gambas3-gb-signal'
25 'gambas3-gb-util-web' 'gambas3-gb-util'
26 'gambas3-gb-v4l' 'gambas3-gb-vb'
27 'gambas3-gb-xml-html' 'gambas3-gb-xml-rpc' 'gambas3-gb-xml-xslt' 'gambas3-gb-xml'
28 'gambas3-gb-web-feed' 'gambas3-gb-web-form' 'gambas3-gb-web-gui' 'gambas3-gb-web'
29 'gambas3-runtime' 'gambas3-dev-tools' 'gambas3-ide' 'gambas3-script')
32 pkgdesc="A free development environment based on a Basic interpreter."
34 url="http://gambas.sourceforge.net/"
37 makedepends=('intltool' 'postgresql' 'libffi' 'bzip2' 'glib2' 'v4l-utils'
38 'zlib' 'mesa' 'glew' 'xdg-utils' 'imlib2' 'gdk-pixbuf2' 'gtk3' 'webkit2gtk'
39 'postgresql-libs' 'mariadb-libs' 'unixodbc' 'sqlite' 'librsvg'
40 'curl' 'poppler-glib' 'sdl_mixer' 'sdl_ttf' 'sdl2' 'sdl2_mixer' 'sdl2_image' 'sdl2_ttf' 'libxtst'
41 'pcre2' 'qt5-webengine' 'qt5-x11extras' 'qt5-svg' 'libxcursor' 'libsm' 'dbus' 'libxml2'
42 'libxslt' 'libgnome-keyring' 'gsl' 'gst-plugins-base-libs' 'alure' 'ncurses'
44 options=('!emptydirs' 'libtool')
45 source=("https://gitlab.com/gambas/gambas/-/archive/${pkgver}/gambas-${pkgver}.tar.bz2")
46 sha512sums=('5002d7be1996ea85dadcd0db91802825d892ee92fed9dba72f60fdb37855c665e3587249584241c3305fbaf0769094193b947c610bca1780168384d18ae3678a')
49 cd ${srcdir}/gambas-${pkgver}
55 cd ${srcdir}/gambas-${pkgver}
57 GAMBAS_CONFIG_FAILURE=1 ./configure --prefix=/usr \
64 make bindir=${pkgdir}/usr/bin
66 mkdir -p ${srcdir}/fakeinstall
67 make -j1 XDG_UTILS='' DESTDIR=${srcdir}/fakeinstall install
73 f="${src#fakeinstall/}"
74 dir="${pkgdir}/${f%/*}"
75 install -m755 -d "${dir}"
76 mv -v "${src}" "${dir}/"
80 package_gambas3-gb-args() {
81 depends=('gambas3-runtime')
82 pkgdesc="Command-line options analyzer component"
84 _install fakeinstall/usr/lib/gambas3/gb.args.*
85 _install fakeinstall/usr/share/gambas3/info/gb.args.*
88 package_gambas3-gb-cairo() {
89 depends=('gambas3-runtime' 'cairo')
90 pkgdesc="Cairo component"
92 _install fakeinstall/usr/lib/gambas3/gb.cairo.* ${pkgdir}/usr/lib/gambas3/
93 _install fakeinstall/usr/share/gambas3/info/gb.cairo.* ${pkgdir}/usr/share/gambas3/info/
96 package_gambas3-gb-chart() {
97 depends=('gambas3-gb-form')
98 pkgdesc="Chart component"
100 _install fakeinstall/usr/lib/gambas3/gb.chart.*
101 _install fakeinstall/usr/share/gambas3/info/gb.chart.*
104 package_gambas3-gb-clipper() {
105 depends=('gambas3-runtime')
106 pkgdesc="Polygon clipping component"
108 _install fakeinstall/usr/lib/gambas3/gb.clipper.*
109 _install fakeinstall/usr/share/gambas3/info/gb.clipper.*
112 package_gambas3-gb-complex() {
113 depends=('gambas3-runtime')
114 pkgdesc="Complex numbers component"
116 _install fakeinstall/usr/lib/gambas3/gb.complex.*
117 _install fakeinstall/usr/share/gambas3/info/gb.complex.*
120 package_gambas3-gb-compress() {
121 depends=('gambas3-runtime' 'bzip2' 'zlib' 'zstd')
122 provides=('gambas3-gb-compress-bzlib2' 'gambas3-gb-compress-zlib' 'gambas3-gb-compress-zstd')
123 pkgdesc="Compression support component"
125 _install fakeinstall/usr/lib/gambas3/gb.compress.*
126 _install fakeinstall/usr/share/gambas3/info/gb.compress.*
129 package_gambas3-gb-crypt() {
130 depends=('gambas3-runtime' 'libxcrypt')
131 pkgdesc="MD5/DES crypting component"
133 _install fakeinstall/usr/lib/gambas3/gb.crypt.*
134 _install fakeinstall/usr/share/gambas3/info/gb.crypt.*
137 package_gambas3-gb-data() {
138 depends=('gambas3-runtime')
139 pkgdesc="Data containers component"
141 _install fakeinstall/usr/lib/gambas3/gb.data.*
142 _install fakeinstall/usr/share/gambas3/info/gb.data.*
145 package_gambas3-gb-db-form() {
146 depends=('gambas3-gb-db' 'gambas3-gb-form')
147 pkgdesc="Database form component"
149 _install fakeinstall/usr/lib/gambas3/gb.db.form.*
150 _install fakeinstall/usr/share/gambas3/info/gb.db.form.*
151 _install fakeinstall/usr/share/gambas3/control/gb.db.form/*
154 package_gambas3-gb-db-mysql() {
155 depends=('gambas3-gb-db' 'mariadb-libs')
156 pkgdesc="MySQL database access component"
158 _install fakeinstall/usr/lib/gambas3/gb.db.mysql.*
159 _install fakeinstall/usr/share/gambas3/info/gb.db.mysql.*
162 package_gambas3-gb-db-odbc() {
163 depends=('gambas3-gb-db' 'unixodbc')
164 pkgdesc="ODBC database access component"
166 _install fakeinstall/usr/lib/gambas3/gb.db.odbc.*
167 _install fakeinstall/usr/share/gambas3/info/gb.db.odbc.*
170 package_gambas3-gb-db-postgresql() {
171 depends=('gambas3-gb-db' 'postgresql-libs')
172 pkgdesc="PostgreSQL database access component"
174 _install fakeinstall/usr/lib/gambas3/gb.db.postgresql.*
175 _install fakeinstall/usr/share/gambas3/info/gb.db.postgresql.*
178 package_gambas3-gb-db-sqlite3() {
179 depends=('gambas3-gb-db' 'sqlite' 'gcc-libs')
180 pkgdesc="Sqlite3 database access component"
182 _install fakeinstall/usr/lib/gambas3/gb.db.sqlite3.*
183 _install fakeinstall/usr/share/gambas3/info/gb.db.sqlite3.*
186 package_gambas3-gb-db() {
187 depends=('gambas3-runtime')
188 pkgdesc="Database access component"
190 _install fakeinstall/usr/lib/gambas3/gb.db.*
191 _install fakeinstall/usr/share/gambas3/info/gb.db.*
194 package_gambas3-gb-dbus() {
195 depends=('gambas3-gb-image' 'dbus')
196 provides=('gambas3-gb-dbus-trayicon')
197 pkgdesc="DBUS component"
199 _install fakeinstall/usr/lib/gambas3/gb.dbus.*
200 _install fakeinstall/usr/share/gambas3/info/gb.dbus.*
203 package_gambas3-gb-desktop-gnome() {
204 depends=('libgnome-keyring')
205 pkgdesc="Desktop component for Gnome"
207 _install fakeinstall/usr/lib/gambas3/gb.desktop.gnome.*
208 _install fakeinstall/usr/share/gambas3/info/gb.desktop.gnome.*
211 package_gambas3-gb-desktop-x11() {
212 depends=('libsm' 'libxtst')
213 pkgdesc="X-Window library support component"
215 _install fakeinstall/usr/lib/gambas3/gb.desktop.x11.*
216 _install fakeinstall/usr/share/gambas3/info/gb.desktop.x11.*
219 package_gambas3-gb-desktop() {
220 depends=('perl' 'gambas3-gb-image')
221 pkgdesc="Desktop component"
223 _install fakeinstall/usr/lib/gambas3/gb.desktop.*
224 _install fakeinstall/usr/share/gambas3/info/gb.desktop.*
225 _install fakeinstall/usr/share/gambas3/control/gb.desktop/*
228 package_gambas3-gb-eval-highlight() {
229 depends=('gambas3-runtime')
230 pkgdesc="Expression evaluator highlight component"
232 _install fakeinstall/usr/lib/gambas3/gb.eval.highlight.*
233 _install fakeinstall/usr/share/gambas3/info/gb.eval.highlight.*
236 package_gambas3-gb-form-dialog() {
237 depends=('gambas3-gb-form')
238 pkgdesc="Form dialog component"
240 _install fakeinstall/usr/lib/gambas3/gb.form.dialog.*
241 _install fakeinstall/usr/share/gambas3/info/gb.form.dialog.*
244 package_gambas3-gb-form-mdi() {
245 depends=('gambas3-gb-form')
246 pkgdesc="Form MDI component"
248 _install fakeinstall/usr/lib/gambas3/gb.form.mdi.*
249 _install fakeinstall/usr/share/gambas3/info/gb.form.mdi.*
250 _install fakeinstall/usr/share/gambas3/control/gb.form.mdi/*
253 package_gambas3-gb-form-stock() {
254 depends=('gambas3-runtime')
255 pkgdesc="Default stock icons component"
257 _install fakeinstall/usr/lib/gambas3/gb.form.stock.*
258 _install fakeinstall/usr/share/gambas3/info/gb.form.stock.*
261 package_gambas3-gb-form-editor() {
262 depends=('gambas3-gb-eval-highlight')
263 pkgdesc="Editor component"
265 _install fakeinstall/usr/lib/gambas3/gb.form.editor.*
266 _install fakeinstall/usr/share/gambas3/info/gb.form.editor.*
267 _install fakeinstall/usr/share/gambas3/control/gb.form.editor/*
270 package_gambas3-gb-form-terminal() {
271 depends=('perl' 'gambas3-runtime' 'gambas3-gui')
272 pkgdesc="Terminal component"
274 _install fakeinstall/usr/lib/gambas3/gb.form.terminal.*
275 _install fakeinstall/usr/share/gambas3/info/gb.form.terminal.*
276 _install fakeinstall/usr/share/gambas3/control/gb.form.terminal/*
280 package_gambas3-gb-form-htmlview() {
281 depends=('gambas3-gb-form')
282 pkgdesc="Htmlview component"
284 _install fakeinstall/usr/lib/gambas3/gb.form.htmlview*
285 _install fakeinstall/usr/share/gambas3/info/gb.form.htmlview*
286 _install fakeinstall/usr/share/gambas3/control/gb.form.htmlview/*
289 package_gambas3-gb-form() {
290 depends=('gambas3-runtime' 'gambas3-gui')
291 pkgdesc="Form component"
293 _install fakeinstall/usr/lib/gambas3/gb.form.*
294 _install fakeinstall/usr/share/gambas3/info/gb.form.*
295 _install fakeinstall/usr/share/gambas3/control/gb.form/*
298 package_gambas3-gb-gmp() {
299 depends=('gambas3-runtime' 'gmp')
300 pkgdesc="Arbitrary precision arithmetic component"
302 _install fakeinstall/usr/lib/gambas3/gb.gmp.*
303 _install fakeinstall/usr/share/gambas3/info/gb.gmp.*
306 package_gambas3-gb-gsl() {
307 depends=('gambas3-runtime' 'gsl')
308 pkgdesc="The GNU Scientific Library component"
310 _install fakeinstall/usr/lib/gambas3/gb.gsl.*
311 _install fakeinstall/usr/share/gambas3/info/gb.gsl.*
314 package_gambas3-gb-gtk3-opengl() {
315 depends=('gambas3-gb-gtk3' 'gambas3-gb-opengl')
316 pkgdesc="GTK3 toolkit OpenGL component"
318 _install fakeinstall/usr/lib/gambas3/gb.gtk3.opengl.*
319 _install fakeinstall/usr/share/gambas3/info/gb.gtk3.opengl.*
322 package_gambas3-gb-gtk3() {
323 depends=('gambas3-gb-image' 'gtk3' 'webkit2gtk')
324 pkgdesc="GTK3 toolkit component"
325 provides=('gambas3-gui')
327 _install fakeinstall/usr/lib/gambas3/gb.gtk3.*
328 _install fakeinstall/usr/share/gambas3/info/gb.gtk3.*
331 package_gambas3-gb-hash() {
332 depends=('gambas3-runtime')
333 pkgdesc="Hashing functions"
335 _install fakeinstall/usr/lib/gambas3/gb.hash.*
336 _install fakeinstall/usr/share/gambas3/info/gb.hash.*
339 package_gambas3-gb-httpd() {
340 depends=('gambas3-runtime' 'libxcrypt')
341 pkgdesc="Embedded HTTP server for the interpreter"
343 _install fakeinstall/usr/lib/gambas3/gb.httpd.*
344 _install fakeinstall/usr/share/gambas3/info/gb.httpd.*
347 package_gambas3-gb-image-effect() {
348 depends=('gambas3-gb-image' 'gcc-libs')
349 pkgdesc="Image effect component"
351 _install fakeinstall/usr/lib/gambas3/gb.image.effect.*
352 _install fakeinstall/usr/share/gambas3/info/gb.image.effect.*
355 package_gambas3-gb-image-imlib() {
356 depends=('gambas3-gb-image' 'imlib2')
357 pkgdesc="Imlib component"
359 _install fakeinstall/usr/lib/gambas3/gb.image.imlib.*
360 _install fakeinstall/usr/share/gambas3/info/gb.image.imlib.*
363 package_gambas3-gb-image-io() {
364 depends=('gambas3-gb-image' 'gdk-pixbuf2')
365 pkgdesc="Input/Output image component"
367 _install fakeinstall/usr/lib/gambas3/gb.image.io.*
368 _install fakeinstall/usr/share/gambas3/info/gb.image.io.*
371 package_gambas3-gb-image() {
372 depends=('gambas3-runtime')
373 pkgdesc="Image component"
375 _install fakeinstall/usr/lib/gambas3/gb.image.*
376 _install fakeinstall/usr/share/gambas3/info/gb.image.*
379 package_gambas3-gb-inotify() {
380 depends=('gambas3-runtime')
381 pkgdesc="Filesystem events monitoring component"
383 _install fakeinstall/usr/lib/gambas3/gb.inotify.*
384 _install fakeinstall/usr/share/gambas3/info/gb.inotify.*
387 package_gambas3-gb-libxml() {
388 depends=('gambas3-runtime' 'libxml2')
389 pkgdesc="libxml2 component"
391 _install fakeinstall/usr/lib/gambas3/gb.libxml.*
392 _install fakeinstall/usr/share/gambas3/info/gb.libxml.*
395 package_gambas3-gb-logging() {
396 depends=('gambas3-runtime')
397 pkgdesc="Flexible log message handling component"
399 _install fakeinstall/usr/lib/gambas3/gb.logging.*
400 _install fakeinstall/usr/share/gambas3/info/gb.logging.*
403 package_gambas3-gb-map() {
404 depends=('gambas3-gb-image-io' 'gambas3-gb-form')
405 pkgdesc="Display maps component"
407 _install fakeinstall/usr/lib/gambas3/gb.map.*
408 _install fakeinstall/usr/share/gambas3/info/gb.map.*
409 _install fakeinstall/usr/share/gambas3/control/gb.map/*
412 package_gambas3-gb-markdown() {
413 depends=('gambas3-gb-image-io' 'gambas3-gb-form')
414 pkgdesc="Convert the Gambas markdown syntax to HTML"
416 _install fakeinstall/usr/lib/gambas3/gb.markdown.*
417 _install fakeinstall/usr/share/gambas3/info/gb.markdown.*
420 package_gambas3-gb-media-form() {
421 depends=('gambas3-runtime' 'gambas3-gb-media' 'gambas3-gui')
422 pkgdesc="Media player control component"
424 _install fakeinstall/usr/lib/gambas3/gb.media.form*
425 _install fakeinstall/usr/share/gambas3/info/gb.media.form*
426 _install fakeinstall/usr/share/gambas3/control/gb.media.form/*
429 package_gambas3-gb-media() {
430 depends=('gambas3-runtime' 'gst-plugins-base-libs')
431 pkgdesc="Simplified interface to the GStreamer library component"
433 _install fakeinstall/usr/lib/gambas3/gb.media.*
434 _install fakeinstall/usr/share/gambas3/info/gb.media.*
437 package_gambas3-gb-memcached() {
438 depends=('gambas3-gb-net')
439 pkgdesc="Memcached client component"
441 _install fakeinstall/usr/lib/gambas3/gb.memcached.*
442 _install fakeinstall/usr/share/gambas3/info/gb.memcached.*
445 package_gambas3-gb-mime() {
446 depends=('gambas3-runtime' 'gmime3')
447 pkgdesc="MIME message component"
449 _install fakeinstall/usr/lib/gambas3/gb.mime.*
450 _install fakeinstall/usr/share/gambas3/info/gb.mime.*
453 package_gambas3-gb-mysql() {
454 depends=('gambas3-runtime' 'gambas3-gb-db-mysql')
455 pkgdesc="Mysql extra component"
457 _install fakeinstall/usr/lib/gambas3/gb.mysql.*
458 _install fakeinstall/usr/share/gambas3/info/gb.mysql.*
461 package_gambas3-gb-ncurses() {
462 depends=('gambas3-runtime' 'ncurses')
463 pkgdesc="Ncurses component"
465 _install fakeinstall/usr/lib/gambas3/gb.ncurses.*
466 _install fakeinstall/usr/share/gambas3/info/gb.ncurses.*
469 package_gambas3-gb-net-curl() {
470 depends=('gambas3-gb-net' 'curl')
471 pkgdesc="Curl component"
473 _install fakeinstall/usr/lib/gambas3/gb.net.curl.*
474 _install fakeinstall/usr/share/gambas3/info/gb.net.curl.*
477 package_gambas3-gb-net-pop3() {
478 depends=('gambas3-gb-net' 'gambas3-gb-mime')
479 pkgdesc="POP3 component"
481 _install fakeinstall/usr/lib/gambas3/gb.net.pop3.*
482 _install fakeinstall/usr/share/gambas3/info/gb.net.pop3.*
483 _install fakeinstall/usr/share/gambas3/control/gb.net.pop3/*
486 package_gambas3-gb-net-smtp() {
487 depends=('gambas3-runtime' 'glib2')
488 pkgdesc="SMTP component"
490 _install fakeinstall/usr/lib/gambas3/gb.net.smtp.*
491 _install fakeinstall/usr/share/gambas3/info/gb.net.smtp.*
492 _install fakeinstall/usr/share/gambas3/control/gb.net.smtp/*
495 package_gambas3-gb-net() {
496 depends=('gambas3-runtime')
497 pkgdesc="Network component"
499 _install fakeinstall/usr/lib/gambas3/gb.net.*
500 _install fakeinstall/usr/share/gambas3/info/gb.net.*
503 package_gambas3-gb-openal() {
504 depends=('gambas3-runtime' 'alure')
505 pkgdesc="OpenAL 3D audio component"
507 _install fakeinstall/usr/lib/gambas3/gb.openal.*
508 _install fakeinstall/usr/share/gambas3/info/gb.openal.*
511 package_gambas3-gb-opengl-glu() {
512 depends=('gambas3-gb-opengl')
513 pkgdesc="GL Utility component"
515 _install fakeinstall/usr/lib/gambas3/gb.opengl.glu.*
516 _install fakeinstall/usr/share/gambas3/info/gb.opengl.glu.*
519 package_gambas3-gb-opengl-glsl() {
520 depends=('gambas3-gb-opengl')
521 pkgdesc="GLSL component"
523 _install fakeinstall/usr/lib/gambas3/gb.opengl.glsl.*
524 _install fakeinstall/usr/share/gambas3/info/gb.opengl.glsl.*
527 package_gambas3-gb-opengl-sge() {
528 depends=('gambas3-gb-opengl')
529 pkgdesc="Simple OpenGL game engine component"
531 _install fakeinstall/usr/lib/gambas3/gb.opengl.sge*
532 _install fakeinstall/usr/share/gambas3/info/gb.opengl.sge*
535 package_gambas3-gb-opengl() {
536 depends=('gambas3-runtime' 'glew')
537 pkgdesc="OpenGL component"
539 _install fakeinstall/usr/lib/gambas3/gb.opengl.*
540 _install fakeinstall/usr/share/gambas3/info/gb.opengl.*
543 package_gambas3-gb-openssl() {
544 depends=('gambas3-runtime' 'openssl')
545 pkgdesc="Openssl component"
547 _install fakeinstall/usr/lib/gambas3/gb.openssl.*
548 _install fakeinstall/usr/share/gambas3/info/gb.openssl.*
551 package_gambas3-gb-option() {
552 depends=('gambas3-runtime')
553 pkgdesc="Getopt component"
555 _install fakeinstall/usr/lib/gambas3/gb.option.*
556 _install fakeinstall/usr/share/gambas3/info/gb.option.*
559 package_gambas3-gb-pcre() {
560 depends=('gambas3-runtime' 'pcre2')
561 pkgdesc="PCRE component"
563 _install fakeinstall/usr/lib/gambas3/gb.pcre.*
564 _install fakeinstall/usr/share/gambas3/info/gb.pcre.*
567 package_gambas3-gb-poppler() {
568 depends=('gambas3-runtime' 'poppler-glib')
569 replaces=('gambas3-gb-pdf')
570 pkgdesc="PDF component"
572 _install fakeinstall/usr/lib/gambas3/gb.poppler.*
573 _install fakeinstall/usr/share/gambas3/info/gb.poppler.*
576 package_gambas3-gb-qt5-opengl() {
577 depends=('gambas3-gb-qt5' 'gambas3-gb-opengl')
578 pkgdesc="Qt5 toolkit OpenGL component"
580 _install fakeinstall/usr/lib/gambas3/gb.qt5.opengl.*
581 _install fakeinstall/usr/share/gambas3/info/gb.qt5.opengl.*
584 package_gambas3-gb-qt5() {
585 depends=('gambas3-gb-image' 'qt5-base' 'qt5-svg' 'qt5-webengine' 'qt5-x11extras')
586 pkgdesc="Qt5 toolkit component"
587 provides=('gambas3-gui')
589 _install fakeinstall/usr/lib/gambas3/gb.qt5.*
590 _install fakeinstall/usr/share/gambas3/info/gb.qt5.*
593 package_gambas3-gb-report() {
594 depends=('gambas3-gb-form' 'gambas3-gb-image-io')
595 pkgdesc="Report component"
596 provides=("gambas3-gb-report2=${pkgver}")
598 _install fakeinstall/usr/lib/gambas3/gb.report{,2}.*
599 _install fakeinstall/usr/share/gambas3/info/gb.report{,2}.*
600 _install fakeinstall/usr/share/gambas3/control/gb.report/*
601 _install fakeinstall/usr/share/gambas3/control/gb.report2/*
604 package_gambas3-gb-scanner() {
605 depends=('gambas3-gb-image' 'gambas3-gb-settings' 'sane')
606 pkgdesc="Scanimage frontend component"
608 _install fakeinstall/usr/lib/gambas3/gb.scanner.*
609 _install fakeinstall/usr/share/gambas3/info/gb.scanner.*
612 package_gambas3-gb-sdl-sound() {
613 depends=('gambas3-runtime' 'sdl_mixer')
614 pkgdesc="SDL sound component"
616 _install fakeinstall/usr/lib/gambas3/gb.sdl.sound.*
617 _install fakeinstall/usr/share/gambas3/info/gb.sdl.sound.*
620 package_gambas3-gb-sdl() {
621 depends=('gambas3-gb-image-io' 'sdl_ttf' 'libxcursor' 'glew')
622 pkgdesc="SDL component"
624 _install fakeinstall/usr/lib/gambas3/gb.sdl.*
625 _install fakeinstall/usr/share/gambas3/info/gb.sdl.*
628 package_gambas3-gb-sdl2-audio() {
629 depends=('gambas3-runtime' 'sdl2_mixer')
630 pkgdesc="SDL2 audio component"
632 _install fakeinstall/usr/lib/gambas3/gb.sdl2.audio.*
633 _install fakeinstall/usr/share/gambas3/info/gb.sdl2.audio.*
636 package_gambas3-gb-sdl2() {
637 depends=('gambas3-gb-image-io' 'sdl2_ttf' 'sdl2_image' 'glew')
638 pkgdesc="SDL2 component"
640 _install fakeinstall/usr/lib/gambas3/gb.sdl2.*
641 _install fakeinstall/usr/share/gambas3/info/gb.sdl2.*
644 package_gambas3-gb-settings() {
645 depends=('gambas3-runtime')
646 pkgdesc="Setting component"
648 _install fakeinstall/usr/lib/gambas3/gb.settings.*
649 _install fakeinstall/usr/share/gambas3/info/gb.settings.*
652 package_gambas3-gb-signal() {
653 depends=('gambas3-runtime')
654 pkgdesc="POSIX Signals component"
656 _install fakeinstall/usr/lib/gambas3/gb.signal.*
657 _install fakeinstall/usr/share/gambas3/info/gb.signal.*
660 package_gambas3-gb-term() {
661 depends=('gambas3-runtime')
662 pkgdesc="Terminal management component"
663 provides=("gambas3-gb-term-form=${pkgver}")
665 _install fakeinstall/usr/lib/gambas3/gb.term.*
666 _install fakeinstall/usr/share/gambas3/info/gb.term.*
669 package_gambas3-gb-util-web() {
670 depends=('gambas3-runtime')
671 pkgdesc="Miscellaneous web utility functions component"
673 _install fakeinstall/usr/lib/gambas3/gb.util.web.*
674 _install fakeinstall/usr/share/gambas3/info/gb.util.web.*
677 package_gambas3-gb-util() {
678 depends=('gambas3-runtime')
679 pkgdesc="Miscellaneous utility functions component"
681 _install fakeinstall/usr/lib/gambas3/gb.util.*
682 _install fakeinstall/usr/share/gambas3/info/gb.util.*
685 package_gambas3-gb-v4l() {
686 depends=('gambas3-runtime' 'v4l-utils' 'libjpeg' 'libpng')
687 pkgdesc="Video4linux component"
689 _install fakeinstall/usr/lib/gambas3/gb.v4l.*
690 _install fakeinstall/usr/share/gambas3/info/gb.v4l.*
693 package_gambas3-gb-vb() {
694 depends=('gambas3-runtime')
695 pkgdesc="Visual Basic transitional component"
697 _install fakeinstall/usr/lib/gambas3/gb.vb.*
698 _install fakeinstall/usr/share/gambas3/info/gb.vb.*
701 package_gambas3-gb-web-feed() {
702 depends=('gambas3-gb-xml')
703 pkgdesc="Web feed parser and generator component"
705 _install fakeinstall/usr/lib/gambas3/gb.web.feed.*
706 _install fakeinstall/usr/share/gambas3/info/gb.web.feed.*
709 package_gambas3-gb-web-form() {
710 depends=('gambas3-gb-web' 'gambas3-gb-util-web')
711 pkgdesc="web form component"
713 _install fakeinstall/usr/lib/gambas3/gb.web.form.*
714 _install fakeinstall/usr/share/gambas3/info/gb.web.form.*
717 package_gambas3-gb-web-gui() {
718 depends=('gambas3-gb-web' 'gambas3-gb-util-web' 'gambas3-gb-util' 'gambas3-gb-signal')
719 pkgdesc="web gui component"
721 _install fakeinstall/usr/lib/gambas3/gb.web.gui.*
722 _install fakeinstall/usr/share/gambas3/info/gb.web.gui.*
725 package_gambas3-gb-web() {
726 depends=('gambas3-runtime')
727 pkgdesc="CGI component"
729 _install fakeinstall/usr/lib/gambas3/gb.web.*
730 _install fakeinstall/usr/share/gambas3/info/gb.web.*
733 package_gambas3-gb-xml-html() {
734 depends=('gambas3-gb-xml')
735 pkgdesc="HTML generator component"
737 _install fakeinstall/usr/lib/gambas3/gb.xml.html.*
738 _install fakeinstall/usr/share/gambas3/info/gb.xml.html.*
741 package_gambas3-gb-xml-rpc() {
742 depends=('gambas3-gb-xml' 'gambas3-gb-net-curl')
743 pkgdesc="XML-RPC component"
745 _install fakeinstall/usr/lib/gambas3/gb.xml.rpc.*
746 _install fakeinstall/usr/share/gambas3/info/gb.xml.rpc.*
749 package_gambas3-gb-xml-xslt() {
750 depends=('gambas3-gb-xml' 'libxslt')
751 pkgdesc="XML-XSLT component"
753 _install fakeinstall/usr/lib/gambas3/gb.xml.xslt.*
754 _install fakeinstall/usr/share/gambas3/info/gb.xml.xslt.*
757 package_gambas3-gb-xml() {
758 depends=('gambas3-runtime' 'gcc-libs')
759 pkgdesc="XML component"
761 _install fakeinstall/usr/lib/gambas3/gb.xml.*
762 _install fakeinstall/usr/share/gambas3/info/gb.xml.*
765 package_gambas3-runtime() {
766 depends=('libffi' 'xdg-utils')
767 pkgdesc="Runtime environment"
768 provides=('gambas3-gb-jit')
770 _install fakeinstall/usr/bin/gb{r,x}3
771 _install fakeinstall/usr/lib/gambas3/*
772 _install fakeinstall/usr/share/gambas3/info/*
773 _install fakeinstall/usr/share/man/man1/gb{r,x}3*
775 install -dm755 ${pkgdir}/usr/share/gambas3/{mime,icons}
777 install -m644 ${srcdir}/gambas-${pkgver}/main/mime/* ${pkgdir}/usr/share/gambas3/mime/
778 install -m644 ${pkgdir}/usr/share/gambas3/mime/application-x-gambas3.png ${pkgdir}/usr/share/gambas3/icons/
781 package_gambas3-dev-tools() {
782 depends=('gambas3-runtime')
783 pkgdesc="Development environment"
784 conflicts=('gambas3-devel')
785 replaces=('gambas3-devel')
787 _install fakeinstall/usr/bin/gb{a,c,i,h}3*
788 _install fakeinstall/usr/share/man/man1/gb{a,c,i,h}3*
791 package_gambas3-ide() {
792 depends=('gambas3-dev-tools' 'gambas3-gb-clipper' 'gambas3-gb-db-form' 'gambas3-gb-desktop' 'gambas3-gb-desktop-x11'
793 'gambas3-gb-eval-highlight' 'gambas3-gb-form-dialog' 'gambas3-gb-form-editor' 'gambas3-gb-form-stock'
794 'gambas3-gb-markdown' 'gambas3-gb-settings' 'gambas3-gb-form-mdi' 'gambas3-gb-image-effect' 'gambas3-gb-qt5'
795 'gambas3-gb-net-curl' 'gambas3-gb-form-terminal' 'gambas3-gb-form-htmlview' 'gambas3-gb-signal'
796 'gambas3-gb-term' 'gambas3-gb-pcre' 'gambas3-gb-util' 'gambas3-gb-util-web')
797 pkgdesc="Integrated Development Environment"
798 conflicts=('gambas3-examples')
799 replaces=('gambas3-examples')
801 _install fakeinstall/usr/bin/gambas3*
802 _install fakeinstall/usr/share/appdata
803 _install fakeinstall/usr/share/metainfo
804 _install fakeinstall/usr/share/gambas3/template
805 _install fakeinstall/usr/share/man/man1/gambas3.1
807 install -dm755 ${pkgdir}/usr/share/applications
808 install -dm755 ${pkgdir}/usr/share/pixmaps
810 install -m644 ${srcdir}/gambas-${pkgver}/app/desktop/gambas3.desktop ${pkgdir}/usr/share/applications/
811 install -m644 ${srcdir}/gambas-${pkgver}/app/desktop/gambas3.png ${pkgdir}/usr/share/pixmaps/
814 package_gambas3-script() {
815 depends=('gambas3-dev-tools')
816 pkgdesc="Scripter and server programs support"
818 _install fakeinstall/usr/bin/gb{s,w}3*
819 _install fakeinstall/usr/share/man/man1/gb{s,w}3*
821 install -dm755 ${pkgdir}/usr/share/pixmaps
822 install -dm755 ${pkgdir}/usr/share/mime/packages
824 install -m644 ${srcdir}/gambas-${pkgver}/app/mime/*.png ${pkgdir}/usr/share/pixmaps
825 install -m644 ${srcdir}/gambas-${pkgver}/app/mime/*.xml ${pkgdir}/usr/share/mime/packages