Netsurf: fix packaging, enable some features (#3589)

* Netsurf: fix packaging, enable some features
This commit is contained in:
miqlas
2019-01-27 10:44:17 +01:00
committed by Adrien Destugues
parent 92755396d5
commit b61c1f31d7

View File

@@ -8,7 +8,7 @@ features including tabbed browsing, bookmarks and page thumbnailing."
HOMEPAGE="https://www.netsurf-browser.org/"
COPYRIGHT="2003-2018 The NetSurf Browser project"
LICENSE="GNU GPL v2"
REVISION="1"
REVISION="2"
# Do NOT use the netsurf-all package. It contains a bunch of subprojects which
# we build as separate packages so they can easily be used by other projects.
SOURCE_URI="https://download.netsurf-browser.org/netsurf/releases/source/netsurf-$portVersion-src.tar.gz"
@@ -34,6 +34,8 @@ REQUIRES="
lib:libjpeg$secondaryArchSuffix
lib:libnsbmp$secondaryArchSuffix
lib:libnsgif$secondaryArchSuffix
lib:libnslog$secondaryArchSuffix
lib:libnspsl$secondaryArchSuffix
lib:libnsutils$secondaryArchSuffix
lib:libparserutils$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
@@ -56,9 +58,11 @@ BUILD_REQUIRES="
devel:libjpeg$secondaryArchSuffix
devel:libnsbmp$secondaryArchSuffix
devel:libnsgif$secondaryArchSuffix
devel:libnslog$secondaryArchSuffix
devel:libnspsl$secondaryArchSuffix
devel:libnsutils$secondaryArchSuffix
devel:libparserutils$secondaryArchSuffix
devel:libpng$secondaryArchSuffix
devel:libpng16$secondaryArchSuffix
devel:libssl$secondaryArchSuffix
devel:libsvgtiny$secondaryArchSuffix
devel:libutf8proc$secondaryArchSuffix
@@ -85,7 +89,11 @@ BUILD()
INSTALL()
{
make TARGET=beos PREFIX=$prefix/ DESTDIR=$appsDir NETSURF_BEOS_BIN="/" \
make TARGET=beos PREFIX=$prefix/ DESTDIR=$appsDir NETSURF_BEOS_BIN="/" \
BUILD=release install
# Resources not needed since 3.6
rm -rf $appsDir/boot
addAppDeskbarSymlink $appsDir/NetSurf
}