Commit 6ec1d5c6 authored by jbeich's avatar jbeich
Browse files
parent 0cf52c51
......@@ -116,6 +116,7 @@
SUBDIR += alog
SUBDIR += amd64-gcc
SUBDIR += amd64-xtoolchain-gcc
SUBDIR += aml
SUBDIR += amqp-cpp
SUBDIR += android-tools-adb
SUBDIR += android-tools-fastboot
......
# $FreeBSD$
PORTNAME= aml
PORTVERSION= s20200716
CATEGORIES= devel
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Another Main Loop
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim
USES= compiler:c11 meson pkgconfig
USE_GITHUB= yes
USE_LDCONFIG= yes
GH_ACCOUNT= any1
GH_TAGNAME= 1e3bdb9
.include <bsd.port.mk>
TIMESTAMP = 1594909246
SHA256 (any1-aml-s20200716-1e3bdb9_GH0.tar.gz) = 8f291bff7a7bc2fa84988bce976f4053e6aa7e7bcf35ea7494abbe51102b30ea
SIZE (any1-aml-s20200716-1e3bdb9_GH0.tar.gz) = 18941
Andri's Main Loop
Goals:
* Portability
* Utility
* Simplicity
Non-goals:
* MS Windows (TM) support
* Solving the C10K problem
Features:
* File descriptor event handlers
* Timers
* Tickers
* Signal handlers
* Idle dispatch callbacks
* Thread pool
* Interoperability with other event loops
WWW: https://github.com/any1/aml
include/aml.h
lib/libaml.so
lib/libaml.so.0
lib/libaml.so.0.0.0
libdata/pkgconfig/aml.pc
......@@ -2,8 +2,8 @@
PORTNAME= neatvnc
DISTVERSIONPREFIX= v
DISTVERSION= 0.1.0
PORTREVISION= 1
DISTVERSION= 0.1.0-54
DISTVERSIONSUFFIX= -g33eda8c
CATEGORIES= net
MAINTAINER= jbeich@FreeBSD.org
......@@ -13,7 +13,7 @@ LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/include/libdrm/drm_fourcc.h:graphics/libdrm
LIB_DEPENDS= libuv.so:devel/libuv
LIB_DEPENDS= libaml.so:devel/aml
USES= compiler:c11 meson pkgconfig xorg
USE_GITHUB= yes
......@@ -28,6 +28,6 @@ GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
GNUTLS_MESON_ENABLED= tls
JPEG_LIB_DEPENDS= libturbojpeg.so:graphics/libjpeg-turbo
JPEG_MESON_ENABLED= tight-encoding
JPEG_MESON_ENABLED= jpeg
.include <bsd.port.mk>
TIMESTAMP = 1582326259
SHA256 (any1-neatvnc-v0.1.0_GH0.tar.gz) = b2a99cd85ad5414f7d8a5203107d1ce6b65d57bec8d28d1efc7362de8b4c7923
SIZE (any1-neatvnc-v0.1.0_GH0.tar.gz) = 633304
TIMESTAMP = 1594498587
SHA256 (any1-neatvnc-v0.1.0-54-g33eda8c_GH0.tar.gz) = cc7fbce9b9e79a2b370d4698e063301d013cbf08e2945e06da4e13167a51ed3c
SIZE (any1-neatvnc-v0.1.0-54-g33eda8c_GH0.tar.gz) = 548786
Revert https://github.com/any1/neatvnc/commit/a43bb5d3d438 in favor of CPUTYPE.
Not all i386 and amd64 support AVX and not all armv6 support NEON.
amd64 implies SSE2 while not all armv6 have NEON.
https://github.com/any1/wayvnc/issues/34
--- meson.build.orig 2020-02-21 23:04:19 UTC
--- meson.build.orig 2020-07-11 20:16:27 UTC
+++ meson.build
@@ -19,16 +19,6 @@ if buildtype == 'release' or buildtype == 'plain'
@@ -21,14 +21,6 @@ if buildtype != 'debug' and buildtype != 'debugoptimiz
c_args += '-DNDEBUG'
endif
-cpu = host_machine.cpu_family()
-
-if cpu == 'x86_64'
- c_args += '-mavx'
- c_args += '-m' + get_option('x86_64-simd')
-elif cpu == 'arm'
- c_args += '-mfpu=neon'
-endif
-
-add_project_arguments(c_args, language: 'c')
-
cc = meson.get_compiler('c')
add_project_arguments(c_args, language: 'c')
libm = cc.find_library('m', required: false)
cc = meson.get_compiler('c')
......@@ -2,23 +2,19 @@
PORTNAME= wayvnc
DISTVERSIONPREFIX= v
DISTVERSION= 0.1.2
PORTREVISION= 1
DISTVERSION= 0.1.2-140
DISTVERSIONSUFFIX= -g1bc095b
CATEGORIES= net
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= 720b127dee00.patch:-p1 # https://github.com/any1/wayvnc/pull/31
PATCHFILES+= d61007661480.patch:-p1 # https://github.com/any1/wayvnc/pull/31
MAINTAINER= jbeich@FreeBSD.org
COMMENT= VNC server for wlroots-based compositors
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \
${LOCALBASE}/include/libdrm/drm_fourcc.h:graphics/libdrm
LIB_DEPENDS= libuv.so:devel/libuv \
BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto
LIB_DEPENDS= libaml.so:devel/aml \
libdrm.so:graphics/libdrm \
libwayland-client.so:graphics/wayland \
libneatvnc.so:net/neatvnc \
libxkbcommon.so:x11/libxkbcommon
......@@ -26,10 +22,9 @@ LIB_DEPENDS= libuv.so:devel/libuv \
USES= compiler:c11 meson pkgconfig xorg
USE_GITHUB= yes
USE_XORG= pixman
USE_GL= egl glesv2
USE_GL= gbm
USE_LDCONFIG= yes
GH_ACCOUNT= any1
PLIST_FILES= bin/${PORTNAME}
PORTDATA= *
.include <bsd.port.mk>
TIMESTAMP = 1583590742
SHA256 (any1-wayvnc-v0.1.2_GH0.tar.gz) = 0ba19a279b62d1907a62e813183c7b10af6d4d1fcb4d274e26d6567956bb1349
SIZE (any1-wayvnc-v0.1.2_GH0.tar.gz) = 32298
SHA256 (720b127dee00.patch) = a5d0061ea2abcd7516f4b9d7922f13dce3f39cf8f468b715583ebcd09e6c45f4
SIZE (720b127dee00.patch) = 802
SHA256 (d61007661480.patch) = 63dffe4c71f32eaf48047b0f17a236cb8517448f8803adfc5ad297967d272f11
SIZE (d61007661480.patch) = 1877
TIMESTAMP = 1594910096
SHA256 (any1-wayvnc-v0.1.2-140-g1bc095b_GH0.tar.gz) = afc406d7329ab83aac7872a88dcd29ffc4d187c0e038badb077ab1e1ea209481
SIZE (any1-wayvnc-v0.1.2-140-g1bc095b_GH0.tar.gz) = 41893
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment