diff options
author | Lukas Vacek <lucas.vacek@gmail.com> | 2020-08-14 19:51:58 +0800 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2020-08-15 07:58:21 -0400 |
commit | 8ec62add83256b0e1536c09589eb9eedbc829371 (patch) | |
tree | 790824dcef61050c32eb77787fc52fe960ad8f82 | |
parent | eclass: new class netsurf.eclass for netsurf build (diff) | |
download | gentoo-8ec62add83256b0e1536c09589eb9eedbc829371.tar.gz gentoo-8ec62add83256b0e1536c09589eb9eedbc829371.tar.bz2 gentoo-8ec62add83256b0e1536c09589eb9eedbc829371.zip |
*/*: do not source gentoo-helpers.sh in netsurf libraries
This commit changes several ebuilds to use eclass netsurf instead of
sourcing /usr/share/netsurf-buildsystem/gentoo-helpers.sh
This also fixes building these packages in a prefix.
This commit changes following packages:
dev-libs/libcss
dev-libs/libnsfb
dev-libs/libnsutils
dev-libs/libparserutils
dev-libs/libwapcaplet
dev-libs/nsgenbind
media-libs/libnsbmp
media-libs/libnsgif
media-libs/libnspsl
media-libs/librosprite
media-libs/libsvgtiny
net-libs/libdom
net-libs/libhubbub
www-client/netsurf
Signed-off-by: Lukas Vacek <lucas.vacek@gmail.com>
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
27 files changed, 1241 insertions, 0 deletions
diff --git a/dev-libs/libcss/libcss-0.8.0-r2.ebuild b/dev-libs/libcss/libcss-0.8.0-r2.ebuild new file mode 100644 index 000000000000..b388f262e7d5 --- /dev/null +++ b/dev-libs/libcss/libcss-0.8.0-r2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit netsurf + +DESCRIPTION="CSS parser and selection engine, written in C" +HOMEPAGE="http://www.netsurf-browser.org/projects/libcss/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~m68k-mint" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/libparserutils-0.2.1-r1 + >=dev-libs/libwapcaplet-0.4.0" +DEPEND="${RDEPEND} + >=dev-util/netsurf-buildsystem-1.7-r1 + virtual/pkgconfig + test? ( dev-lang/perl )" + +src_prepare() { + default + sed -e '1i#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"' \ + -i src/parse/parse.c src/select/arena_hash.h || die + sed -e '1i#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"' \ + -i src/parse/parse.c src/select/computed.c || die +} + +_emake() { + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared $@ +} + +src_compile() { + _emake +} + +src_test() { + _emake test +} + +src_install() { + _emake DESTDIR="${D}" install +} diff --git a/dev-libs/libcss/libcss-0.9.0-r1.ebuild b/dev-libs/libcss/libcss-0.9.0-r1.ebuild new file mode 100644 index 000000000000..03d454f91075 --- /dev/null +++ b/dev-libs/libcss/libcss-0.9.0-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit netsurf + +DESCRIPTION="CSS parser and selection engine, written in C" +HOMEPAGE="http://www.netsurf-browser.org/projects/libcss/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~m68k-mint" +IUSE="test" + +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/libparserutils + dev-libs/libwapcaplet" +DEPEND="${RDEPEND} + test? ( dev-lang/perl )" +BDEPEND=" + >=dev-util/netsurf-buildsystem-1.7-r1 + virtual/pkgconfig" + +src_prepare() { + default + sed -e '1i#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"' \ + -i src/parse/parse.c src/select/arena_hash.h || die + sed -e '1i#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"' \ + -i src/parse/parse.c src/select/computed.c || die +} + +_emake() { + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared $@ +} + +src_compile() { + _emake +} + +src_test() { + _emake test +} + +src_install() { + _emake DESTDIR="${D}" install +} diff --git a/dev-libs/libcss/libcss-0.9.1-r1.ebuild b/dev-libs/libcss/libcss-0.9.1-r1.ebuild new file mode 100644 index 000000000000..03d454f91075 --- /dev/null +++ b/dev-libs/libcss/libcss-0.9.1-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit netsurf + +DESCRIPTION="CSS parser and selection engine, written in C" +HOMEPAGE="http://www.netsurf-browser.org/projects/libcss/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~m68k-mint" +IUSE="test" + +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/libparserutils + dev-libs/libwapcaplet" +DEPEND="${RDEPEND} + test? ( dev-lang/perl )" +BDEPEND=" + >=dev-util/netsurf-buildsystem-1.7-r1 + virtual/pkgconfig" + +src_prepare() { + default + sed -e '1i#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"' \ + -i src/parse/parse.c src/select/arena_hash.h || die + sed -e '1i#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"' \ + -i src/parse/parse.c src/select/computed.c || die +} + +_emake() { + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared $@ +} + +src_compile() { + _emake +} + +src_test() { + _emake test +} + +src_install() { + _emake DESTDIR="${D}" install +} diff --git a/dev-libs/libnsfb/libnsfb-0.2.0-r2.ebuild b/dev-libs/libnsfb/libnsfb-0.2.0-r2.ebuild new file mode 100644 index 000000000000..ce5964414d8a --- /dev/null +++ b/dev-libs/libnsfb/libnsfb-0.2.0-r2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit netsurf + +DESCRIPTION="framebuffer abstraction library, written in C" +HOMEPAGE="http://www.netsurf-browser.org/projects/libnsfb/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64" +IUSE="sdl test vnc wayland X" +RESTRICT="!test? ( test )" + +RDEPEND="sdl? ( >=media-libs/libsdl-1.2.15-r4 ) + vnc? ( >=net-libs/libvncserver-0.9.9-r2 ) + wayland? ( >=dev-libs/wayland-1.0.6 ) + X? ( + >=x11-libs/libxcb-1.9.1 + >=x11-libs/xcb-util-0.3.9-r1 + >=x11-libs/xcb-util-image-0.3.9-r1 + >=x11-libs/xcb-util-keysyms-0.3.9-r1 + )" +DEPEND="${RDEPEND} + dev-util/netsurf-buildsystem" + +PATCHES=( "${FILESDIR}"/${PN}-0.1.0-autodetect.patch ) + +DOCS=( usage ) + +_emake() { + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared \ + WITH_VNC=$(usex vnc) \ + WITH_SDL=$(usex sdl) \ + WITH_XCB=$(usex X) \ + WITH_WLD=$(usex wayland) \ + $@ +} + +src_compile() { + _emake +} + +src_install() { + _emake DESTDIR="${D}" install +} diff --git a/dev-libs/libnsfb/libnsfb-0.2.1-r1.ebuild b/dev-libs/libnsfb/libnsfb-0.2.1-r1.ebuild new file mode 100644 index 000000000000..354ba28b0bb9 --- /dev/null +++ b/dev-libs/libnsfb/libnsfb-0.2.1-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit netsurf + +DESCRIPTION="framebuffer abstraction library, written in C" +HOMEPAGE="http://www.netsurf-browser.org/projects/libnsfb/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64" +IUSE="sdl test vnc wayland X" + +RESTRICT="!test? ( test )" + +RDEPEND="sdl? ( >=media-libs/libsdl-1.2.15-r4 ) + vnc? ( >=net-libs/libvncserver-0.9.9-r2 ) + wayland? ( >=dev-libs/wayland-1.0.6 ) + X? ( + >=x11-libs/libxcb-1.9.1 + >=x11-libs/xcb-util-0.3.9-r1 + >=x11-libs/xcb-util-image-0.3.9-r1 + >=x11-libs/xcb-util-keysyms-0.3.9-r1 + )" +BDEPEND=" + dev-util/netsurf-buildsystem" + +PATCHES=( "${FILESDIR}"/${PN}-0.1.0-autodetect.patch ) + +DOCS=( usage ) + +_emake() { + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared \ + WITH_VNC=$(usex vnc) \ + WITH_SDL=$(usex sdl) \ + WITH_XCB=$(usex X) \ + WITH_WLD=$(usex wayland) \ + $@ +} + +src_compile() { + _emake +} + +src_install() { + _emake DESTDIR="${D}" install +} diff --git a/dev-libs/libnsfb/libnsfb-0.2.2-r1.ebuild b/dev-libs/libnsfb/libnsfb-0.2.2-r1.ebuild new file mode 100644 index 000000000000..0e4bb3ed2549 --- /dev/null +++ b/dev-libs/libnsfb/libnsfb-0.2.2-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit netsurf + +DESCRIPTION="C library for framebuffer abstraction" +HOMEPAGE="http://www.netsurf-browser.org/projects/libnsfb/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64" +IUSE="sdl test vnc wayland X" + +RESTRICT="!test? ( test )" + +RDEPEND="sdl? ( >=media-libs/libsdl-1.2.15-r4 ) + vnc? ( >=net-libs/libvncserver-0.9.9-r2 ) + wayland? ( >=dev-libs/wayland-1.0.6 ) + X? ( + >=x11-libs/libxcb-1.9.1 + >=x11-libs/xcb-util-0.3.9-r1 + >=x11-libs/xcb-util-image-0.3.9-r1 + >=x11-libs/xcb-util-keysyms-0.3.9-r1 + )" +BDEPEND="dev-util/netsurf-buildsystem" + +PATCHES=( "${FILESDIR}/${PN}-0.1.0-autodetect.patch" ) + +DOCS=( usage ) + +_emake() { + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared \ + WITH_VNC=$(usex vnc) \ + WITH_SDL=$(usex sdl) \ + WITH_XCB=$(usex X) \ + WITH_WLD=$(usex wayland) \ + $@ +} + +src_compile() { + _emake +} + +src_install() { + _emake DESTDIR="${D}" install +} diff --git a/dev-libs/libnsutils/libnsutils-0.0.5-r2.ebuild b/dev-libs/libnsutils/libnsutils-0.0.5-r2.ebuild new file mode 100644 index 000000000000..13f403c3edb4 --- /dev/null +++ b/dev-libs/libnsutils/libnsutils-0.0.5-r2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit netsurf + +DESCRIPTION="base64 and time library, written in C" +HOMEPAGE="http://www.netsurf-browser.org/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64" +IUSE="" + +DEPEND="dev-util/netsurf-buildsystem" + +_emake() { + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared $@ +} + +src_compile() { + _emake +} + +src_install() { + _emake DESTDIR="${D}" install +} diff --git a/dev-libs/libnsutils/libnsutils-0.1.0-r1.ebuild b/dev-libs/libnsutils/libnsutils-0.1.0-r1.ebuild new file mode 100644 index 000000000000..84b713406a96 --- /dev/null +++ b/dev-libs/libnsutils/libnsutils-0.1.0-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit netsurf + +DESCRIPTION="C library for base64 and time" +HOMEPAGE="http://www.netsurf-browser.org/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64" +IUSE="" + +BDEPEND="dev-util/netsurf-buildsystem" + +_emake() { + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared $@ +} + +src_compile() { + _emake +} + +src_install() { + _emake DESTDIR="${D}" install +} diff --git a/dev-libs/libparserutils/libparserutils-0.2.4-r3.ebuild b/dev-libs/libparserutils/libparserutils-0.2.4-r3.ebuild new file mode 100644 index 000000000000..ea49dbb1c05c --- /dev/null +++ b/dev-libs/libparserutils/libparserutils-0.2.4-r3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic netsurf + +DESCRIPTION="C library for building efficient parsers" +HOMEPAGE="http://www.netsurf-browser.org/projects/libparserutils/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~m68k-mint" +IUSE="iconv test" +RESTRICT="!test? ( test )" + +DEPEND=" + >=dev-util/netsurf-buildsystem-1.7-r1 + test? ( dev-lang/perl )" + +DOCS=( README docs/Todo ) + +src_configure() { + append-cflags "-D$(usex iconv WITH WITHOUT)_ICONV_FILTER" +} + +_emake() { + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared $@ +} + +src_compile() { + _emake +} + +src_test() { + _emake test +} + +src_install() { + _emake DESTDIR="${D}" install +} diff --git a/dev-libs/libwapcaplet/libwapcaplet-0.4.1-r2.ebuild b/dev-libs/libwapcaplet/libwapcaplet-0.4.1-r2.ebuild new file mode 100644 index 000000000000..d553e7e2201b --- /dev/null +++ b/dev-libs/libwapcaplet/libwapcaplet-0.4.1-r2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit netsurf + +DESCRIPTION="string internment library, written in C" +HOMEPAGE="http://www.netsurf-browser.org/projects/libwapcaplet/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~m68k-mint" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + >=dev-util/netsurf-buildsystem-1.7-r1 + test? ( >=dev-libs/check-0.9.11 )" + +PATCHES=( + # bug 664288 + "${FILESDIR}/${PN}-0.4.1-makefile.patch" +) + +_emake() { + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared $@ +} + +src_compile() { + _emake +} + +src_test() { + _emake test +} + +src_install() { + _emake DESTDIR="${D}" install +} diff --git a/dev-libs/libwapcaplet/libwapcaplet-0.4.2-r1.ebuild b/dev-libs/libwapcaplet/libwapcaplet-0.4.2-r1.ebuild new file mode 100644 index 000000000000..cb74894bb4bd --- /dev/null +++ b/dev-libs/libwapcaplet/libwapcaplet-0.4.2-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit netsurf + +DESCRIPTION="string internment library, written in C" +HOMEPAGE="http://www.netsurf-browser.org/projects/libwapcaplet/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~m68k-mint" +IUSE="test" + +RESTRICT="!test? ( test )" + +DEPEND=" + test? ( >=dev-libs/check-0.9.11 )" +BDEPEND=" + >=dev-util/netsurf-buildsystem-1.7-r1" + +PATCHES=( + # bug 664288 + "${FILESDIR}/${PN}-0.4.1-makefile.patch" +) + +_emake() { + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared $@ +} + +src_compile() { + _emake +} + +src_test() { + _emake test +} + +src_install() { + _emake DESTDIR="${D}" install +} diff --git a/dev-libs/libwapcaplet/libwapcaplet-0.4.3-r1.ebuild b/dev-libs/libwapcaplet/libwapcaplet-0.4.3-r1.ebuild new file mode 100644 index 000000000000..cb74894bb4bd --- /dev/null +++ b/dev-libs/libwapcaplet/libwapcaplet-0.4.3-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit netsurf + +DESCRIPTION="string internment library, written in C" +HOMEPAGE="http://www.netsurf-browser.org/projects/libwapcaplet/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~m68k-mint" +IUSE="test" + +RESTRICT="!test? ( test )" + +DEPEND=" + test? ( >=dev-libs/check-0.9.11 )" +BDEPEND=" + >=dev-util/netsurf-buildsystem-1.7-r1" + +PATCHES=( + # bug 664288 + "${FILESDIR}/${PN}-0.4.1-makefile.patch" +) + +_emake() { + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared $@ +} + +src_compile() { + _emake +} + +src_test() { + _emake test +} + +src_install() { + _emake DESTDIR="${D}" install +} diff --git a/dev-libs/nsgenbind/nsgenbind-0.6-r2.ebuild b/dev-libs/nsgenbind/nsgenbind-0.6-r2.ebuild new file mode 100644 index 000000000000..fd95f03f94fd --- /dev/null +++ b/dev-libs/nsgenbind/nsgenbind-0.6-r2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit netsurf + +DESCRIPTION="generate javascript to dom bindings from w3c webidl files" +HOMEPAGE="http://www.netsurf-browser.org/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64" +IUSE="" + +DEPEND=" + dev-util/netsurf-buildsystem + virtual/yacc" + +_emake() { + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=binary $@ +} + +src_compile() { + _emake +} + +src_install() { + _emake DESTDIR="${D}" install +} diff --git a/dev-libs/nsgenbind/nsgenbind-0.7-r1.ebuild b/dev-libs/nsgenbind/nsgenbind-0.7-r1.ebuild new file mode 100644 index 000000000000..fd95f03f94fd --- /dev/null +++ b/dev-libs/nsgenbind/nsgenbind-0.7-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit netsurf + +DESCRIPTION="generate javascript to dom bindings from w3c webidl files" +HOMEPAGE="http://www.netsurf-browser.org/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64" +IUSE="" + +DEPEND=" + dev-util/netsurf-buildsystem + virtual/yacc" + +_emake() { + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=binary $@ +} + +src_compile() { + _emake +} + +src_install() { + _emake DESTDIR="${D}" install +} diff --git a/dev-libs/nsgenbind/nsgenbind-0.8-r1.ebuild b/dev-libs/nsgenbind/nsgenbind-0.8-r1.ebuild new file mode 100644 index 000000000000..353b0a1d9722 --- /dev/null +++ b/dev-libs/nsgenbind/nsgenbind-0.8-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit netsurf + +DESCRIPTION="Generate Javascript-to-DOM bindings from w3c webidl files" +HOMEPAGE="http://www.netsurf-browser.org/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64" +IUSE="" + +BDEPEND=" + dev-util/netsurf-buildsystem + virtual/yacc" + +_emake() { + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=binary $@ +} + +src_compile() { + _emake +} + +src_install() { + _emake DESTDIR="${D}" install +} diff --git a/media-libs/libnsbmp/libnsbmp-0.1.6-r1.ebuild b/media-libs/libnsbmp/libnsbmp-0.1.6-r1.ebuild new file mode 100644 index 000000000000..81c8075d558d --- /dev/null +++ b/media-libs/libnsbmp/libnsbmp-0.1.6-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit netsurf + +DESCRIPTION="decoding library for BMP and ICO image file formats, written in C" +HOMEPAGE="http://www.netsurf-browser.org/projects/libnsbmp/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~m68k-mint" +IUSE="" + +BDEPEND=" + dev-util/netsurf-buildsystem + virtual/pkgconfig" + +_emake() { + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared $@ +} + +src_compile() { + _emake +} + +src_install() { + _emake DESTDIR="${D}" install +} diff --git a/media-libs/libnsgif/libnsgif-0.2.1-r3.ebuild b/media-libs/libnsgif/libnsgif-0.2.1-r3.ebuild new file mode 100644 index 000000000000..8478ddc00902 --- /dev/null +++ b/media-libs/libnsgif/libnsgif-0.2.1-r3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit netsurf + +DESCRIPTION="decoding library for the GIF image file format, written in C" +HOMEPAGE="https://www.netsurf-browser.org/projects/libnsgif/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~m68k-mint" +IUSE="" + +BDEPEND=" + >=dev-util/netsurf-buildsystem-1.7-r1 + virtual/pkgconfig +" + +src_prepare() { + default + sed -e '1i#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"' \ + -i src/lzw.c || die +} + +_emake() { + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared $@ +} + +src_compile() { + _emake +} + +src_install() { + _emake DESTDIR="${D}" install +} diff --git a/media-libs/libnspsl/libnspsl-0.1.3-r2.ebuild b/media-libs/libnspsl/libnspsl-0.1.3-r2.ebuild new file mode 100644 index 000000000000..2d2bcaa165a1 --- /dev/null +++ b/media-libs/libnspsl/libnspsl-0.1.3-r2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit netsurf + +DESCRIPTION="decoding library for BMP and ICO image file formats, written in C" +HOMEPAGE="http://www.netsurf-browser.org/projects/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~m68k-mint" +IUSE="" + +DEPEND=" + dev-util/netsurf-buildsystem + virtual/pkgconfig" + +_emake() { + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared $@ +} + +src_compile() { + _emake +} + +src_install() { + _emake DESTDIR="${D}" install +} diff --git a/media-libs/libnspsl/libnspsl-0.1.5-r1.ebuild b/media-libs/libnspsl/libnspsl-0.1.5-r1.ebuild new file mode 100644 index 000000000000..01b50983133a --- /dev/null +++ b/media-libs/libnspsl/libnspsl-0.1.5-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit netsurf + +DESCRIPTION="decoding library for BMP and ICO image file formats, written in C" +HOMEPAGE="http://www.netsurf-browser.org/projects/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~m68k-mint" +IUSE="" + +BDEPEND=" + dev-util/netsurf-buildsystem + virtual/pkgconfig" + +_emake() { + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared $@ +} + +src_compile() { + _emake +} + +src_install() { + _emake DESTDIR="${D}" install +} diff --git a/media-libs/libnspsl/libnspsl-0.1.6-r1.ebuild b/media-libs/libnspsl/libnspsl-0.1.6-r1.ebuild new file mode 100644 index 000000000000..c6381ffa9d9b --- /dev/null +++ b/media-libs/libnspsl/libnspsl-0.1.6-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit netsurf + +DESCRIPTION="C library for decoding BMP and ICO images" +HOMEPAGE="http://www.netsurf-browser.org/projects/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~m68k-mint" +IUSE="" + +BDEPEND=" + dev-util/netsurf-buildsystem + virtual/pkgconfig" + +_emake() { + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared $@ +} + +src_compile() { + _emake +} + +src_install() { + _emake DESTDIR="${D}" install +} diff --git a/media-libs/librosprite/librosprite-0.1.3-r2.ebuild b/media-libs/librosprite/librosprite-0.1.3-r2.ebuild new file mode 100644 index 000000000000..d412b3c188e0 --- /dev/null +++ b/media-libs/librosprite/librosprite-0.1.3-r2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit netsurf + +DESCRIPTION="framebuffer abstraction library, written in C" +HOMEPAGE="http://www.netsurf-browser.org/projects/librosprite/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~m68k-mint" +IUSE="" + +DEPEND="dev-util/netsurf-buildsystem" + +PATCHES=( "${FILESDIR}"/${PN}-0.1.2-Werror.patch ) + +_emake() { + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared $@ +} + +src_compile() { + _emake +} + +src_install() { + _emake DESTDIR="${D}" install +} diff --git a/media-libs/libsvgtiny/libsvgtiny-0.1.7-r2.ebuild b/media-libs/libsvgtiny/libsvgtiny-0.1.7-r2.ebuild new file mode 100644 index 000000000000..062d7f57930a --- /dev/null +++ b/media-libs/libsvgtiny/libsvgtiny-0.1.7-r2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit netsurf + +DESCRIPTION="framebuffer abstraction library, written in C" +HOMEPAGE="http://www.netsurf-browser.org/projects/libsvgtiny/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~m68k-mint" +IUSE="" + +RDEPEND=" + >=net-libs/libdom-0.1.2-r1[xml] + >=dev-libs/libwapcaplet-0.2.2-r1" +DEPEND="${RDEPEND} + dev-util/gperf + dev-util/netsurf-buildsystem + virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/${PN}-0.1.3-parallel-build.patch ) + +_emake() { + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared $@ +} + +src_compile() { + _emake +} + +src_install() { + _emake DESTDIR="${D}" install +} diff --git a/net-libs/libdom/libdom-0.3.3-r2.ebuild b/net-libs/libdom/libdom-0.3.3-r2.ebuild new file mode 100644 index 000000000000..b5e782a5b834 --- /dev/null +++ b/net-libs/libdom/libdom-0.3.3-r2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit netsurf + +DESCRIPTION="implementation of the W3C DOM, written in C" +HOMEPAGE="http://www.netsurf-browser.org/projects/libdom/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~m68k-mint" +IUSE="expat test xml" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/libparserutils-0.2.1-r1 + >=dev-libs/libwapcaplet-0.3.0 + >=net-libs/libhubbub-0.3.1-r1 + xml? ( + expat? ( >=dev-libs/expat-2.1.0-r3 ) + !expat? ( >=dev-libs/libxml2-2.9.1-r4 ) + )" +DEPEND="${RDEPEND} + dev-util/netsurf-buildsystem + virtual/pkgconfig + test? ( + dev-perl/XML-XPath + dev-perl/libxml-perl + dev-perl/Switch + )" + +REQUIRED_USE="test? ( xml )" + +_emake() { + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared \ + WITH_EXPAT_BINDING=$(usex xml $(usex expat yes no) no) \ + WITH_LIBXML_BINDING=$(usex xml $(usex expat no yes) no) \ + $@ +} + +src_compile() { + _emake +} + +src_test() { + _emake test +} + +src_install() { + _emake DESTDIR="${D}" install +} diff --git a/net-libs/libdom/libdom-0.4.0-r1.ebuild b/net-libs/libdom/libdom-0.4.0-r1.ebuild new file mode 100644 index 000000000000..d5902a58630c --- /dev/null +++ b/net-libs/libdom/libdom-0.4.0-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit netsurf + +DESCRIPTION="implementation of the W3C DOM, written in C" +HOMEPAGE="http://www.netsurf-browser.org/projects/libdom/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~m68k-mint" +IUSE="expat test xml" + +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/libparserutils + dev-libs/libwapcaplet + net-libs/libhubbub + xml? ( + expat? ( >=dev-libs/expat-2.1.0-r3 ) + !expat? ( >=dev-libs/libxml2-2.9.1-r4 ) + )" +DEPEND="${RDEPEND} + test? ( + dev-perl/XML-XPath + dev-perl/libxml-perl + dev-perl/Switch + )" +BDEPEND=" + dev-util/netsurf-buildsystem + virtual/pkgconfig" + +REQUIRED_USE="test? ( xml )" + +_emake() { + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared \ + WITH_EXPAT_BINDING=$(usex xml $(usex expat yes no) no) \ + WITH_LIBXML_BINDING=$(usex xml $(usex expat no yes) no) \ + $@ +} + +src_compile() { + _emake +} + +src_test() { + _emake test +} + +src_install() { + _emake DESTDIR="${D}" install +} diff --git a/net-libs/libdom/libdom-0.4.1-r1.ebuild b/net-libs/libdom/libdom-0.4.1-r1.ebuild new file mode 100644 index 000000000000..d5902a58630c --- /dev/null +++ b/net-libs/libdom/libdom-0.4.1-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit netsurf + +DESCRIPTION="implementation of the W3C DOM, written in C" +HOMEPAGE="http://www.netsurf-browser.org/projects/libdom/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~m68k-mint" +IUSE="expat test xml" + +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/libparserutils + dev-libs/libwapcaplet + net-libs/libhubbub + xml? ( + expat? ( >=dev-libs/expat-2.1.0-r3 ) + !expat? ( >=dev-libs/libxml2-2.9.1-r4 ) + )" +DEPEND="${RDEPEND} + test? ( + dev-perl/XML-XPath + dev-perl/libxml-perl + dev-perl/Switch + )" +BDEPEND=" + dev-util/netsurf-buildsystem + virtual/pkgconfig" + +REQUIRED_USE="test? ( xml )" + +_emake() { + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared \ + WITH_EXPAT_BINDING=$(usex xml $(usex expat yes no) no) \ + WITH_LIBXML_BINDING=$(usex xml $(usex expat no yes) no) \ + $@ +} + +src_compile() { + _emake +} + +src_test() { + _emake test +} + +src_install() { + _emake DESTDIR="${D}" install +} diff --git a/net-libs/libhubbub/libhubbub-0.3.6-r2.ebuild b/net-libs/libhubbub/libhubbub-0.3.6-r2.ebuild new file mode 100644 index 000000000000..37c534bcee47 --- /dev/null +++ b/net-libs/libhubbub/libhubbub-0.3.6-r2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit netsurf flag-o-matic + +DESCRIPTION="HTML5 compliant parsing library, written in C" +HOMEPAGE="https://www.netsurf-browser.org/projects/hubbub/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~m68k-mint" +IUSE="doc test" + +BDEPEND=" + dev-util/netsurf-buildsystem + virtual/pkgconfig + doc? ( app-doc/doxygen ) + test? ( dev-lang/perl ) +" +RDEPEND="dev-libs/libparserutils:=" +DEPEND="${RDEPEND} + test? ( dev-libs/json-c )" +RESTRICT="!test? ( test )" + +DOCS=( README docs/{Architecture,Macros,Todo,Treebuilder,Updated} ) +PATCHES=( "${FILESDIR}/libhubbub-0.3.6-json-c.patch" ) + +src_prepare() { + default + sed -e '1i#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"' \ + -i test/tree2.c || die +} + +_emake() { + netsurf_define_makeconf + append-cflags -Wno-error + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared $@ +} + +src_compile() { + _emake + use doc && _emake docs +} + +src_test() { + _emake test +} + +src_install() { + _emake DESTDIR="${D}" install + use doc && HTML_DOCS=( docs/html/. ) + einstalldocs +} diff --git a/www-client/netsurf/netsurf-3.10-r3.ebuild b/www-client/netsurf/netsurf-3.10-r3.ebuild new file mode 100644 index 000000000000..80ac0b1a0117 --- /dev/null +++ b/www-client/netsurf/netsurf-3.10-r3.ebuild @@ -0,0 +1,148 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit netsurf desktop + +DESCRIPTION="a free, open source web browser" +HOMEPAGE="https://www.netsurf-browser.org/" +SRC_URI="http://download.netsurf-browser.org/netsurf/releases/source/${P}-src.tar.gz" + +LICENSE="GPL-2 MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc64" +IUSE="bmp +duktape fbcon truetype +gif +gtk gtk2 +javascript +jpeg mng + +png +psl rosprite +svg +svgtiny +webp" + +REQUIRED_USE="|| ( fbcon gtk gtk2 ) + duktape? ( javascript )" + +RDEPEND=" + >=dev-libs/libcss-0.9 + >=net-libs/libdom-0.3 + >=net-libs/libhubbub-0.3 + >=dev-libs/libnsutils-0.1.0 + >=dev-libs/libutf8proc-2.4 + dev-libs/libxml2:2 + net-misc/curl + bmp? ( >=media-libs/libnsbmp-0.1 ) + fbcon? ( >=dev-libs/libnsfb-0.2.2 + truetype? ( media-fonts/dejavu + >=media-libs/freetype-2.5.0.1 ) + ) + gif? ( >=media-libs/libnsgif-0.1 ) + gtk? ( dev-libs/glib:2 + x11-libs/gtk+:3 ) + gtk2? ( dev-libs/glib:2 + x11-libs/gtk+:2 ) + javascript? ( + >=dev-libs/nsgenbind-0.7 + duktape? ( dev-lang/duktape ) + !duktape? ( dev-lang/spidermonkey:0= ) + ) + jpeg? ( >=virtual/jpeg-0-r2:0 ) + mng? ( >=media-libs/libmng-1.0.10-r2 ) + png? ( >=media-libs/libpng-1.2.51:0 ) + psl? ( media-libs/libnspsl ) + rosprite? ( >=media-libs/librosprite-0.1.2-r1 ) + svg? ( svgtiny? ( >=media-libs/libsvgtiny-0.1.3-r1 ) + !svgtiny? ( gnome-base/librsvg:2 ) ) + webp? ( >=media-libs/libwebp-0.3.0 )" +BDEPEND=" + duktape? ( app-editors/vim-core ) + dev-libs/check + dev-perl/HTML-Parser + >=dev-util/netsurf-buildsystem-1.7-r1" + +PATCHES=( + "${FILESDIR}/${PN}-3.9-conditionally-include-image-headers.patch" + "${FILESDIR}/${PN}-3.10-julia-libutf8proc-header-location.patch" + "${FILESDIR}/${PN}-3.10-disable-failing-tests.patch" +) + +DOCS=( README docs/using-framebuffer.md + docs/ideas/{cache,css-engine,render-library}.txt ) + +src_prepare() { + default + rm -r frontends/{amiga,atari,beos,monkey,riscos,windows} || die +} + +_emake() { + netsurf_define_makeconf + local netsurf_makeconf=( + "${NETSURF_MAKECONF[@]}" + COMPONENT_TYPE=binary + NETSURF_USE_BMP=$(usex bmp YES NO) + NETSURF_USE_GIF=$(usex gif YES NO) + NETSURF_USE_JPEG=$(usex jpeg YES NO) + NETSURF_USE_PNG=$(usex png YES NO) + NETSURF_USE_NSPSL=$(usex psl YES NO) + NETSURF_USE_MNG=$(usex mng YES NO) + NETSURF_USE_WEBP=$(usex webp YES NO) + NETSURF_USE_MOZJS=$(usex javascript $(usex duktape NO YES) NO) + NETSURF_USE_JS=NO + NETSURF_USE_DUKTAPE=$(usex javascript $(usex duktape YES NO) NO) + NETSURF_USE_NSSVG=$(usex svg $(usex svgtiny YES NO) NO) + NETSURF_USE_RSVG=$(usex svg $(usex svgtiny NO YES) NO) + NETSURF_USE_ROSPRITE=$(usex rosprite YES NO) + PKG_CONFIG=$(tc-getPKG_CONFIG) + NETSURF_FB_FONTLIB=$(usex truetype freetype internal) + NETSURF_FB_FONTPATH="${EPREFIX}/usr/share/fonts/dejavu" + NETSURF_USE_VIDEO=NO + ) + emake "${netsurf_makeconf[@]}" $@ +} + +src_compile() { + # The build system only runs pkg-config to find librsvg's include + # dir for the gtk targets. So if you try to build the framebuffer + # target with NETSURF_USE_RSVG=YES, the build crashes on failing to + # find rsvg.h. To work around that, we set NETSURF_USE_RSVG=NO. It + # might be possible to fall back to svgtiny with USE="svg -svgtiny" + # if svgtiny works in a framebuffer, but then our (R)DEPEND would + # need some mangling to ensure that svgtiny is installed. + use fbcon && _emake NETSURF_USE_RSVG=NO TARGET=framebuffer + + use gtk2 && _emake TARGET=gtk2 + use gtk && _emake TARGET=gtk3 +} + +src_test() { + _emake test +} + +src_install() { + sed -e '1iexit;' \ + -i "${WORKDIR}"/*/utils/git-testament.pl || die + + if use fbcon ; then + # See earlier comments about rsvg.h. + _emake NETSURF_USE_RSVG=NO TARGET=framebuffer DESTDIR="${D}" install + elog "framebuffer binary has been installed as netsurf-fb" + make_desktop_entry "${EPREFIX}"/usr/bin/netsurf-fb \ + NetSurf-framebuffer \ + netsurf \ + "Network;WebBrowser" + fi + if use gtk2 ; then + _emake TARGET=gtk2 DESTDIR="${D}" install + elog "netsurf gtk2 version has been installed as netsurf-gtk2" + make_desktop_entry "${EPREFIX}"/usr/bin/netsurf-gtk2 \ + NetSurf-gtk2 \ + netsurf \ + "Network;WebBrowser" + fi + if use gtk ; then + _emake TARGET=gtk3 DESTDIR="${D}" install + elog "netsurf gtk3 version has been installed as netsurf-gtk3" + make_desktop_entry "${EPREFIX}"/usr/bin/netsurf-gtk3 \ + NetSurf-gtk3 \ + netsurf \ + "Network;WebBrowser" + fi + + insinto /usr/share/pixmaps + doins frontends/gtk/res/netsurf.xpm +} |