diff options
Diffstat (limited to 'dev-libs/libnsfb')
-rw-r--r-- | dev-libs/libnsfb/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/libnsfb/libnsfb-0.2.0-r1.ebuild | 1 | ||||
-rw-r--r-- | dev-libs/libnsfb/libnsfb-0.2.1.ebuild | 52 |
3 files changed, 56 insertions, 1 deletions
diff --git a/dev-libs/libnsfb/Manifest b/dev-libs/libnsfb/Manifest index 1ad6b52b2438..100963f2358a 100644 --- a/dev-libs/libnsfb/Manifest +++ b/dev-libs/libnsfb/Manifest @@ -1,4 +1,6 @@ AUX libnsfb-0.1.0-autodetect.patch 734 BLAKE2B bba90c622e559b8238672068792a558ac408954b85cc9798b12163564837e4fb44ec80eca33ca856e5344fafeb862a3eff43bddca27a9ae7603478505982a440 SHA512 72f3af574fadf38a514a6f6d4d24246ad1e76d9c9daa9700f0b37cb465f7afd4e4d7fdde6e53657740db3a6f87f1e8bfaeb1b008c43462d67f224c728af98993 DIST libnsfb-0.2.0-src.tar.gz 82322 BLAKE2B d805478728015663b4bf9c8de018bda33dcd84a7ace7246c450a7c31cc3358f834ade21ac1df9f0ca0e4dcea1138369cc3cd9ac468ebb484cce139d4bc89441e SHA512 b90eca76c8dcb22e554e13b5bea4268e5c9fc6e4711bafa5acbed92cc83513c3a3965208b3956de250fb3013cc3db6a33922ded471fa7a24bde97f748d2212c5 -EBUILD libnsfb-0.2.0-r1.ebuild 1173 BLAKE2B 77786478bf9c16f0cb9cfd32aa8a2810c0f9b5e5514b40de69f2d8ccf3094ffe514acb1763399bcadf78a0b65a216e4cb982ea69dc291c89b16776872ce5f897 SHA512 fe3cf0b6f40d492d45f1230f0eceb9adacd4ef34d4031bcadc9e2ebf6fd68157016f2bb0e13eefa21b3f0675330129d7756bb109b0e740decb80bb4f714e1e26 +DIST libnsfb-0.2.1-src.tar.gz 82357 BLAKE2B 2904b8890fd1ce3f6eb8d327db09c7b38146d5d16499beecbe56efd762e33d6ee9da3394ed7923ad43a89fa41e45602ea4af2710dbf2f232b42a038ee90abdcc SHA512 f8965aeaab0d8e7c2676bac56ae67bdf6ef651ae84c62e01aeee888807f1edd7d65542cb14027a8f1a207155a1cc54ded9112a42bf9e7a8836956bba38d365ed +EBUILD libnsfb-0.2.0-r1.ebuild 1200 BLAKE2B d20cdbd2c4557fd6ee74b4b60e6726360a1a880e18397f383ddf09183fc219828dac79ef072d8be3993ff821285687eff58aa82d866203cddaab07de98e58b54 SHA512 286c61ac9f6b183a18b6a889c069b3e6c4efa56c05b8b7f5b4ee05733408852e35f37e10d4fcbd5c001b304b3ea39a8b8b95ec603c07dc0a42489a85c4c55334 +EBUILD libnsfb-0.2.1.ebuild 1192 BLAKE2B 979d8a75d13b92f6aa60894d880b35150be247660372c7cb9c6f964d034de2adb78bcf53af9581e8799786e6d7ef5ea2e4289b1220338dd613150db1779ced02 SHA512 959a10d04baa87295e90b75ef786982dddf4ed5b802fc6a59e2f05418b4c195b2ebd8f154ba9974187843440be8615131e24ccd1ca4954ed310f3625e2478ced MISC metadata.xml 167 BLAKE2B e4dadf27fd344484f2bccb5b904909c89aac568c32e5b3c44bdf139eacefd4b4fae74419f503d2b7da0dccc1b68ba05d777d11292c0f89270d1ac5c9c703e8ca SHA512 7c8decb24ee3a850e38186cf3c7f8933a28017426806870ad6ef9ceb2533be147a2681fc789b535a81cb528af8c29d90d3006e4f250aee23bd7dea4561294e33 diff --git a/dev-libs/libnsfb/libnsfb-0.2.0-r1.ebuild b/dev-libs/libnsfb/libnsfb-0.2.0-r1.ebuild index 29f239271066..8fa09879cae0 100644 --- a/dev-libs/libnsfb/libnsfb-0.2.0-r1.ebuild +++ b/dev-libs/libnsfb/libnsfb-0.2.0-r1.ebuild @@ -13,6 +13,7 @@ LICENSE="MIT" SLOT="0/${PV}" KEYWORDS="~amd64 ~arm ~ppc ~ppc64" IUSE="sdl test vnc wayland xcb" +RESTRICT="!test? ( test )" RDEPEND="sdl? ( >=media-libs/libsdl-1.2.15-r4 ) vnc? ( >=net-libs/libvncserver-0.9.9-r2 ) diff --git a/dev-libs/libnsfb/libnsfb-0.2.1.ebuild b/dev-libs/libnsfb/libnsfb-0.2.1.ebuild new file mode 100644 index 000000000000..9c7ec5bfe438 --- /dev/null +++ b/dev-libs/libnsfb/libnsfb-0.2.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="framebuffer abstraction library, written in C" +HOMEPAGE="http://www.netsurf-browser.org/projects/libnsfb/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64" +IUSE="sdl test vnc wayland xcb" + +RESTRICT="!test? ( test )" + +RDEPEND="sdl? ( >=media-libs/libsdl-1.2.15-r4 ) + vnc? ( >=net-libs/libvncserver-0.9.9-r2 ) + wayland? ( >=dev-libs/wayland-1.0.6 ) + xcb? ( + >=x11-libs/libxcb-1.9.1 + >=x11-libs/xcb-util-0.3.9-r1 + >=x11-libs/xcb-util-image-0.3.9-r1 + >=x11-libs/xcb-util-keysyms-0.3.9-r1 + )" +BDEPEND=" + dev-util/netsurf-buildsystem" + +PATCHES=( "${FILESDIR}"/${PN}-0.1.0-autodetect.patch ) + +DOCS=( usage ) + +_emake() { + source /usr/share/netsurf-buildsystem/gentoo-helpers.sh + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared \ + WITH_VNC=$(usex vnc) \ + WITH_SDL=$(usex sdl) \ + WITH_XCB=$(usex xcb) \ + WITH_WLD=$(usex wayland) \ + $@ +} + +src_compile() { + _emake +} + +src_install() { + _emake DESTDIR="${ED}" install +} |