#!/bin/bash #*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ #+ #+ Internet Radio Automation & Encoding Toolkit #+ #+ Copyright (C) 2018 by Kevin C. O'Kane #+ #+ Kevin C. O'Kane #+ kc.okane@gmail.com #+ okane@cs.uni.edu #+ https://www.cs.uni.edu/~okane #+ http://threadsafebooks.com/ #+ #+ This program is free software; you can redistribute it and/or modify #+ it under the terms of the GNU General Public License as published by #+ the Free Software Foundation; either version 2 of the License, or #+ (at your option) any later version. #+ #+ This program is distributed in the hope that it will be useful, #+ but WITHOUT ANY WARRANTY; without even the implied warranty of #+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #+ GNU General Public License for more details. #+ #+ You should have received a copy of the GNU General Public License #+ along with this program; if not, write to the Free Software #+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #+ #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ # July 9, 2021 glib-compile-resources --target=resource.c --generate-source resource.xml # compile the main module gcc -fno-diagnostics-color -w -Wno-format -o webkit webkit.c resource.c -Wno-deprecated-declarations \ -Wno-format-security -pthread `pkg-config --cflags --libs gtkmm-3.0` `pkg-config --cflags --libs webkit2gtk-4.0` \ `pkg-config --cflags --libs gdkmm-3.0` `pkg-config --cflags --libs glibmm-2.4 giomm-2.4 ` \ -I/usr/include/glib-2.0 -I/usr/include/gtkmm-3.0 `pkg-config --cflags --libs gtk+-3.0` \ -lpthread -lX11 -export-dynamic