+summary : A web browser built for speed, simplicity, and security
+description: |
+ Chromium is an open-source web browser project started by Google, to provide the source code for the proprietary Google Chrome browser. The two browsers share the majority of code and features, though there are some minor differences in features, logos and they have different licensing.
+clang : yes
+builddeps :
+ - pkgconfig(alsa)
+ - pkgconfig(flac)
+ - pkgconfig(gtk+-3.0)
+ - pkgconfig(json-glib-1.0)
+ - pkgconfig(krb5-gssapi)
+ - pkgconfig(lcms2)
+ - pkgconfig(libavcodec)
+ - pkgconfig(libevent)
+ - pkgconfig(libjpeg)
+ - pkgconfig(libopenjp2)
+ - pkgconfig(libpci)
+ - pkgconfig(libpulse)
+ - pkgconfig(libva)
+ - pkgconfig(libwebp)
+ - pkgconfig(libxslt)
+ - pkgconfig(minizip)
+ - pkgconfig(nss)
+ - pkgconfig(opus)
+ - pkgconfig(vpx)
+ - pkgconfig(xscrnsaver)
+ - pkgconfig(xtst)
+ - cups-devel
+ - git
+ - gperf
+ - nodejs
+ - re2-devel
+ - snappy-devel
+ - yasm
+setup : |
+ %apply_patches
+
+ # Remove bundled dependancies to force chromium to use system libraries
+ mv $pkgfiles/unbundle.py $workdir/
+ python3 unbundle.py
+
+ # Export build config & keys
+ FLAGS=(`cat $pkgfiles/gn-build-config`)
+ API_KEYS=(`cat $pkgfiles/api-keys`)
+
+ # Allow building against system libraries in official builds
+ sed -i 's/OFFICIAL_BUILD/GOOGLE_CHROME_BUILD/' \
+ # TODO - SEE remoting/host/installer/linux/Makefile & fedora spec file
+ #cp -a \
+ # out/Release/remoting_native_messaging_host \
+ # out/Release/remote_assistance_host \
+ # out/Release/remoting_locales \
+ # remoting_me2me_host \
+ # remoting_start_host \
+ # remoting_user_session \
+ #$installdir/usr/share/chromium/
diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml
new file mode 100644
--- /dev/null
+++ b/pspec_x86_64.xml
@@ -0,0 +1,54 @@
+<PISI>
+ <Source>
+ <Name>chromium</Name>
+ <Packager>
+ <Name>Joey Riches</Name>
+ <Email>josephriches@gmail.com</Email>
+ </Packager>
+ <License>Apache-2.0</License>
+ <License>BSD-3-Clause</License>
+ <License>GPL-3.0-or-later</License>
+ <License>IJG</License>
+ <License>ISC</License>
+ <License>LGPL-3.0-or-later</License>
+ <License>MIT</License>
+ <License>MPL-1.1</License>
+ <License>OpenSSL</License>
+ <PartOf>network.web.browser</PartOf>
+ <Summary xml:lang="en">A web browser built for speed, simplicity, and security</Summary>
+ <Description xml:lang="en">Chromium is an open-source web browser project started by Google, to provide the source code for the proprietary Google Chrome browser. The two browsers share the majority of code and features, though there are some minor differences in features, logos and they have different licensing.
+ <Summary xml:lang="en">A web browser built for speed, simplicity, and security</Summary>
+ <Description xml:lang="en">Chromium is an open-source web browser project started by Google, to provide the source code for the proprietary Google Chrome browser. The two browsers share the majority of code and features, though there are some minor differences in features, logos and they have different licensing.
+remove third_party/pywebsocket (disable or use python-mod/pywebsocket)?
+remove base/third_party/xdg_mime (use support in xdg-utils)?
+remove crypto/third_party/nss?
+
+(DONE)is_component_ffmpeg - this allows for, of the third party libraries, only libffmpeg to be built seperately as a .so. We could enable this and create symlinks for vivaldi and opera without the need for a seperate chromium-ffmpeg package. However, we are stuck to using chromium's ffmpeg forever, when the system ffmpeg works fine, there is also the possibility of a future chromium update breaking h264 playback for vivaldi and opera, a seperate chromium-ffmpeg would resolve that issue as we could update chromium but only update chromium-ffmpeg as required for compatibility.