summaryrefslogtreecommitdiff
path: root/dev-libs/libnsfb
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/libnsfb
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/libnsfb')
-rw-r--r--dev-libs/libnsfb/Manifest7
-rw-r--r--dev-libs/libnsfb/files/libnsfb-0.1.0-autodetect.patch21
-rw-r--r--dev-libs/libnsfb/libnsfb-0.1.5.ebuild39
-rw-r--r--dev-libs/libnsfb/metadata.xml8
4 files changed, 75 insertions, 0 deletions
diff --git a/dev-libs/libnsfb/Manifest b/dev-libs/libnsfb/Manifest
new file mode 100644
index 000000000000..659229def71c
--- /dev/null
+++ b/dev-libs/libnsfb/Manifest
@@ -0,0 +1,7 @@
+AUX libnsfb-0.1.0-autodetect.patch 734 SHA256 b5081541a30d28128863020c28d1a42e7645b5985fe780524b52ef3d18b626da SHA512 72f3af574fadf38a514a6f6d4d24246ad1e76d9c9daa9700f0b37cb465f7afd4e4d7fdde6e53657740db3a6f87f1e8bfaeb1b008c43462d67f224c728af98993 WHIRLPOOL 15ef7180aa4f20377ba05a8f3cf8947e09c5d4dbfcd5b503e0a1d48ee85dfe6e215c7e02906a8addbe4cb4f7a153806efe9aeeb542c17feb170cdcb89847c5bd
+DIST libnsfb-0.1.5-src.tar.gz 82897 SHA256 ce900d189635244d52cc0d2cfb74571e6bf0310ab7d06d98058e09e5e5cc6162 SHA512 7e1ff83552beb10fa44a05e34315502514c1eb9f160ec53f367d74718915400ac6630748704ffc2d4ea8633f74e0c446931042b6cbb7d9a2828a3cc565c872d4 WHIRLPOOL 3706b76e50d20069afc66d6b073de4ffc14347b1511c3073b179dc77d73107325dcc0538a05e28d9bebf915e6dfd856aa5619bd0c6286074a37bf39e0327eadc
+DIST netsurf-buildsystem-1.4.tar.gz 38067 SHA256 e66b7f09e91ac478e9f2c5c1aaf1f36ece9df0c3bbb1db910cd4c0461c47f7ad SHA512 2c804ad7bef70c987e1d393ee4041bffc9797893b4fd513c90a665027205a1f7eee0a7d86ddaf833a6ee18346d6fe69587190c4e6722afc4ed18ce87783c35fc WHIRLPOOL 1f98d45258d3ea5570f272368f72ed6b016434eb1ab399b0efb062dbe9d6257c3175aa51884eaf94a90bbc2c3a4c891a43170b8e93df01c540cbcdecdad13e5c
+EBUILD libnsfb-0.1.5.ebuild 1140 SHA256 72167b5c06fed89599835bd9aceb6fdc4d235347927f9b7ee56e81b870609031 SHA512 9bea716436afff46ecc3d67313c174fc9c7892eda87c17c63d7b2d3719dc22aef689899b3f5ea357e271401b3beb0ed3613740e390619daf003fde17c5fbfce2 WHIRLPOOL 5a707f1eab86310bbe1eeb9537c576dedd3d0a312bb8ea39cae7e84c93d2b2798ac1c07bf354cef650a7a7638d3bb007a146d88f8f6f3f746a940b70d1953676
+MISC ChangeLog 3358 SHA256 7627369b58a0e7082d4fe10ec56552ff79688c5b976b4a40cb4fa81c44495251 SHA512 cc1be2883afc76bfd659402d389e12ed72ccaa05de6eacfbdee5968bb604cf2fb0dde399782b05b6991970e63934a627b376c8fdce6f0a41f80f702d23d44659 WHIRLPOOL a10368d4507fd7f4e23b35537b854a29e08251cafbf1c50790a42bf6fe358b9d13a6cf3b84bb893df80fe4405bf0536d617fb4fd9ba4101866a772976d068e8e
+MISC ChangeLog-2015 2898 SHA256 3c5d360d005f8c79f896c8deb5a730e75bff00424b0437c8106404ed73387775 SHA512 1774d360d5f6ad61a6733d51a2068331287dccdaf063450ddc44ec142ede63ef063cf342e57aa233c82e3b5a98091e1be97a98ff87774e53421946ea831023b9 WHIRLPOOL df27158efaab3a4ad88b17e8123444cb9382274daf758e9864d3dbe13cb6e6f0bd5d653b4a9ef3e651a0a22ee74866df450e98a5a85c778fdc9b40f7172ffa7e
+MISC metadata.xml 237 SHA256 ffb571839c57797d282263369646d2bba2662601a45f7bb3251bb97f716554a6 SHA512 ae2360aa6b1b00c67e0acea4935c02b64585b9a15e126fec9d5d99637021c542c0a495e5116205f3da287def46fa5b19cb1a7f3042c12c5f7a78d66d92fcb03f WHIRLPOOL 60d6da846c983457e038ea5ba3c0bf48f939c9586610985a14cac9772fd1d45d781a643abc16482f232f3028e44fe99fe1a382deaebf6589602fc244a4460e3f
diff --git a/dev-libs/libnsfb/files/libnsfb-0.1.0-autodetect.patch b/dev-libs/libnsfb/files/libnsfb-0.1.0-autodetect.patch
new file mode 100644
index 000000000000..88a776dd85b8
--- /dev/null
+++ b/dev-libs/libnsfb/files/libnsfb-0.1.0-autodetect.patch
@@ -0,0 +1,21 @@
+--- libnsfb-0.1.0/Makefile
++++ libnsfb-0.1.0/Makefile
+@@ -23,10 +23,18 @@
+ NSFB_XCB_PKG_NAMES := xcb xcb-icccm xcb-image xcb-keysyms xcb-atom
+
+ # determine which surface handlers can be compiled based upon avalable library
++ifeq ($(WITH_VNC),yes)
+ $(eval $(call pkg_config_package_available,NSFB_VNC_AVAILABLE,libvncserver))
++endif
++ifeq ($(WITH_SDL),yes)
+ $(eval $(call pkg_config_package_available,NSFB_SDL_AVAILABLE,sdl))
++endif
++ifeq ($(WITH_XCB),yes)
+ $(eval $(call pkg_config_package_available,NSFB_XCB_AVAILABLE,$(NSFB_XCB_PKG_NAMES)))
++endif
++ifeq ($(WITH_WLD),yes)
+ $(eval $(call pkg_config_package_available,NSFB_WLD_AVAILABLE,wayland-client))
++endif
+
+ # surfaces not detectable via pkg-config
+ NSFB_ABLE_AVAILABLE := no
diff --git a/dev-libs/libnsfb/libnsfb-0.1.5.ebuild b/dev-libs/libnsfb/libnsfb-0.1.5.ebuild
new file mode 100644
index 000000000000..31d7b3ce4714
--- /dev/null
+++ b/dev-libs/libnsfb/libnsfb-0.1.5.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+NETSURF_BUILDSYSTEM=buildsystem-1.4
+inherit netsurf
+
+DESCRIPTION="framebuffer abstraction library, written in C"
+HOMEPAGE="http://www.netsurf-browser.org/projects/libnsfb/"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~ppc"
+IUSE="sdl test vnc wayland xcb"
+
+RDEPEND="sdl? ( >=media-libs/libsdl-1.2.15-r4[static-libs?,${MULTILIB_USEDEP}] )
+ vnc? ( >=net-libs/libvncserver-0.9.9-r2[static-libs?,${MULTILIB_USEDEP}] )
+ wayland? ( >=dev-libs/wayland-1.0.6[static-libs?,${MULTILIB_USEDEP}] )
+ xcb? ( >=x11-libs/libxcb-1.9.1[static-libs?,${MULTILIB_USEDEP}]
+ >=x11-libs/xcb-util-0.3.9-r1[static-libs?,${MULTILIB_USEDEP}]
+ >=x11-libs/xcb-util-image-0.3.9-r1[static-libs?,${MULTILIB_USEDEP}]
+ >=x11-libs/xcb-util-keysyms-0.3.9-r1[static-libs?,${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.1.0-autodetect.patch )
+
+DOCS=( usage )
+
+src_configure() {
+ netsurf_src_configure
+
+ netsurf_makeconf+=(
+ WITH_VNC=$(usex vnc)
+ WITH_SDL=$(usex sdl)
+ WITH_XCB=$(usex xcb)
+ WITH_WLD=$(usex wayland)
+ )
+}
diff --git a/dev-libs/libnsfb/metadata.xml b/dev-libs/libnsfb/metadata.xml
new file mode 100644
index 000000000000..a535b8852829
--- /dev/null
+++ b/dev-libs/libnsfb/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+</pkgmetadata>