multimedia/libvpx: update 1.14.0

Changes:	https://chromium.googlesource.com/webm/libvpx/+log/v1.13.1..v1.14.0
Reported by:	portscout
This commit is contained in:
Jan Beich 2024-01-09 22:12:22 +01:00
parent 411de5f850
commit 589aaaeb09
50 changed files with 141 additions and 98 deletions

View file

@ -1,6 +1,7 @@
PORTNAME= baresip PORTNAME= baresip
DISTVERSIONPREFIX= v DISTVERSIONPREFIX= v
DISTVERSION= 3.6.0 DISTVERSION= 3.6.0
PORTREVISION= 1
CATEGORIES= audio CATEGORIES= audio
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org

View file

@ -1,6 +1,6 @@
PORTNAME= opencascade PORTNAME= opencascade
DISTVERSION= 7.7.0 DISTVERSION= 7.7.0
PORTREVISION= 9 PORTREVISION= 10
CATEGORIES= cad science CATEGORIES= cad science
MASTER_SITES= LOCAL/thierry MASTER_SITES= LOCAL/thierry

View file

@ -1,7 +1,7 @@
PORTNAME= godot PORTNAME= godot
DISTVERSION= 4.1.2 DISTVERSION= 4.1.2
DISTVERSIONSUFFIX= -stable DISTVERSIONSUFFIX= -stable
PORTREVISION?= 0 PORTREVISION?= 1
CATEGORIES= devel games CATEGORIES= devel games
MAINTAINER= FreeBSD@Shaneware.biz MAINTAINER= FreeBSD@Shaneware.biz

View file

@ -1,7 +1,7 @@
PORTNAME= godot PORTNAME= godot
DISTVERSION= 3.5.3 DISTVERSION= 3.5.3
DISTVERSIONSUFFIX= -stable DISTVERSIONSUFFIX= -stable
PORTREVISION?= 0 PORTREVISION?= 1
CATEGORIES= devel games CATEGORIES= devel games
PKGNAMESUFFIX?= 35 PKGNAMESUFFIX?= 35

View file

@ -1,5 +1,6 @@
PORTNAME= aiortc PORTNAME= aiortc
PORTVERSION= 1.6.0 PORTVERSION= 1.6.0
PORTREVISION= 1
CATEGORIES= devel multimedia python www CATEGORIES= devel multimedia python www
MASTER_SITES= PYPI MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View file

@ -1,6 +1,6 @@
PORTNAME= vscode PORTNAME= vscode
DISTVERSION= 1.85.1 DISTVERSION= 1.85.1
PORTREVISION= 1 PORTREVISION= 2
CATEGORIES= editors CATEGORIES= editors
MASTER_SITES= https://github.com/tagattie/FreeBSD-VSCode/releases/download/${DISTVERSION}/:yarn_cache MASTER_SITES= https://github.com/tagattie/FreeBSD-VSCode/releases/download/${DISTVERSION}/:yarn_cache
DISTFILES= yarn-offline-cache-${DISTVERSION}${EXTRACT_SUFX}:yarn_cache \ DISTFILES= yarn-offline-cache-${DISTVERSION}${EXTRACT_SUFX}:yarn_cache \

View file

@ -1,6 +1,6 @@
PORTNAME= virtualbox-ose PORTNAME= virtualbox-ose
PORTVERSION= 5.2.44 PORTVERSION= 5.2.44
PORTREVISION?= 16 PORTREVISION?= 17
CATEGORIES= emulators CATEGORIES= emulators
MASTER_SITES= https://download.oracle.com/virtualbox/${PORTVERSION}/ MASTER_SITES= https://download.oracle.com/virtualbox/${PORTVERSION}/
PKGNAMESUFFIX?= -legacy PKGNAMESUFFIX?= -legacy

View file

@ -1,6 +1,6 @@
PORTNAME= virtualbox-ose PORTNAME= virtualbox-ose
PORTVERSION= 6.1.50 PORTVERSION= 6.1.50
PORTREVISION?= 0 PORTREVISION?= 1
CATEGORIES= emulators CATEGORIES= emulators
MASTER_SITES= https://download.virtualbox.org/virtualbox/${PORTVERSION}/ MASTER_SITES= https://download.virtualbox.org/virtualbox/${PORTVERSION}/
DISTFILES= VirtualBox-${PORTVERSION}${EXTRACT_SUFX} ${GUESTADDITIONS} DISTFILES= VirtualBox-${PORTVERSION}${EXTRACT_SUFX} ${GUESTADDITIONS}

View file

@ -1,5 +1,6 @@
PORTNAME= NBlood PORTNAME= NBlood
DISTVERSION= r13934 DISTVERSION= r13934
PORTREVISION= 1
CATEGORIES= games CATEGORIES= games
MAINTAINER= pkubaj@FreeBSD.org MAINTAINER= pkubaj@FreeBSD.org

View file

@ -1,5 +1,6 @@
PORTNAME= eduke32 PORTNAME= eduke32
PORTVERSION= 20231007 PORTVERSION= 20231007
PORTREVISION= 1
CATEGORIES= games CATEGORIES= games
MASTER_SITES= http://dukeworld.com/eduke32/synthesis/${PORTVERSION}-${GITREVISION}/:eduke32 \ MASTER_SITES= http://dukeworld.com/eduke32/synthesis/${PORTVERSION}-${GITREVISION}/:eduke32 \
LOCAL/pkubaj/:erp \ LOCAL/pkubaj/:erp \

View file

@ -2,7 +2,7 @@ PORTNAME= openbor
# Hint: svn revision is git rev-list --count ${GH_TAGNAME} # Hint: svn revision is git rev-list --count ${GH_TAGNAME}
PORTVERSION?= 7534 PORTVERSION?= 7534
.ifndef PKGNAMESUFFIX .ifndef PKGNAMESUFFIX
PORTREVISION= 0 PORTREVISION= 1
.endif .endif
CATEGORIES= games CATEGORIES= games

View file

@ -1,5 +1,5 @@
PORTVERSION= 4432 PORTVERSION= 4432
PORTREVISION= 5 PORTREVISION= 6
PKGNAMESUFFIX= ${PORTVERSION} PKGNAMESUFFIX= ${PORTVERSION}
MASTERDIR= ${.CURDIR}/../openbor MASTERDIR= ${.CURDIR}/../openbor

View file

@ -1,5 +1,5 @@
PORTVERSION= 7144 PORTVERSION= 7144
PORTREVISION= 0 PORTREVISION= 1
PKGNAMESUFFIX= ${PORTVERSION} PKGNAMESUFFIX= ${PORTVERSION}
MASTERDIR= ${.CURDIR}/../openbor MASTERDIR= ${.CURDIR}/../openbor

View file

@ -1,5 +1,6 @@
PORTNAME= scummvm PORTNAME= scummvm
PORTVERSION= 2.8.0 PORTVERSION= 2.8.0
PORTREVISION= 1
CATEGORIES= games emulators CATEGORIES= games emulators
MASTER_SITES= https://downloads.scummvm.org/frs/${PORTNAME}/${PORTVERSION}/ MASTER_SITES= https://downloads.scummvm.org/frs/${PORTNAME}/${PORTVERSION}/

View file

@ -1,5 +1,6 @@
PORTNAME= thunderbird PORTNAME= thunderbird
DISTVERSION= 115.7.0 DISTVERSION= 115.7.0
PORTREVISION= 1
CATEGORIES= mail news net-im wayland CATEGORIES= mail news net-im wayland
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \ MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build1/source MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build1/source

View file

@ -1,6 +1,6 @@
PORTNAME= avidemux PORTNAME= avidemux
PORTVERSION= ${AVIDEMUX_VERSION} PORTVERSION= ${AVIDEMUX_VERSION}
PORTREVISION= 4 PORTREVISION= 5
CATEGORIES= multimedia CATEGORIES= multimedia
PKGNAMESUFFIX= -plugins PKGNAMESUFFIX= -plugins

View file

@ -1,5 +1,5 @@
DISTVERSION= 4.8.0.72 DISTVERSION= 4.8.0.72
PORTREVISION= 0 PORTREVISION= 1
PKGNAMESUFFIX= -devel PKGNAMESUFFIX= -devel
DIST_SUBDIR= ${PORTNAME}${PKGNAMESUFFIX} DIST_SUBDIR= ${PORTNAME}${PKGNAMESUFFIX}

View file

@ -1,6 +1,6 @@
PORTNAME= emby-server PORTNAME= emby-server
DISTVERSION?= 4.7.14.0 DISTVERSION?= 4.7.14.0
PORTREVISION?= 8 PORTREVISION?= 9
CATEGORIES= multimedia CATEGORIES= multimedia
MASTER_SITES= https://github.com/MediaBrowser/Emby.Releases/releases/download/${DISTVERSION}/ \ MASTER_SITES= https://github.com/MediaBrowser/Emby.Releases/releases/download/${DISTVERSION}/ \
https://mediabrowser.github.io/embytools/ https://mediabrowser.github.io/embytools/

View file

@ -1,5 +1,6 @@
PORTNAME= ffmpeg PORTNAME= ffmpeg
PORTVERSION= 6.1.1 PORTVERSION= 6.1.1
PORTREVISION= 1
PORTEPOCH= 1 PORTEPOCH= 1
CATEGORIES= multimedia audio net CATEGORIES= multimedia audio net
MASTER_SITES= https://ffmpeg.org/releases/ MASTER_SITES= https://ffmpeg.org/releases/

View file

@ -1,6 +1,6 @@
PORTNAME= ffmpeg PORTNAME= ffmpeg
PORTVERSION= 4.4.4 PORTVERSION= 4.4.4
PORTREVISION= 9 PORTREVISION= 10
CATEGORIES= multimedia audio net CATEGORIES= multimedia audio net
MASTER_SITES= https://ffmpeg.org/releases/ MASTER_SITES= https://ffmpeg.org/releases/
PKGNAMESUFFIX= 4 PKGNAMESUFFIX= 4

View file

@ -1,4 +1,4 @@
PORTREVISION= 0 PORTREVISION= 1
CATEGORIES= multimedia CATEGORIES= multimedia
COMMENT= GStreamer vp8 codec plugin COMMENT= GStreamer vp8 codec plugin

View file

@ -1,5 +1,6 @@
PORTNAME= handbrake PORTNAME= handbrake
DISTVERSION= 1.7.2 DISTVERSION= 1.7.2
PORTREVISION= 1
CATEGORIES= multimedia CATEGORIES= multimedia
MASTER_SITES= https://github.com/HandBrake/HandBrake/releases/download/${DISTVERSION}/ MASTER_SITES= https://github.com/HandBrake/HandBrake/releases/download/${DISTVERSION}/
MASTER_SITES+= https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/:contrib MASTER_SITES+= https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/:contrib

View file

@ -1,6 +1,6 @@
PORTNAME= libvpx PORTNAME= libvpx
DISTVERSIONPREFIX= v DISTVERSIONPREFIX= v
DISTVERSION= 1.13.1 DISTVERSION= 1.14.0
CATEGORIES= multimedia CATEGORIES= multimedia
MAINTAINER= jbeich@FreeBSD.org MAINTAINER= jbeich@FreeBSD.org

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1696025174 TIMESTAMP = 1704834742
SHA256 (webmproject-libvpx-v1.13.1_GH0.tar.gz) = 00dae80465567272abd077f59355f95ac91d7809a2d3006f9ace2637dd429d14 SHA256 (webmproject-libvpx-v1.14.0_GH0.tar.gz) = 5f21d2db27071c8a46f1725928a10227ae45c5cd1cad3727e4aafbe476e321fa
SIZE (webmproject-libvpx-v1.13.1_GH0.tar.gz) = 5515662 SIZE (webmproject-libvpx-v1.14.0_GH0.tar.gz) = 5606471

View file

@ -1,10 +1,10 @@
- Make sure NEON is available when building with intrinsics - Make sure NEON is available when building with intrinsics
--- build/make/Makefile.orig --- build/make/Makefile.orig 2024-01-09 21:12:22 UTC
+++ build/make/Makefile +++ build/make/Makefile
@@ -142,6 +142,28 @@ $(BUILD_PFX)%_avx2.c.o: CFLAGS += -mavx2 @@ -151,6 +151,28 @@ $(BUILD_PFX)%_sve.c.o: CFLAGS += -march=armv8.2-a+dotp
$(BUILD_PFX)%_avx512.c.d: CFLAGS += -mavx512f -mavx512cd -mavx512bw -mavx512dq -mavx512vl $(BUILD_PFX)%_sve.c.d: CFLAGS += -march=armv8.2-a+dotprod+i8mm+sve
$(BUILD_PFX)%_avx512.c.o: CFLAGS += -mavx512f -mavx512cd -mavx512bw -mavx512dq -mavx512vl $(BUILD_PFX)%_sve.c.o: CFLAGS += -march=armv8.2-a+dotprod+i8mm+sve
+# ARM +# ARM
+ifeq ($(TGT_ISA),armv6) +ifeq ($(TGT_ISA),armv6)
@ -31,7 +31,7 @@
# POWER # POWER
$(BUILD_PFX)%_vsx.c.d: CFLAGS += -maltivec -mvsx $(BUILD_PFX)%_vsx.c.d: CFLAGS += -maltivec -mvsx
$(BUILD_PFX)%_vsx.c.o: CFLAGS += -maltivec -mvsx $(BUILD_PFX)%_vsx.c.o: CFLAGS += -maltivec -mvsx
@@ -230,8 +230,8 @@ @@ -299,8 +321,8 @@ $(DIST_DIR)/$(1): $(2)
define install_map_template define install_map_template
$(DIST_DIR)/$(1): $(2) $(DIST_DIR)/$(1): $(2)
$(if $(quiet),@echo " [INSTALL] $$@") $(if $(quiet),@echo " [INSTALL] $$@")

View file

@ -2,9 +2,9 @@
- Recognize DragonFly as x86_64-linux-gcc target by default - Recognize DragonFly as x86_64-linux-gcc target by default
- Don't override -march= on armv6, armv7 and aarch64 - Don't override -march= on armv6, armv7 and aarch64
--- build/make/configure.sh.orig 2018-01-24 22:25:44 UTC --- build/make/configure.sh.orig 2024-01-09 21:12:22 UTC
+++ build/make/configure.sh +++ build/make/configure.sh
@@ -696,6 +696,14 @@ process_common_toolchain() { @@ -752,6 +752,14 @@ process_common_toolchain() {
aarch64*) aarch64*)
tgt_isa=arm64 tgt_isa=arm64
;; ;;
@ -19,7 +19,7 @@
armv7*-hardfloat* | armv7*-gnueabihf | arm-*-gnueabihf) armv7*-hardfloat* | armv7*-gnueabihf | arm-*-gnueabihf)
tgt_isa=armv7 tgt_isa=armv7
float_abi=hard float_abi=hard
@@ -767,7 +767,7 @@ process_common_toolchain() { @@ -806,7 +814,7 @@ process_common_toolchain() {
[ -z "$tgt_isa" ] && tgt_isa=x86 [ -z "$tgt_isa" ] && tgt_isa=x86
tgt_os=win32 tgt_os=win32
;; ;;
@ -28,18 +28,18 @@
tgt_os=linux tgt_os=linux
;; ;;
*solaris2.10) *solaris2.10)
@@ -914,7 +922,7 @@ process_common_toolchain() { @@ -997,7 +1005,7 @@ EOF
arm64|armv8) fi
soft_enable neon done
;; ;;
- armv7|armv7s) - armv7|armv7s)
+ armv6|armv7|armv7s) + armv6|armv7|armv7s)
soft_enable neon soft_enable neon
# Only enable neon_asm when neon is also enabled. # Only enable neon_asm when neon is also enabled.
enabled neon && soft_enable neon_asm enabled neon && soft_enable neon_asm
@@ -935,29 +943,6 @@ @@ -1017,29 +1025,6 @@ EOF
arch_int=${tgt_isa##armv}
arch_int=${arch_int%%te} arch_int=${arch_int%%te}
check_add_asflags --defsym ARCHITECTURE=${arch_int}
tune_cflags="-mtune=" tune_cflags="-mtune="
- if [ ${tgt_isa} = "armv7" ] || [ ${tgt_isa} = "armv7s" ]; then - if [ ${tgt_isa} = "armv7" ] || [ ${tgt_isa} = "armv7s" ]; then
- if [ -z "${float_abi}" ]; then - if [ -z "${float_abi}" ]; then
@ -65,5 +65,5 @@
- fi - fi
- -
enabled debug && add_asflags -g enabled debug && add_asflags -g
asm_conversion_cmd="${source_path}/build/make/ads2gas.pl" asm_conversion_cmd="${source_path_mk}/build/make/ads2gas.pl"
if enabled thumb; then

View file

@ -2,17 +2,17 @@
- --version is a GNUism which BSD diff doesn't support - --version is a GNUism which BSD diff doesn't support
- Skip bogus NEON check when soft-enabled on armv6 - Skip bogus NEON check when soft-enabled on armv6
--- configure.orig 2023-02-08 01:33:51 UTC --- configure.orig 2024-01-09 21:12:22 UTC
+++ configure +++ configure
@@ -107,6 +107,7 @@ all_platforms="${all_platforms} arm64-win64-vs17" @@ -110,6 +110,7 @@ all_platforms="${all_platforms} arm64-win64-vs17-clang
all_platforms="${all_platforms} arm64-win64-vs15" all_platforms="${all_platforms} arm64-win64-vs16-clangcl"
all_platforms="${all_platforms} arm64-win64-vs16"
all_platforms="${all_platforms} arm64-win64-vs17" all_platforms="${all_platforms} arm64-win64-vs17"
all_platforms="${all_platforms} arm64-win64-vs17-clangcl"
+all_platforms="${all_platforms} armv6-linux-gcc" +all_platforms="${all_platforms} armv6-linux-gcc"
all_platforms="${all_platforms} armv7-android-gcc" #neon Cortex-A8 all_platforms="${all_platforms} armv7-android-gcc" #neon Cortex-A8
all_platforms="${all_platforms} armv7-darwin-gcc" #neon Cortex-A8 all_platforms="${all_platforms} armv7-darwin-gcc" #neon Cortex-A8
all_platforms="${all_platforms} armv7-linux-rvct" #neon Cortex-A8 all_platforms="${all_platforms} armv7-linux-rvct" #neon Cortex-A8
@@ -124,6 +125,7 @@ all_platforms="${all_platforms} ppc64le-linux-gcc" @@ -127,6 +128,7 @@ all_platforms="${all_platforms} ppc64le-linux-gcc"
all_platforms="${all_platforms} mips32-linux-gcc" all_platforms="${all_platforms} mips32-linux-gcc"
all_platforms="${all_platforms} mips64-linux-gcc" all_platforms="${all_platforms} mips64-linux-gcc"
all_platforms="${all_platforms} ppc64le-linux-gcc" all_platforms="${all_platforms} ppc64le-linux-gcc"
@ -20,7 +20,7 @@
all_platforms="${all_platforms} sparc-solaris-gcc" all_platforms="${all_platforms} sparc-solaris-gcc"
all_platforms="${all_platforms} x86-android-gcc" all_platforms="${all_platforms} x86-android-gcc"
all_platforms="${all_platforms} x86-darwin8-gcc" all_platforms="${all_platforms} x86-darwin8-gcc"
@@ -183,7 +185,7 @@ done @@ -187,7 +189,7 @@ done
[ -f "${source_path}/${t}.mk" ] && enable_feature ${t} [ -f "${source_path}/${t}.mk" ] && enable_feature ${t}
done done
@ -29,7 +29,7 @@
die "diff missing: Try installing diffutils via your package manager." die "diff missing: Try installing diffutils via your package manager."
fi fi
@@ -621,9 +623,6 @@ EOF @@ -633,9 +635,6 @@ EOF
check_header vpx/vpx_integer.h -I${source_path} && enable_feature vpx_ports check_header vpx/vpx_integer.h -I${source_path} && enable_feature vpx_ports

View file

@ -1,6 +1,6 @@
--- libs.mk.orig 2017-01-12 20:27:27 UTC --- libs.mk.orig 2024-01-09 21:12:22 UTC
+++ libs.mk +++ libs.mk
@@ -339,8 +339,8 @@ else @@ -408,8 +408,8 @@ endif
$(qexec)echo 'Libs.private: -lm' >> $@ $(qexec)echo 'Libs.private: -lm' >> $@
endif endif
$(qexec)echo 'Cflags: -I$${includedir}' >> $@ $(qexec)echo 'Cflags: -I$${includedir}' >> $@
@ -9,5 +9,5 @@
+INSTALL-LIBS-yes += libdata/pkgconfig/vpx.pc +INSTALL-LIBS-yes += libdata/pkgconfig/vpx.pc
+INSTALL_MAPS += libdata/pkgconfig/%.pc %.pc +INSTALL_MAPS += libdata/pkgconfig/%.pc %.pc
CLEAN-OBJS += vpx.pc CLEAN-OBJS += vpx.pc
endif
ifeq ($(CONFIG_ENCODERS),yes)

View file

@ -0,0 +1,39 @@
- Assume NEON is enabled on armv7
- Implement runtime detection on FreeBSD
--- vpx_ports/aarch32_cpudetect.c.orig 2024-01-09 21:12:22 UTC
+++ vpx_ports/aarch32_cpudetect.c
@@ -12,7 +12,7 @@
#include "./vpx_config.h"
#include "arm_cpudetect.h"
-#if !CONFIG_RUNTIME_CPU_DETECT
+#if !CONFIG_RUNTIME_CPU_DETECT || defined(__ARM_NEON)
static int arm_get_cpu_caps(void) {
// This function should actually be a no-op. There is no way to adjust any of
@@ -57,9 +57,23 @@ static int arm_get_cpu_caps(void) {
return flags;
}
-#elif defined(__linux__) // end defined(AOM_USE_ANDROID_CPU_FEATURES)
+#elif defined(__linux__) || defined(__FreeBSD__) // end defined(AOM_USE_ANDROID_CPU_FEATURES)
#include <sys/auxv.h>
+
+#if defined(__FreeBSD__)
+static unsigned long getauxval(unsigned long type)
+{
+ /* Only AT_HWCAP* return unsigned long */
+ if (type != AT_HWCAP && type != AT_HWCAP2) {
+ return 0;
+ }
+
+ unsigned long ret = 0;
+ elf_aux_info(type, &ret, sizeof(ret));
+ return ret;
+}
+#endif
// Define hwcap values ourselves: building with an old auxv header where these
// hwcap values are not defined should not prevent features from being enabled.

View file

@ -0,0 +1,29 @@
- Implement runtime detection on FreeBSD
--- vpx_ports/aarch64_cpudetect.c.orig 2024-01-09 21:12:22 UTC
+++ vpx_ports/aarch64_cpudetect.c
@@ -91,9 +91,23 @@ static int arm_get_cpu_caps(void) {
return flags;
}
-#elif defined(__linux__) // end defined(VPX_USE_ANDROID_CPU_FEATURES)
+#elif defined(__linux__) || defined(__FreeBSD__) // end defined(VPX_USE_ANDROID_CPU_FEATURES)
#include <sys/auxv.h>
+
+#if defined(__FreeBSD__)
+static unsigned long getauxval(unsigned long type)
+{
+ /* Only AT_HWCAP* return unsigned long */
+ if (type != AT_HWCAP && type != AT_HWCAP2) {
+ return 0;
+ }
+
+ unsigned long ret = 0;
+ elf_aux_info(type, &ret, sizeof(ret));
+ return ret;
+}
+#endif
// Define hwcap values ourselves: building with an old auxv header where these
// hwcap values are not defined should not prevent features from being enabled.

View file

@ -1,38 +0,0 @@
--- vpx_ports/arm_cpudetect.c.orig 2021-03-18 19:59:46 UTC
+++ vpx_ports/arm_cpudetect.c
@@ -38,7 +38,7 @@ static int arm_cpu_env_mask(void) {
return env && *env ? (int)strtol(env, NULL, 0) : ~0;
}
-#if !CONFIG_RUNTIME_CPU_DETECT
+#if !CONFIG_RUNTIME_CPU_DETECT || defined(__ARM_NEON)
int arm_cpu_caps(void) {
/* This function should actually be a no-op. There is no way to adjust any of
@@ -147,7 +147,25 @@ int arm_cpu_caps(void) {
}
return flags & mask;
}
-#else /* end __linux__ */
+#elif defined(__FreeBSD__)
+
+#include <sys/auxv.h>
+
+int arm_cpu_caps(void) {
+ int flags;
+ int mask;
+ u_long hwcap = 0;
+ if (!arm_cpu_env_flags(&flags)) {
+ return flags;
+ }
+ mask = arm_cpu_env_mask();
+ elf_aux_info(AT_HWCAP, &hwcap, sizeof(hwcap));
+#if HAVE_NEON || HAVE_NEON_ASM
+ if (hwcap & HWCAP_NEON) flags |= HAS_NEON;
+#endif
+ return flags & mask;
+}
+#else /* end __FreeBSD__ */
#error \
"--enable-runtime-cpu-detect selected, but no CPU detection method " \
"available for your platform. Reconfigure with --disable-runtime-cpu-detect."

View file

@ -10,9 +10,10 @@ include/vpx/vpx_ext_ratectrl.h
include/vpx/vpx_frame_buffer.h include/vpx/vpx_frame_buffer.h
include/vpx/vpx_image.h include/vpx/vpx_image.h
include/vpx/vpx_integer.h include/vpx/vpx_integer.h
include/vpx/vpx_tpl.h
lib/libvpx.a lib/libvpx.a
lib/libvpx.so lib/libvpx.so
lib/libvpx.so.8 lib/libvpx.so.9
lib/libvpx.so.8.0 lib/libvpx.so.9.0
lib/libvpx.so.8.0.1 lib/libvpx.so.9.0.0
libdata/pkgconfig/vpx.pc libdata/pkgconfig/vpx.pc

View file

@ -1,6 +1,6 @@
PORTNAME= xine PORTNAME= xine
DISTVERSION= 1.2.13 DISTVERSION= 1.2.13
PORTREVISION= 6 PORTREVISION= 7
CATEGORIES= multimedia CATEGORIES= multimedia
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-lib/${DISTVERSION} MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-lib/${DISTVERSION}
PKGNAMEPREFIX= lib PKGNAMEPREFIX= lib

View file

@ -1,6 +1,6 @@
PORTNAME= vlc PORTNAME= vlc
DISTVERSION= 3.0.20 DISTVERSION= 3.0.20
PORTREVISION= 3 PORTREVISION= 4
PORTEPOCH= 4 PORTEPOCH= 4
CATEGORIES= multimedia audio net www CATEGORIES= multimedia audio net www
MASTER_SITES= https://get.videolan.org/${PORTNAME}/${DISTVERSION:S/a$//}/ \ MASTER_SITES= https://get.videolan.org/${PORTNAME}/${DISTVERSION:S/a$//}/ \

View file

@ -1,7 +1,7 @@
PORTNAME= toxcore-c PORTNAME= toxcore-c
DISTVERSIONPREFIX= v DISTVERSIONPREFIX= v
DISTVERSION= 0.2.0 DISTVERSION= 0.2.0
PORTREVISION= 5 PORTREVISION= 6
PORTEPOCH= 1 PORTEPOCH= 1
CATEGORIES= net-im net-p2p python CATEGORIES= net-im net-p2p python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View file

@ -1,7 +1,7 @@
PORTNAME= qTox PORTNAME= qTox
DISTVERSIONPREFIX= v DISTVERSIONPREFIX= v
DISTVERSION= 1.17.6 DISTVERSION= 1.17.6
PORTREVISION= 4 PORTREVISION= 5
CATEGORIES= net-im net-p2p CATEGORIES= net-im net-p2p
MAINTAINER= yuri@FreeBSD.org MAINTAINER= yuri@FreeBSD.org

View file

@ -1,5 +1,6 @@
PORTNAME= telegram-desktop PORTNAME= telegram-desktop
DISTVERSION= 4.14.4 DISTVERSION= 4.14.4
PORTREVISION= 1
CATEGORIES= net-im CATEGORIES= net-im
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/ MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/
DISTNAME= tdesktop-${DISTVERSION}-full DISTNAME= tdesktop-${DISTVERSION}-full

View file

@ -1,7 +1,7 @@
PORTNAME= toxcore PORTNAME= toxcore
PORTVERSION= 0.2.18 PORTVERSION= 0.2.18
DISTVERSIONPREFIX= v DISTVERSIONPREFIX= v
PORTREVISION= 3 PORTREVISION= 4
PORTEPOCH= 1 PORTEPOCH= 1
CATEGORIES= net-im net-p2p CATEGORIES= net-im net-p2p

View file

@ -1,7 +1,7 @@
PORTNAME= tox_extension_messages PORTNAME= tox_extension_messages
DISTVERSIONPREFIX= v DISTVERSIONPREFIX= v
DISTVERSION= 0.0.3 DISTVERSION= 0.0.3
PORTREVISION= 2 PORTREVISION= 3
CATEGORIES= net-im net-p2p CATEGORIES= net-im net-p2p
MAINTAINER= yuri@FreeBSD.org MAINTAINER= yuri@FreeBSD.org

View file

@ -1,7 +1,7 @@
PORTNAME= toxext PORTNAME= toxext
DISTVERSIONPREFIX= v DISTVERSIONPREFIX= v
DISTVERSION= 0.0.3 DISTVERSION= 0.0.3
PORTREVISION= 2 PORTREVISION= 3
CATEGORIES= net-im net-p2p CATEGORIES= net-im net-p2p
MAINTAINER= yuri@FreeBSD.org MAINTAINER= yuri@FreeBSD.org

View file

@ -1,7 +1,7 @@
PORTNAME= toxic PORTNAME= toxic
PORTVERSION= 0.11.3 PORTVERSION= 0.11.3
DISTVERSIONPREFIX= v DISTVERSIONPREFIX= v
PORTREVISION= 3 PORTREVISION= 4
CATEGORIES= net-im CATEGORIES= net-im
MAINTAINER= thierry@FreeBSD.org MAINTAINER= thierry@FreeBSD.org

View file

@ -1,7 +1,7 @@
PORTNAME= uTox PORTNAME= uTox
DISTVERSION= 0.17.2 DISTVERSION= 0.17.2
DISTVERSIONSUFFIX= -full DISTVERSIONSUFFIX= -full
PORTREVISION= 4 PORTREVISION= 5
CATEGORIES= net-im net-p2p CATEGORIES= net-im net-p2p
MASTER_SITES= https://github.com/uTox/uTox/releases/download/v${DISTVERSION}/ MASTER_SITES= https://github.com/uTox/uTox/releases/download/v${DISTVERSION}/

View file

@ -1,5 +1,6 @@
PORTNAME= mediastreamer PORTNAME= mediastreamer
DISTVERSION= 5.2.94 DISTVERSION= 5.2.94
PORTREVISION= 1
CATEGORIES= net CATEGORIES= net
MAINTAINER= bofh@FreeBSD.org MAINTAINER= bofh@FreeBSD.org

View file

@ -1,5 +1,6 @@
PORTNAME= pjsip PORTNAME= pjsip
DISTVERSION= 2.13.1 DISTVERSION= 2.13.1
PORTREVISION= 1
CATEGORIES= net CATEGORIES= net
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org

View file

@ -1,5 +1,6 @@
PORTNAME= firefox PORTNAME= firefox
DISTVERSION= 115.7.0 DISTVERSION= 115.7.0
PORTREVISION= 1
PORTEPOCH= 1 PORTEPOCH= 1
CATEGORIES= www wayland CATEGORIES= www wayland
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}esr/source \ MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}esr/source \

View file

@ -1,7 +1,7 @@
PORTNAME= firefox PORTNAME= firefox
DISTVERSION= 122.0 DISTVERSION= 122.0
PORTREVISION= 3
PORTEPOCH= 2 PORTEPOCH= 2
PORTREVISION= 2
CATEGORIES= www wayland CATEGORIES= www wayland
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}${DISTVERSIONSUFFIX}/source \ MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}${DISTVERSIONSUFFIX}/source \
MOZILLA/${PORTNAME}/candidates/${DISTVERSION}${DISTVERSIONSUFFIX}-candidates/build2/source MOZILLA/${PORTNAME}/candidates/${DISTVERSION}${DISTVERSIONSUFFIX}-candidates/build2/source

View file

@ -1,6 +1,6 @@
PORTNAME= librewolf PORTNAME= librewolf
DISTVERSION= 117.0.1-1 DISTVERSION= 117.0.1-1
PORTREVISION= 5 PORTREVISION= 6
CATEGORIES= www wayland CATEGORIES= www wayland
MASTER_SITES= https://gitlab.com/api/v4/projects/32320088/packages/generic/librewolf-source/${DISTVERSION:R}-1/ MASTER_SITES= https://gitlab.com/api/v4/projects/32320088/packages/generic/librewolf-source/${DISTVERSION:R}-1/
DISTNAME= ${PORTNAME}-${DISTVERSION:R}-1.source. DISTNAME= ${PORTNAME}-${DISTVERSION:R}-1.source.

View file

@ -19,7 +19,7 @@
PORTNAME= webengine PORTNAME= webengine
DISTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} DISTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH}
PORTREVISION= 2 PORTREVISION= 3
CATEGORIES= www CATEGORIES= www
PKGNAMEPREFIX= qt5- PKGNAMEPREFIX= qt5-

View file

@ -12,7 +12,7 @@
PORTNAME?= webengine PORTNAME?= webengine
DISTVERSION= ${QT6_VERSION} DISTVERSION= ${QT6_VERSION}
PORTREVISION?= 1 # Master port for print/qt6-pdf. Please keep this line. PORTREVISION?= 2 # Master port for print/qt6-pdf. Please keep this line.
CATEGORIES?= www CATEGORIES?= www
PKGNAMEPREFIX= qt6- PKGNAMEPREFIX= qt6-

View file

@ -1,6 +1,6 @@
PORTNAME= tor-browser PORTNAME= tor-browser
DISTVERSION= 13.0.1 DISTVERSION= 13.0.1
PORTREVISION= 4 PORTREVISION= 5
CATEGORIES= www net security wayland CATEGORIES= www net security wayland
MASTER_SITES= TOR \ MASTER_SITES= TOR \
https://build-sources.tbb.torproject.org/:source1 \ https://build-sources.tbb.torproject.org/:source1 \