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 | |
| 12 | SRC_URI = "git://git.suckless.org/surf;branch=surf-webkit2 \ |
| 13 | file://0001-config.mk-Fix-compiler-and-linker.patch \ |
| 14 | " |
William A. Kennington III | b95905d | 2021-06-02 12:40:56 -0700 | [diff] [blame] | 15 | SRCREV = "bcd7d74e613fb8af11b40c351f0a6c1a771b2d2b" |
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 | |
| 21 | TARGET_CC_ARCH += "${LDFLAGS}" |
| 22 | |
| 23 | do_install () { |
| 24 | install -D -m 0755 ${S}/surf ${D}${bindir}/surf |
| 25 | } |