blob: 45ae79305ab1c384fe92ed0c223a8bc824fa0a2a [file] [log] [blame]
Brad Bishop23eaf032019-11-20 05:15:02 -05001SUMMARY = "Simple web browser"
2DESCRIPTION = "Simple open source web browser based on WebKit2/GTK"
3HOMEPAGE = "https://surf.suckless.org/"
4SECTION = "x11/graphics"
5LICENSE = "MIT"
William A. Kennington IIIb95905d2021-06-02 12:40:56 -07006LIC_FILES_CHKSUM = "file://LICENSE;md5=2a6f86d002ae9ae1eb1ccc466289f146"
Brad Bishop23eaf032019-11-20 05:15:02 -05007
William A. Kennington IIIb95905d2021-06-02 12:40:56 -07008DEPENDS = "webkitgtk gtk+3 glib-2.0 gcr"
Brad Bishop23eaf032019-11-20 05:15:02 -05009
Brad Bishope42b3e32020-01-15 22:08:42 -050010REQUIRED_DISTRO_FEATURES = "x11 opengl"
Brad Bishop23eaf032019-11-20 05:15:02 -050011
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070012SRCREV = "bcd7d74e613fb8af11b40c351f0a6c1a771b2d2b"
Andrew Geissler595f6302022-01-24 19:11:47 +000013SRC_URI = "git://git.suckless.org/surf;branch=surf-webkit2 \
14 "
Patrick Williams7784c422022-11-17 07:29:11 -060015SRC_URI += "${@bb.utils.contains('PACKAGECONFIG', 'soup3', 'file://0001-config.mk-Fix-compiler-and-linker.patch file://0001-config.ml-make-compatible-with-webkitgtk-2.34.0.patch', '', d)}"
Brad Bishop23eaf032019-11-20 05:15:02 -050016
17S = "${WORKDIR}/git"
18
Brad Bishop8410d612019-11-25 09:40:59 -050019inherit pkgconfig features_check
Brad Bishop23eaf032019-11-20 05:15:02 -050020
Patrick Williams7784c422022-11-17 07:29:11 -060021PACKAGECONFIG_SOUP ?= "soup3"
22PACKAGECONFIG ??= "${PACKAGECONFIG_SOUP}"
Andrew Geissler595f6302022-01-24 19:11:47 +000023
Patrick Williams7784c422022-11-17 07:29:11 -060024PACKAGECONFIG[soup2] = ",,,"
Andrew Geissler595f6302022-01-24 19:11:47 +000025PACKAGECONFIG[soup3] = ",,,"
26
Brad Bishop23eaf032019-11-20 05:15:02 -050027TARGET_CC_ARCH += "${LDFLAGS}"
28
29do_install () {
30 install -D -m 0755 ${S}/surf ${D}${bindir}/surf
31}