diff options
author | Michael Orlitzky <mjo@gentoo.org> | 2020-06-17 08:06:51 -0400 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2020-06-17 09:38:19 -0400 |
commit | 32aa5ca9e478146f1f4f0fb50c93808f98a9e85f (patch) | |
tree | e4861ff90abe5ba7abdbdb794fb5cedc18fe8e53 /dev-libs/libnsfb | |
parent | dev-libs/libcss: new version 0.9.1. (diff) | |
download | gentoo-32aa5ca9e478146f1f4f0fb50c93808f98a9e85f.tar.gz gentoo-32aa5ca9e478146f1f4f0fb50c93808f98a9e85f.tar.bz2 gentoo-32aa5ca9e478146f1f4f0fb50c93808f98a9e85f.zip |
dev-libs/libnsfb: new version 0.2.2.
This new version fixes the install-time mixup between $D and $ED. When
combined with the latest netsurf-buildsystem, this should allow the
use of emerge --root=<whatever>.
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'dev-libs/libnsfb')
-rw-r--r-- | dev-libs/libnsfb/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libnsfb/libnsfb-0.2.2.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-libs/libnsfb/Manifest b/dev-libs/libnsfb/Manifest index 5bd4010f013b..6dad53965675 100644 --- a/dev-libs/libnsfb/Manifest +++ b/dev-libs/libnsfb/Manifest @@ -1,2 +1,3 @@ DIST libnsfb-0.2.0-src.tar.gz 82322 BLAKE2B d805478728015663b4bf9c8de018bda33dcd84a7ace7246c450a7c31cc3358f834ade21ac1df9f0ca0e4dcea1138369cc3cd9ac468ebb484cce139d4bc89441e SHA512 b90eca76c8dcb22e554e13b5bea4268e5c9fc6e4711bafa5acbed92cc83513c3a3965208b3956de250fb3013cc3db6a33922ded471fa7a24bde97f748d2212c5 DIST libnsfb-0.2.1-src.tar.gz 82357 BLAKE2B 2904b8890fd1ce3f6eb8d327db09c7b38146d5d16499beecbe56efd762e33d6ee9da3394ed7923ad43a89fa41e45602ea4af2710dbf2f232b42a038ee90abdcc SHA512 f8965aeaab0d8e7c2676bac56ae67bdf6ef651ae84c62e01aeee888807f1edd7d65542cb14027a8f1a207155a1cc54ded9112a42bf9e7a8836956bba38d365ed +DIST libnsfb-0.2.2-src.tar.gz 82594 BLAKE2B 6deb775e77df71fbcefac6ef8755484bed476b652ae5dc3fe8914b859262ea1f6ee49da9d27a5a1bf34256481c58dd98339f0eb96511dcdc44cff2bef9ef6a7a SHA512 8cd16c0ca974aad8105dc32c8ebd627cf24f6d3bd81360515c2e0159e35328920e91039bb06ab4f52c93264c2112d0e130761e3837ba26fc703caeb52bf27b66 diff --git a/dev-libs/libnsfb/libnsfb-0.2.2.ebuild b/dev-libs/libnsfb/libnsfb-0.2.2.ebuild new file mode 100644 index 000000000000..00a4530174dd --- /dev/null +++ b/dev-libs/libnsfb/libnsfb-0.2.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="C library for framebuffer abstraction" +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 X" + +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 ) + X? ( + >=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 X) \ + WITH_WLD=$(usex wayland) \ + $@ +} + +src_compile() { + _emake +} + +src_install() { + _emake DESTDIR="${D}" install +} |