Brad Bishop | 23eaf03 | 2019-11-20 05:15:02 -0500 | [diff] [blame] | 1 | SUMMARY = "Simple web browser" |
| 2 | DESCRIPTION = "Simple open source web browser based on WebKit2/GTK" |
| 3 | HOMEPAGE = "https://surf.suckless.org/" |
| 4 | SECTION = "x11/graphics" |
| 5 | LICENSE = "MIT" |
William A. Kennington III | b95905d | 2021-06-02 12:40:56 -0700 | [diff] [blame] | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2a6f86d002ae9ae1eb1ccc466289f146" |
Brad Bishop | 23eaf03 | 2019-11-20 05:15:02 -0500 | [diff] [blame] | 7 | |
William A. Kennington III | b95905d | 2021-06-02 12:40:56 -0700 | [diff] [blame] | 8 | DEPENDS = "webkitgtk gtk+3 glib-2.0 gcr" |
Brad Bishop | 23eaf03 | 2019-11-20 05:15:02 -0500 | [diff] [blame] | 9 | |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 10 | REQUIRED_DISTRO_FEATURES = "x11 opengl" |
Brad Bishop | 23eaf03 | 2019-11-20 05:15:02 -0500 | [diff] [blame] | 11 | |
William A. Kennington III | b95905d | 2021-06-02 12:40:56 -0700 | [diff] [blame] | 12 | SRCREV = "bcd7d74e613fb8af11b40c351f0a6c1a771b2d2b" |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 13 | SRC_URI = "git://git.suckless.org/surf;branch=surf-webkit2 \ |
| 14 | " |
Patrick Williams | 7784c42 | 2022-11-17 07:29:11 -0600 | [diff] [blame] | 15 | SRC_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 Bishop | 23eaf03 | 2019-11-20 05:15:02 -0500 | [diff] [blame] | 16 | |
| 17 | S = "${WORKDIR}/git" |
| 18 | |
Brad Bishop | 8410d61 | 2019-11-25 09:40:59 -0500 | [diff] [blame] | 19 | inherit pkgconfig features_check |
Brad Bishop | 23eaf03 | 2019-11-20 05:15:02 -0500 | [diff] [blame] | 20 | |
Patrick Williams | 7784c42 | 2022-11-17 07:29:11 -0600 | [diff] [blame] | 21 | PACKAGECONFIG_SOUP ?= "soup3" |
| 22 | PACKAGECONFIG ??= "${PACKAGECONFIG_SOUP}" |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 23 | |
Patrick Williams | 7784c42 | 2022-11-17 07:29:11 -0600 | [diff] [blame] | 24 | PACKAGECONFIG[soup2] = ",,," |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 25 | PACKAGECONFIG[soup3] = ",,," |
| 26 | |
Brad Bishop | 23eaf03 | 2019-11-20 05:15:02 -0500 | [diff] [blame] | 27 | TARGET_CC_ARCH += "${LDFLAGS}" |
| 28 | |
| 29 | do_install () { |
| 30 | install -D -m 0755 ${S}/surf ${D}${bindir}/surf |
| 31 | } |