Page MenuHomeFreeBSD

No OneTemporary

diff --git a/Mk/Uses/minizip.mk b/Mk/Uses/minizip.mk
new file mode 100644
index 000000000000..737df835d698
--- /dev/null
+++ b/Mk/Uses/minizip.mk
@@ -0,0 +1,19 @@
+# handle minizip version
+#
+# Feature: minizip
+# Usage: USES=minizip[:ng]
+#
+# MAINTAINER: lbartoletti@FreeBSD.org
+
+.if !defined(_INCLUDE_USES_MINIZIP_MK)
+_INCLUDE_USES_MINIZIP_MK= yes
+
+. if empty(minizip_ARGS)
+LIB_DEPENDS+= libminizip.so:archivers/minizip
+. elif ${minizip_ARGS} == "ng"
+LIB_DEPENDS+= libminizip-ng.so:archivers/minizip-ng
+. else
+IGNORE= Incorrect 'USES+=minizip:${minizip_ARGS}' expecting 'USES+=minizip[:ng]'
+. endif
+
+.endif
diff --git a/archivers/Makefile b/archivers/Makefile
index 3a2dcaf3d8f5..6e08a110e69d 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -1,274 +1,276 @@
COMMENT = Archivers
SUBDIR += 7-zip
SUBDIR += 9e
SUBDIR += R-cran-zip
SUBDIR += advancecomp
SUBDIR += amigadepacker
SUBDIR += arc
SUBDIR += arj
SUBDIR += ark
SUBDIR += atool
SUBDIR += bicom
SUBDIR += brotli
SUBDIR += bzip
SUBDIR += bzip2
SUBDIR += c-blosc
SUBDIR += c-blosc2
SUBDIR += cabextract
SUBDIR += cmdpack
SUBDIR += dact
SUBDIR += deb2targz
SUBDIR += deco
SUBDIR += deutex
SUBDIR += dpkg
SUBDIR += draco
SUBDIR += dzip
SUBDIR += engrampa
SUBDIR += erlang-snappy
SUBDIR += fastjar
SUBDIR += file-roller
SUBDIR += fpc-bzip2
SUBDIR += fpc-unzip
SUBDIR += gcab
SUBDIR += gcpio
SUBDIR += gnome-autoar
SUBDIR += grzip
SUBDIR += gtar
SUBDIR += gzip
SUBDIR += gzip-hpp
SUBDIR += gzrecover
SUBDIR += ha
SUBDIR += hlextract
SUBDIR += innoextract
SUBDIR += javatar
SUBDIR += jzlib
SUBDIR += kf5-karchive
SUBDIR += kzip
SUBDIR += laszip
SUBDIR += lazperf
SUBDIR += lbrate
SUBDIR += lbzip2
SUBDIR += lcab
SUBDIR += lha
SUBDIR += lha-ac
SUBDIR += lhasa
SUBDIR += lib1541img
SUBDIR += libarc
SUBDIR += libarchive
SUBDIR += libarchive-qt
SUBDIR += libcabinet
SUBDIR += libcomprex
SUBDIR += libdeflate
SUBDIR += libdynamite
SUBDIR += liblz4
SUBDIR += liblzxcomp
SUBDIR += libmspack
SUBDIR += libpar2
SUBDIR += librtfcomp
SUBDIR += libunrar
SUBDIR += libunrar6
SUBDIR += libzip
SUBDIR += libzippp
SUBDIR += linux-c7-lz4
SUBDIR += lizard
SUBDIR += lrzip
SUBDIR += lua-lzlib
SUBDIR += lua-zlib
SUBDIR += lxqt-archiver
SUBDIR += lzfse
SUBDIR += lzip
SUBDIR += lziprecover
SUBDIR += lzlib
SUBDIR += lzma
SUBDIR += lzmalib
SUBDIR += lzo2
SUBDIR += lzop
SUBDIR += makeself
SUBDIR += mar
SUBDIR += maxcso
SUBDIR += minizip
+ SUBDIR += minizip-ng
SUBDIR += mscompress
SUBDIR += mtf
SUBDIR += nfpm
SUBDIR += nomarch
SUBDIR += nwreckdum
SUBDIR += ocaml-bz2
SUBDIR += ocaml-zip
SUBDIR += opkg-openwrt
SUBDIR += p5-Archive-Any
SUBDIR += p5-Archive-Any-Lite
SUBDIR += p5-Archive-Any-Plugin-Rar
SUBDIR += p5-Archive-Extract
SUBDIR += p5-Archive-Extract-Libarchive
SUBDIR += p5-Archive-Peek
SUBDIR += p5-Archive-Rar
SUBDIR += p5-Archive-SimpleExtractor
SUBDIR += p5-Archive-Tar
SUBDIR += p5-Archive-Tar-Wrapper
SUBDIR += p5-Archive-Zip
SUBDIR += p5-Compress-Bzip2
SUBDIR += p5-Compress-LZ4
SUBDIR += p5-Compress-LZF
SUBDIR += p5-Compress-LZO
SUBDIR += p5-Compress-LZW
SUBDIR += p5-Compress-Raw-Bzip2
SUBDIR += p5-Compress-Raw-Lzma
SUBDIR += p5-Compress-Raw-Zlib
SUBDIR += p5-Compress-Snappy
SUBDIR += p5-Compress-Zstd
SUBDIR += p5-Gzip-Faster
SUBDIR += p5-IO-Compress
SUBDIR += p5-IO-Compress-Brotli
SUBDIR += p5-IO-Compress-Lzf
SUBDIR += p5-IO-Compress-Lzma
SUBDIR += p5-IO-Compress-Lzop
SUBDIR += p5-IO-Zlib
SUBDIR += p5-Mac-Macbinary
SUBDIR += p5-POE-Filter-Bzip2
SUBDIR += p5-POE-Filter-LZF
SUBDIR += p5-POE-Filter-LZO
SUBDIR += p5-POE-Filter-LZW
SUBDIR += p5-POE-Filter-Zlib
SUBDIR += p5-PerlIO-gzip
SUBDIR += p5-PerlIO-via-Bzip2
SUBDIR += p7zip
SUBDIR += packddir
SUBDIR += paq
SUBDIR += par
SUBDIR += par2cmdline
SUBDIR += parchive
SUBDIR += pbzip2
SUBDIR += pear-File_Archive
SUBDIR += pear-Horde_Compress
SUBDIR += pear-Horde_Compress_Fast
SUBDIR += pear-Horde_Pack
SUBDIR += pear-PHP_Archive
SUBDIR += peazip
SUBDIR += pecl-lzf
SUBDIR += pecl-rar
SUBDIR += php-brotli
SUBDIR += php-horde_lz4
SUBDIR += php-lz4
SUBDIR += php-snappy
SUBDIR += php-zstd
SUBDIR += php73-bz2
SUBDIR += php73-phar
SUBDIR += php73-zip
SUBDIR += php73-zlib
SUBDIR += php74-bz2
SUBDIR += php74-phar
SUBDIR += php74-zip
SUBDIR += php74-zlib
SUBDIR += php80-bz2
SUBDIR += php80-phar
SUBDIR += php80-zip
SUBDIR += php80-zlib
SUBDIR += php81-bz2
SUBDIR += php81-phar
SUBDIR += php81-zip
SUBDIR += php81-zlib
SUBDIR += pigz
SUBDIR += pixz
SUBDIR += plzip
SUBDIR += ppmd
SUBDIR += ppmd-7z
SUBDIR += ppunpack
SUBDIR += pxz
SUBDIR += py-acefile
SUBDIR += py-borgbackup
SUBDIR += py-brotli
SUBDIR += py-brotlicffi
SUBDIR += py-brotlipy
SUBDIR += py-bup
SUBDIR += py-bz2file
SUBDIR += py-libarchive-c
SUBDIR += py-lz4
SUBDIR += py-lzma
SUBDIR += py-lzstring
SUBDIR += py-python-lhafile
SUBDIR += py-python-lzo
SUBDIR += py-python-snappy
SUBDIR += py-rarfile
SUBDIR += py-rcssmin
SUBDIR += py-rjsmin
SUBDIR += py-warctools
SUBDIR += py-xopen
SUBDIR += py-zopfli
SUBDIR += py-zstandard
SUBDIR += py-zstd
SUBDIR += qpress
SUBDIR += quazip
SUBDIR += rar
SUBDIR += rpm2cpio
SUBDIR += rpm4
SUBDIR += rubygem-archive-tar-minitar
SUBDIR += rubygem-archive-zip
SUBDIR += rubygem-bzip2-ruby
SUBDIR += rubygem-fpm
SUBDIR += rubygem-libarchive
SUBDIR += rubygem-minitar
SUBDIR += rubygem-minitar-cli
SUBDIR += rubygem-ruby-xz
SUBDIR += rubygem-rubyzip
SUBDIR += rubygem-rubyzip13
SUBDIR += rubygem-rubyzip2
SUBDIR += rubygem-rubyzip20
SUBDIR += rubygem-snappy
SUBDIR += rvm
SUBDIR += rzip
SUBDIR += sectar
SUBDIR += sharutils
SUBDIR += snappy
SUBDIR += snappy-java
SUBDIR += snzip
SUBDIR += squsq
SUBDIR += star
SUBDIR += streamvbyte
SUBDIR += stuffit
SUBDIR += szip
SUBDIR += tar-stream-chunker
SUBDIR += tardy
SUBDIR += thunar-archive-plugin
SUBDIR += torrentzip
SUBDIR += ucl
SUBDIR += unace
SUBDIR += unadf
SUBDIR += unalz
SUBDIR += unarchiver
SUBDIR += unarj
SUBDIR += unarr
SUBDIR += undms
SUBDIR += unfoo
SUBDIR += unlzx
SUBDIR += unmakeself
SUBDIR += unmass
SUBDIR += unrar
SUBDIR += unrar-iconv
SUBDIR += unrpa
SUBDIR += unshield
SUBDIR += unzip
SUBDIR += unzoo
SUBDIR += upx
SUBDIR += urbackup-client
SUBDIR += urbackup-server
SUBDIR += v1541commander
SUBDIR += vbz-compression
SUBDIR += xar
SUBDIR += xarchive
SUBDIR += xarchiver
SUBDIR += xdms
SUBDIR += xmill
SUBDIR += xpk
SUBDIR += zchunk
SUBDIR += zip
SUBDIR += zip-ada
SUBDIR += zipmix
SUBDIR += zipper
+ SUBDIR += zlib-ng
SUBDIR += zoo
SUBDIR += zopfli
SUBDIR += zstd
SUBDIR += zstr
SUBDIR += zutils
.include <bsd.port.subdir.mk>
diff --git a/archivers/minizip-ng/Makefile b/archivers/minizip-ng/Makefile
new file mode 100644
index 000000000000..f60e85fb23ea
--- /dev/null
+++ b/archivers/minizip-ng/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= minizip-ng
+DISTVERSION= 3.0.4
+CATEGORIES= archivers
+
+MAINTAINER= lbartoletti@FreeBSD.org
+COMMENT= Fork of the popular minizip found in the zlib distribution
+
+LICENSE= ZLIB
+
+LIB_DEPENDS= libzstd.so:archivers/zstd
+
+USES= cmake:testing iconv pkgconfig ssl
+USE_LDCONFIG= yes
+USE_GITHUB= yes
+GH_ACCOUNT= zlib-ng
+
+CMAKE_ON= BUILD_SHARED_LIBS
+CMAKE_ARGS= -DMZ_PROJECT_SUFFIX=-ng \
+ -DCMAKE_INSTALL_INCLUDEDIR=${LOCALBASE}/include/minizip-ng
+CMAKE_TESTING_ON= MZ_BUILD_TEST MZ_BUILD_UNIT_TEST
+
+.include <bsd.port.mk>
diff --git a/archivers/minizip-ng/distinfo b/archivers/minizip-ng/distinfo
new file mode 100644
index 000000000000..43130d6b1d45
--- /dev/null
+++ b/archivers/minizip-ng/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1641396331
+SHA256 (zlib-ng-minizip-ng-3.0.4_GH0.tar.gz) = 2ab219f651901a337a7d3c268128711b80330a99ea36bdc528c76b591a624c3c
+SIZE (zlib-ng-minizip-ng-3.0.4_GH0.tar.gz) = 638956
diff --git a/archivers/minizip-ng/pkg-descr b/archivers/minizip-ng/pkg-descr
new file mode 100644
index 000000000000..d9e22cf44979
--- /dev/null
+++ b/archivers/minizip-ng/pkg-descr
@@ -0,0 +1,14 @@
+Minizip was originally developed in 1998. It was first included in the zlib
+distribution as an additional code contribution starting in zlib 1.1.2. Since
+that time, it has been continually improved upon and contributed to by many
+people.
+
++ Creating and extracting zip archives.
++ Adding and removing entries from zip archives.
++ Read and write raw zip entry data.
++ Reading and writing zip archives from memory.
++ Zlib, BZIP2, LZMA, and ZSTD compression methods.
++ Password protection through Traditional PKWARE and WinZIP AES encryption.
++ Buffered streaming for improved I/O performance.
+
+WWW: https://github.com/zlib-ng/minizip-ng
diff --git a/archivers/minizip-ng/pkg-plist b/archivers/minizip-ng/pkg-plist
new file mode 100644
index 000000000000..6e4f34b10400
--- /dev/null
+++ b/archivers/minizip-ng/pkg-plist
@@ -0,0 +1,27 @@
+include/minizip-ng/mz.h
+include/minizip-ng/mz_compat.h
+include/minizip-ng/mz_crypt.h
+include/minizip-ng/mz_os.h
+include/minizip-ng/mz_strm.h
+include/minizip-ng/mz_strm_buf.h
+include/minizip-ng/mz_strm_bzip.h
+include/minizip-ng/mz_strm_lzma.h
+include/minizip-ng/mz_strm_mem.h
+include/minizip-ng/mz_strm_os.h
+include/minizip-ng/mz_strm_pkcrypt.h
+include/minizip-ng/mz_strm_split.h
+include/minizip-ng/mz_strm_wzaes.h
+include/minizip-ng/mz_strm_zlib.h
+include/minizip-ng/mz_strm_zstd.h
+include/minizip-ng/mz_zip.h
+include/minizip-ng/mz_zip_rw.h
+include/minizip-ng/unzip.h
+include/minizip-ng/zip.h
+lib/cmake/minizip-ng/minizip-ng-config-version.cmake
+lib/cmake/minizip-ng/minizip-ng-config.cmake
+lib/cmake/minizip-ng/minizip-ng-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/minizip-ng/minizip-ng.cmake
+lib/libminizip-ng.so
+lib/libminizip-ng.so.3
+lib/libminizip-ng.so.3.0.4
+libdata/pkgconfig/minizip-ng.pc
diff --git a/archivers/zlib-ng/Makefile b/archivers/zlib-ng/Makefile
new file mode 100644
index 000000000000..aa3fe1c5436e
--- /dev/null
+++ b/archivers/zlib-ng/Makefile
@@ -0,0 +1,16 @@
+PORTNAME= zlib-ng
+DISTVERSION= 2.0.6
+CATEGORIES= archivers
+
+MAINTAINER= lbartoletti@FreeBSD.org
+COMMENT= Fork of the zlib data compression library
+
+LICENSE= ZLIB
+
+USES= cmake:testing
+USE_LDCONFIG= yes
+USE_GITHUB= yes
+
+CMAKE_TESTING_ON= ZLIB_ENABLE_TESTS
+
+.include <bsd.port.mk>
diff --git a/archivers/zlib-ng/distinfo b/archivers/zlib-ng/distinfo
new file mode 100644
index 000000000000..4de3df93908a
--- /dev/null
+++ b/archivers/zlib-ng/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1641394914
+SHA256 (zlib-ng-zlib-ng-2.0.6_GH0.tar.gz) = 8258b75a72303b661a238047cb348203d88d9dddf85d480ed885f375916fcab6
+SIZE (zlib-ng-zlib-ng-2.0.6_GH0.tar.gz) = 817951
diff --git a/archivers/zlib-ng/pkg-descr b/archivers/zlib-ng/pkg-descr
new file mode 100644
index 000000000000..9d156f273f8e
--- /dev/null
+++ b/archivers/zlib-ng/pkg-descr
@@ -0,0 +1,13 @@
+Zlib replacement with optimizations for next generation systems.
+
+The motivation for this fork came after seeing several 3rd party contributions
+containing new optimizations not getting implemented into the official zlib
+repository.
+
+Mark Adler has been maintaining zlib for a very long time, and he has done a
+great job and hopefully he will continue for a long time yet.
+
+The idea of zlib-ng is not to replace zlib, but to co-exist as a drop-in
+replacement with a lower threshold for code change.
+
+WWW: https://github.com/zlib-ng/zlib-ng
diff --git a/archivers/zlib-ng/pkg-plist b/archivers/zlib-ng/pkg-plist
new file mode 100644
index 000000000000..918cedfc800a
--- /dev/null
+++ b/archivers/zlib-ng/pkg-plist
@@ -0,0 +1,7 @@
+include/zconf-ng.h
+include/zlib-ng.h
+lib/libz-ng.a
+lib/libz-ng.so
+lib/libz-ng.so.2
+lib/libz-ng.so.2.0.6
+libdata/pkgconfig/zlib-ng.pc
diff --git a/databases/spatialite-tools/Makefile b/databases/spatialite-tools/Makefile
index 0df5ebf784f5..bc54d41efac6 100644
--- a/databases/spatialite-tools/Makefile
+++ b/databases/spatialite-tools/Makefile
@@ -1,27 +1,26 @@
PORTNAME= spatialite-tools
PORTVERSION= 5.0.1
CATEGORIES= databases geography
MASTER_SITES= http://www.gaia-gis.it/gaia-sins/
MAINTAINER= lbartoletti@FreeBSD.org
COMMENT= Collection of CLI tools supporting SpatiaLite
LICENSE= GPLv3
LIB_DEPENDS= libgeos_c.so:graphics/geos \
libproj.so:graphics/proj \
libfreexl.so:textproc/freexl \
libexpat.so:textproc/expat2 \
libspatialite.so:databases/spatialite \
- libreadosm.so:astro/readosm \
- libminizip.so:archivers/minizip
+ libreadosm.so:astro/readosm
GNU_CONFIGURE= yes
-USES= gmake gnome pkgconfig iconv sqlite
+USES= gmake gnome iconv minizip pkgconfig sqlite
USE_GNOME= libxml2
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
CONFIGURE_ARGS+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
.include <bsd.port.mk>
diff --git a/databases/spatialite/Makefile b/databases/spatialite/Makefile
index 2d7f56f80f20..45c99d7df531 100644
--- a/databases/spatialite/Makefile
+++ b/databases/spatialite/Makefile
@@ -1,38 +1,37 @@
# Created by: Wen Heping <wenheping@gmail.com>
PORTNAME= spatialite
PORTVERSION= 5.0.1
CATEGORIES= databases geography
MASTER_SITES= http://www.gaia-gis.it/gaia-sins/libspatialite-sources/
DISTNAME= lib${PORTNAME}-${PORTVERSION}
MAINTAINER= lbartoletti@FreeBSD.org
COMMENT= Spatial Extensions for SQLite
LICENSE= GPLv2 # Only GPLv2 since we enable rttopo and gcp
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgeos_c.so:graphics/geos \
libproj.so:graphics/proj \
libfreexl.so:textproc/freexl \
- libminizip.so:archivers/minizip \
librttopo.so:devel/librttopo
GNU_CONFIGURE= yes
-USES= gmake gnome iconv libtool pathfix pkgconfig sqlite
+USES= gmake gnome iconv libtool pathfix minizip pkgconfig sqlite
USE_GNOME= libxml2
CFLAGS+= -I${WRKSRC}/src/headers -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
CONFIGURE_ARGS+= --enable-gcp=yes --enable-libxml2=yes --enable-rttopo=yes \
CFLAGS="${CFLAGS}" \
LDFLAGS="${LDFLAGS}"
USE_LDCONFIG= yes
INSTALL_TARGET=install-strip
post-patch:
@${REINPLACE_CMD} -e 's|-ldl| |' ${WRKSRC}/src/Makefile.am
@${REINPLACE_CMD} -e 's|-ldl| |' ${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e 's|-ldl| |' ${WRKSRC}/configure
.include <bsd.port.mk>
diff --git a/deskutils/anydesk/Makefile b/deskutils/anydesk/Makefile
index 7fe062a46a2b..be0be82cad38 100644
--- a/deskutils/anydesk/Makefile
+++ b/deskutils/anydesk/Makefile
@@ -1,38 +1,37 @@
PORTNAME= anydesk
DISTVERSION= 6.1.1
CATEGORIES= deskutils
MASTER_SITES= https://download.anydesk.com/freebsd/
DISTNAME= ${PORTNAME}-freebsd-${PORTVERSION}-${ARCH:S/amd64/x86_64/:S/i386/i386/}
MAINTAINER= freebsd@sysctl.cz
COMMENT= Fast remote desktop
LICENSE= commercial
LICENSE_NAME= commercial
LICENSE_FILE= ${WRKSRC}/copyright
LICENSE_PERMS= no-auto-accept no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell
ONLY_FOR_ARCHS= amd64 i386
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libinotify.so:devel/libinotify \
libpolkit-gobject-1.so:sysutils/polkit \
libxkbfile.so:x11/libxkbfile \
- libminizip.so:archivers/minizip \
-USES= cpe gl gnome xorg
+USES= cpe gl gnome minizip xorg
USE_GL= gl glu
USE_GNOME= cairo gdkpixbuf2 glib20 gtk20 pangox-compat
USE_XORG= x11 xcb xdamage xext xfixes xi xrandr xrender xtst
NO_BUILD= YES
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PLIST_FILES= bin/anydesk
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
diff --git a/devel/axmldec/Makefile b/devel/axmldec/Makefile
index 296c6a698954..1bdd72803e65 100644
--- a/devel/axmldec/Makefile
+++ b/devel/axmldec/Makefile
@@ -1,25 +1,24 @@
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
PORTNAME= axmldec
PORTVERSION= 1.2.0
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= danfe@FreeBSD.org
COMMENT= Stand-alone binary AndroidManifest.xml decoder
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE.md
-LIB_DEPENDS= libminizip.so:archivers/minizip \
- libboost_system.so:devel/boost-libs
+LIB_DEPENDS= libboost_system.so:devel/boost-libs
-USES= cmake compiler:c++14-lang cpe pkgconfig
+USES= cmake compiler:c++14-lang cpe minizip:ng pkgconfig
CPE_VENDOR= ${PORTNAME}_project
USE_GITHUB= yes
GH_ACCOUNT= ytsutano
PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.mk>
diff --git a/devel/axmldec/files/patch-CMakeLists.txt b/devel/axmldec/files/patch-CMakeLists.txt
index 4a5a5a0e1d34..7cc844ff36d5 100644
--- a/devel/axmldec/files/patch-CMakeLists.txt
+++ b/devel/axmldec/files/patch-CMakeLists.txt
@@ -1,34 +1,34 @@
--- CMakeLists.txt.orig 2017-05-07 19:44:44 UTC
+++ CMakeLists.txt
@@ -61,23 +61,17 @@ add_definitions(
target_link_libraries(axmldec ${Boost_LIBRARIES})
if(ENABLE_APK_LOADING)
- find_package(ZLIB REQUIRED)
- include_directories(${ZLIB_INCLUDE_DIR})
-
+ include (FindPkgConfig)
+ if (PKG_CONFIG_FOUND)
-+ pkg_check_modules(MINIZIP minizip)
++ pkg_check_modules(MINIZIP minizip-ng)
+ endif()
+ include_directories(${MINIZIP_INCLUDE_DIRS})
+ find_library(MINIZIP_FROM_PORTS ${MINIZIP_LIBRARIES}
+ PATHS ${MINIZIP_LIBRARY_DIRS})
add_definitions(
-DENABLE_APK_LOADING=1
)
- add_library(minizip STATIC
- ${CMAKE_CURRENT_SOURCE_DIR}/external/minizip/unzip.c
- ${CMAKE_CURRENT_SOURCE_DIR}/external/minizip/ioapi.c
- )
- set_target_properties(minizip PROPERTIES
- COMPILE_DEFINITIONS "NOUNCRYPT;NOCRYPT")
- target_link_libraries(minizip ${ZLIB_LIBRARIES})
- set(MINIZIP_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/external/minizip)
- set(MINIZIP_LIBRARIES minizip)
- include_directories(SYSTEM ${MINIZIP_INCLUDE_DIR})
- target_link_libraries(axmldec ${MINIZIP_LIBRARIES})
+ target_link_libraries(axmldec ${MINIZIP_FROM_PORTS})
endif()
#-------------------------------------------------------------------------------
diff --git a/devel/collada-dom/Makefile b/devel/collada-dom/Makefile
index e2b48a26fb1c..82d1b31bcae1 100644
--- a/devel/collada-dom/Makefile
+++ b/devel/collada-dom/Makefile
@@ -1,23 +1,22 @@
PORTNAME= collada-dom
DISTVERSIONPREFIX= v
DISTVERSION= 2.5.0
PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= trueos@norwegianrockcat.com
COMMENT= COLLADA Document Object Model (DOM) C++ Library
LICENSE= MIT
-LIB_DEPENDS= libminizip.so:archivers/minizip \
- libpcre.so:devel/pcre \
+LIB_DEPENDS= libpcre.so:devel/pcre \
libboost_filesystem.so:devel/boost-libs \
libboost_system.so:devel/boost-libs
-USES= cmake gnome
+USES= cmake gnome minizip
USE_LDCONFIG= yes
USE_GNOME= libxml2
USE_GITHUB= yes
GH_ACCOUNT= rdiankov
.include <bsd.port.mk>
diff --git a/emulators/mupen64plus-core/Makefile.common b/emulators/mupen64plus-core/Makefile.common
index 4bb4c95787a6..92970f0b4dbd 100644
--- a/emulators/mupen64plus-core/Makefile.common
+++ b/emulators/mupen64plus-core/Makefile.common
@@ -1,128 +1,128 @@
USES+= dos2unix
DOS2UNIX_GLOB= *.c *.cpp *.h *.H *.ini *.conf
DISTNAME= ${PORTNAME}-bundle-src-${PORTVERSION}
PATCHDIR= ${.CURDIR}/files
BUILD_WRKSRC?= ${WRKSRC}/source/${PORTNAME}${PKGNAMESUFFIX}/projects/unix
WRKSRC?= ${WRKDIR}/${DISTNAME}
EXTRACT_AFTER_ARGS?= "${DISTNAME}/source/${PORTNAME}-core/*" \
"${DISTNAME}/source/${PORTNAME}${PKGNAMESUFFIX}/*"
.if ${PKGNAMESUFFIX} == "-core"
LIB_DEPENDS+= libfreetype.so:print/freetype2 \
- libpng.so:graphics/png \
- libminizip.so:archivers/minizip
+ libpng.so:graphics/png
+USES+= minizip
.else
PLIST= ${WRKDIR}/pkg-plist
.endif
.if ${PKGNAMESUFFIX} == "-video-rice"
LIB_DEPENDS+= libpng.so:graphics/png
.endif
.if ${PKGNAMESUFFIX} == "-video-glide64mk"
LIB_DEPENDS+= libboost_thread.so:devel/boost-libs
.endif
.if ${PKGNAMESUFFIX} != "-core"
post-patch:
@cd ${BUILD_WRKSRC} && ${REINPLACE_CMD} -e 's|gcc|${CC}|g' -e \
's|g++|${CXX}|g' -e 's|sdl-config|${SDL2_CONFIG}|g' Makefile
. if ${PKGNAMESUFFIX} == "-video-glide64mk2"
@cd ${WRKSRC}/source/${PORTNAME}${PKGNAMESUFFIX}/src && \
${REINPLACE_CMD} -e 's|#include <thread>||g' \
GlideHQ/TxQuantize.cpp GlideHQ/TxFilter.cpp && \
${REINPLACE_CMD} -e 's|(FxU32)NULL|(uintptr_t)NULL|g' \
Glide64/Main.cpp
. endif
. if ${PKGNAMESUFFIX} == "-video-glide64"
@cd ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX}/src && \
${REINPLACE_CMD} -e 's|__builtin_ia32_loadups|_mm_loadu_ps|g' -e \
's|__builtin_ia32_storeups|_mm_storeu_ps|g' \
3dmath.cpp && \
${REINPLACE_CMD} -e 's|\"G64_VERSION|\" G64_VERSION|g' -e \
's|FxU32|uintptr_t|g' \
Main.cpp
. endif
pre-install:
@${RM} ${PLIST}
. if ${PKGNAMESUFFIX} == "-video-rice"
@${ECHO_CMD} "%%DATADIR%%/RiceVideoLinux.ini" >> ${PLIST}
. endif
. if ${PKGNAMESUFFIX} == "-video-glide64"
@${ECHO_CMD} "%%DATADIR%%/Glide64.ini" >> ${PLIST}
. endif
. if ${PKGNAMESUFFIX} == "-video-glide64mk2"
@${ECHO_CMD} "%%DATADIR%%/Glide64mk2.ini" >> ${PLIST}
. endif
. if ${PKGNAMESUFFIX} == "-input-sdl"
@${ECHO_CMD} "%%DATADIR%%/InputAutoCfg.ini" >> ${PLIST}
. endif
. if ${PKGNAMESUFFIX} == "-ui-console"
@${ECHO_CMD} "man/man6/mupen64plus.6.gz" >> ${PLIST}
. endif
. if ${PKGNAMESUFFIX} != "-ui-console"
@${ECHO_CMD} "lib/${PORTNAME}/${PORTNAME}${PKGNAMESUFFIX}.so" >> ${PLIST}
. else
@${ECHO_CMD} "bin/${PORTNAME}" >> ${PLIST}
. endif
@${ECHO_CMD} "@dir %%DATADIR%%" >> ${PLIST}
.else
post-patch:
@cd ${BUILD_WRKSRC} && ${REINPLACE_CMD} -e 's|gcc|${CC}|g' -e \
's|g++|${CXX}|g' Makefile
.endif
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
.if ${PKGNAMESUFFIX} == "-core"
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/libmupen64plus.so.2.0.0 \
${STAGEDIR}${PREFIX}/lib/libmupen64plus.so.2.0.0
${INSTALL_DATA} ${WRKSRC}/source/${PORTNAME}${PKGNAMESUFFIX}/data/* \
${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/source/${PORTNAME}${PKGNAMESUFFIX}/src/api/m64p_*.h \
${STAGEDIR}${PREFIX}/include/${PORTNAME}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/source/${PORTNAME}${PKGNAMESUFFIX}/RELEASE \
${STAGEDIR}${DOCSDIR}/RELEASE
${LN} -sf ${PREFIX}/lib/libmupen64plus.so.2.0.0 ${STAGEDIR}${PREFIX}/lib/libmupen64plus.so.2
.else
. if ${PKGNAMESUFFIX} == "-ui-console"
${INSTALL_MAN} ${WRKSRC}/source/${PORTNAME}${PKGNAMESUFFIX}/doc/mupen64plus.6 ${STAGEDIR}${PREFIX}/man/man6/
. endif
. if ${PKGNAMESUFFIX} == "-video-rice"
${INSTALL_DATA} ${WRKSRC}/source/${PORTNAME}${PKGNAMESUFFIX}/data/RiceVideoLinux.ini ${STAGEDIR}${DATADIR}
. endif
. if ${PKGNAMESUFFIX} == "-video-glide64"
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX}/data/Glide64.ini ${STAGEDIR}${DATADIR}
. endif
. if ${PKGNAMESUFFIX} == "-video-glide64mk2"
${INSTALL_DATA} ${WRKSRC}/source/${PORTNAME}${PKGNAMESUFFIX}/data/Glide64mk2.ini ${STAGEDIR}${DATADIR}
. endif
. if ${PKGNAMESUFFIX} == "-input-sdl"
${INSTALL_DATA} ${WRKSRC}/source/${PORTNAME}${PKGNAMESUFFIX}/data/InputAutoCfg.ini ${STAGEDIR}${DATADIR}
. endif
. if ${PKGNAMESUFFIX} != "-ui-console"
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME}${PKGNAMESUFFIX}.so ${STAGEDIR}${PREFIX}/lib/${PORTNAME}
. else
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
. endif
.endif
diff --git a/games/mrboom/Makefile b/games/mrboom/Makefile
index 658517198412..9e5f11022139 100644
--- a/games/mrboom/Makefile
+++ b/games/mrboom/Makefile
@@ -1,38 +1,37 @@
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
PORTNAME= mrboom
PORTVERSION= 5.2
CATEGORIES= games
MASTER_SITES= https://github.com/Javanaise/mrboom-libretro/releases/download/${PORTVERSION}/
DISTNAME= MrBoom-src-${PORTVERSION}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= 8 players Bomberman clone
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-LIB_DEPENDS= libminizip.so:archivers/minizip \
- libmodplug.so:audio/libmodplug
+LIB_DEPENDS= libmodplug.so:audio/libmodplug
-USES= compiler:c++11-lang gmake sdl
+USES= compiler:c++11-lang gmake minizip sdl
USE_SDL= mixer2 sdl2
MAKE_ENV+= LIBSDL2=1
ALL_TARGET= mrboom
CFLAGS+= `sdl2-config --cflags`
LDFLAGS+= `sdl2-config --libs`
PLIST_FILES= bin/mrboom \
man/man6/mrboom.6.gz \
share/applications/mrboom.desktop \
share/pixmaps/mrboom.png
post-install:
${INSTALL_DATA} ${WRKSRC}/Assets/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
${INSTALL_DATA} ${WRKSRC}/Assets/${PORTNAME}.desktop \
${STAGEDIR}${DESKTOPDIR}
.include <bsd.port.mk>
diff --git a/games/oolite/Makefile b/games/oolite/Makefile
index 74954b1ea14b..61b3660fcad7 100644
--- a/games/oolite/Makefile
+++ b/games/oolite/Makefile
@@ -1,85 +1,84 @@
PORTNAME= oolite
PORTVERSION= 1.88
PORTREVISION= 4
CATEGORIES= games gnustep
MASTER_SITES= https://github.com/OoliteProject/oolite/releases/download/1.88/
DISTNAME= ${PORTNAME}-source-${PORTVERSION}
DIST_SUBDIR= oolite
MAINTAINER= ports@FreeBSD.org
COMMENT= Trade and combat space simulator, clone of Elite
LICENSE= CC-BY-NC-SA-3.0 GPLv2 ZLIB
LICENSE_COMB= multi
LICENSE_FILE_CC-BY-NC-SA-3.0= ${WRKSRC}/Doc/LICENSE.TXT
BUILD_DEPENDS= zip:archivers/zip \
${LOCALBASE}/bin/unzip:archivers/unzip
LIB_DEPENDS= libespeak.so:audio/espeak \
libnspr4.so:devel/nspr \
libvorbisfile.so:audio/libvorbis \
- libpng.so:graphics/png \
- libminizip.so:archivers/minizip
+ libpng.so:graphics/png
-USES= gl gnustep openal:al perl5 python:3.5+,build sdl \
+USES= gl gnustep openal:al minizip perl5 python:3.5+,build sdl \
tar:bzip2 xorg
USE_CXXSTD= gnu++98
USE_GL= gl glu
USE_SDL= sdl
USE_XORG= x11
USE_GNUSTEP= base build
MAKE_ENV= ac_cv_path_PYTHON=${PYTHON_CMD}
# Redefine DO_MAKE_BUILD, because current gnustep in USES overrides MAKEFILE
# without possibility to change it, as it was done in the previous implementation
DO_MAKE_BUILD= ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} Makefile ${_MAKE_JOBS} ${MAKE_ARGS:C,^${DESTDIRNAME}=.*,,g}
ALL_TARGET= release-deployment
USE_PERL5= build
GNUSTEP_LOCAL_APPS= ${GNUSTEP_LOCAL_ROOT}/Applications
SUB_FILES= oolite
SUB_LIST= GNUSTEP_SYSTEM_TOOLS="${GNUSTEP_SYSTEM_TOOLS}"
WRKSRC= ${WRKDIR}/${DISTNAME}
RELEASEDIR= ${WRKSRC}/oolite.app
DATADIR= ${GNUSTEP_LOCAL_APPS}/oolite.app
PORTDATA= Resources
PORTDOCS= *.pdf CHANGELOG.TXT contributors.txt
PLIST_FILES+= bin/oolite ${DATADIR}/oolite \
share/applications/oolite.desktop \
share/pixmaps/oolite-icon.png
OPTIONS_DEFINE= DOCS
BROKEN_aarch64= fails to configure: error: These compiler flags are invalid: -O
BROKEN_armv6= fails to compile: your compiler does not follow the C++ specification for temporary object destruction order
BROKEN_armv7= fails to compile: your compiler does not follow the C++ specification for temporary object destruction order
BROKEN_i386= fails to compile: ../methodjit/MethodJIT.cpp:318:5: error: expected '(' after 'asm'
post-patch: .SILENT
${REINPLACE_CMD} -e 's/GNUSTEP_USER_ROOT/GNUSTEP_LOCAL_ROOT/ ; \
s/sdl-config/$${SDL_CONFIG}/ ; \
s|-lstdc++|`$${SDL_CONFIG} --libs` &| ; \
s|:src/Core/MiniZip|| ; \
s|-Isrc/Core/MiniZip|-I$${LOCALBASE}/include/minizip| ; \
s|-lz|-lminizip| ; \
/ioapi.c/d ; /unzip.c/d ; \
s|/usr/X11R6|$${LOCALBASE}|' \
${WRKSRC}/GNUmakefile
# Change value of the SAVEDIR define
${REINPLACE_CMD} -e 's|oolite-saves|\.oolite-saves|' \
${WRKSRC}/src/Core/NSFileManagerOOExtensions.h
do-install:
(cd ${RELEASEDIR} && ${COPYTREE_SHARE} "${PORTDATA}" ${STAGEDIR}${DATADIR})
${INSTALL_SCRIPT} ${WRKDIR}/oolite ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${RELEASEDIR}/oolite ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/installers/FreeDesktop/oolite.desktop \
${STAGEDIR}${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/installers/FreeDesktop/oolite-icon.png \
${STAGEDIR}${PREFIX}/share/pixmaps
(cd ${WRKSRC}/Doc && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
diff --git a/graphics/comical/Makefile b/graphics/comical/Makefile
index 2f4da052fcf0..98d15a410413 100644
--- a/graphics/comical/Makefile
+++ b/graphics/comical/Makefile
@@ -1,52 +1,51 @@
# Created by: John McAree <john@mcaree.org>
PORTNAME= comical
PORTVERSION= 0.8
PORTREVISION= 14
CATEGORIES= graphics
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Sequential image viewer
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= libminizip.so:archivers/minizip \
- libunrar.so.6:archivers/libunrar6
+LIB_DEPENDS= libunrar.so.6:archivers/libunrar6
-USES= compiler:c++11-lang gmake
+USES= compiler:c++11-lang gmake minizip
USE_WX= 2.8+
MAKE_ENV= WX_CONFIG=${WX_CONFIG}
INSTALL_TARGET= install-strip
MAKE_JOBS_UNSAFE= yes
DESKTOP_ENTRIES="Comical" \
"Comic Book Viewer" \
"${PORTNAME}.png" \
"${PORTNAME}" \
"Graphics;Viewer;" \
false
ICONS= comical.png comical.xpm
PLIST_FILES= bin/comical \
share/pixmaps/comical.png \
share/pixmaps/comical.xpm
.include <bsd.port.pre.mk>
# 'make makepatch' doesn't like dirs with spaces
pre-patch:
@${MV} ${WRKSRC}/Comical\ Icons ${WRKSRC}/ComicalIcons
.if ${CHOSEN_COMPILER_TYPE} == gcc
pre-configure:
${REINPLACE_CMD} -e 's|-Wno-unused-local-typedef||' ${WRKSRC}/src/Makefile
.endif
post-install:
cd ${WRKSRC}/ComicalIcons && \
${INSTALL_DATA} ${ICONS} ${STAGEDIR}${PREFIX}/share/pixmaps
.include <bsd.port.post.mk>
diff --git a/misc/xiphos/Makefile b/misc/xiphos/Makefile
index 4a2905207bb7..4a8a69861795 100644
--- a/misc/xiphos/Makefile
+++ b/misc/xiphos/Makefile
@@ -1,41 +1,40 @@
PORTNAME= xiphos
DISTVERSION= 4.2.1
PORTREVISION= 3
CATEGORIES= misc gnome
# Don't use USE_GITHUB: the sources downloaded by USE_GITHUB cannot be
# built as they miss the file ${WRKSRC}/cmake/source_version.txt.
# See also: https://github.com/crosswire/xiphos/issues/1037
MASTER_SITES= https://github.com/crosswire/${PORTNAME}/releases/download/${DISTVERSION}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Bible interface utilizing the sword framework
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= appstream-util:devel/appstream-glib \
desktop-file-validate:devel/desktop-file-utils \
itstool:textproc/itstool \
yelp-build:textproc/yelp-tools
LIB_DEPENDS= libbiblesync.so:misc/biblesync \
libdbus-1.so:devel/dbus \
libdbus-glib-1.so:devel/dbus-glib \
libenchant.so:textproc/enchant \
libicui18n.so:devel/icu \
- libminizip.so:archivers/minizip \
libsoup-2.4.so:devel/libsoup \
libsword.so:misc/sword \
libuuid.so:misc/e2fsprogs-libuuid \
libwebkit2gtk-4.0.so:www/webkit2-gtk3
# gettext is always needed, even if NLS is off
-USES= cmake compiler:c11 gettext gnome pkgconfig
+USES= cmake compiler:c11 gettext gnome minizip pkgconfig
USE_GNOME= cairo gconf2 gtk30 gtkhtml4 intltool libgsf
CMAKE_OFF= EPUB
CMAKE_ON= GTKHTML
OPTIONS_DEFINE= NLS
OPTIONS_SUB= NLS
.include <bsd.port.mk>
diff --git a/multimedia/assimp/Makefile b/multimedia/assimp/Makefile
index 177d8f582ab9..9f16f59edb27 100644
--- a/multimedia/assimp/Makefile
+++ b/multimedia/assimp/Makefile
@@ -1,28 +1,26 @@
PORTNAME= assimp
DISTVERSIONPREFIX= v
DISTVERSION= 5.1.5
CATEGORIES= multimedia
MAINTAINER= yuri@FreeBSD.org
COMMENT= Library to import various 3D model formats in a uniform manner
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-LIB_DEPENDS= libminizip.so:archivers/minizip
-
-USES= cmake:testing compiler:c++11-lib localbase:ldflags pkgconfig
+USES= cmake:testing compiler:c++11-lib localbase:ldflags minizip pkgconfig
USE_GITHUB= yes
USE_LDCONFIG= yes
CMAKE_OFF= ASSIMP_BUILD_TESTS
CMAKE_TESTING_ON= ASSIMP_BUILD_TESTS
do-test:
@cd ${BUILD_WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -D${CMAKE_TESTING_ON}=ON ${CMAKE_SOURCE_PATH} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} ${CMAKE_TESTING_TARGET} && \
${BUILD_WRKSRC}/bin/unit
.include <bsd.port.mk>
diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile
index 251009c51fce..45629b387bac 100644
--- a/multimedia/vlc/Makefile
+++ b/multimedia/vlc/Makefile
@@ -1,411 +1,410 @@
# Created by: Brian Somers <brian@FreeBSD.org>
PORTNAME= vlc
DISTVERSION= 3.0.16
PORTREVISION= 9
PORTEPOCH= 4
CATEGORIES= multimedia audio net www
MASTER_SITES= http://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION:S/a$//}/ \
http://ftp.snt.utwente.nl/pub/software/videolan/${PORTNAME}/${DISTVERSION:S/a$//}/ \
ftp://ftp.crans.org/pub/videolan/${PORTNAME}/${DISTVERSION:S/a$//}/
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Qt based multimedia player and streaming server
LICENSE= GPLv2
LIB_DEPENDS= libgcrypt.so:security/libgcrypt \
libdvbpsi.so:multimedia/libdvbpsi \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libidn.so:dns/libidn \
libmatroska.so:multimedia/libmatroska \
libgpg-error.so:security/libgpg-error \
libebml.so:textproc/libebml
BUILD_DEPENDS= gsed:textproc/gsed \
ffmpeg>=3.4.1,1:multimedia/ffmpeg \
yasm:devel/yasm
RUN_DEPENDS= ffmpeg>=3.4.1,1:multimedia/ffmpeg
USES= compiler:c++17-lang cpe desktop-file-utils gettext-tools gmake gnome \
iconv:wchar_t libtool localbase pathfix pkgconfig tar:xz
CPE_VENDOR= videolan
# VLC git (post 2.2.4) requires C++11 support and passes the appropriate flag
# to the compiler. Until the port is updated, we explicitly pass -std=c++11 to
# the compiler because Qt 5.7+ requires C++11 support, and FreeBSD 10's clang
# does not default to C++11 mode.
# USE_CXXSTD= c++11
USE_GNOME= libxml2
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
GNU_CONFIGURE= yes
BINARY_ALIAS= sed=${LOCALBASE}/bin/gsed
CONFIGURE_ARGS= --enable-avcodec --enable-avformat --enable-dvbpsi \
--enable-fontconfig --enable-freetype --enable-libgcrypt \
--enable-libxml2 --enable-oss --enable-postproc \
--enable-swscale --enable-vlc \
--disable-alsa --disable-archive --disable-chromaprint --disable-crystalhd \
--disable-dc1394 --disable-decklink --disable-dsm \
--disable-dv1394 --disable-fdkaac --disable-gst-decode \
--disable-gles2 --disable-kai --disable-kva --disable-mpg123 \
--disable-vnc --disable-opencv --disable-projectm \
--disable-secret --disable-soxr --disable-telx \
--disable-tiger --disable-tremor --disable-udev \
--disable-update-check --disable-vsxu \
--disable-wasapi --disable-x26410b \
--with-kde-solid=${PREFIX}/share/solid/actions \
ac_cv_search_pthread_rwlock_init=-pthread \
BUILDCC="${CC}"
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+=--enable-debug
.endif
CFLAGS_i386= -fomit-frame-pointer
OPTIONS_DEFINE= A52 AALIB AOM ASS AVAHI CACA CHROMECAST DAV1D DBUS DCA DOCS DVDREAD \
DEBUG DVDNAV FAAD FLAC FLUID FREERDP FRIBIDI GME GNUTLS \
GOOM HARFBUZZ JACK JPEG KATE LIBBLURAY LIBPLACEBO LIBRSVG2 LIBSSH2 LIRC \
LIVEMEDIA LUA MAD MFX MODPLUG MPEG2 MTP MUSEPACK \
NCURSES NFS NLS NOTIFY OGG OGGSPOTS OPTIMIZED_CFLAGS OPUS PNG PULSEAUDIO \
QT5 REALRTSP RUNROOT SAMPLERATE SIDPLAY SCHROEDINGER \
SDL SHOUTCAST SKINS SMB SNDIO STREAM SPEEX TAGLIB THEORA \
TWOLAME UPNP V4L VAAPI VCD VDPAU VPX VORBIS WAYLAND X11 X264 X265 ZVBI
OPTIONS_DEFINE_powerpc= ALTIVEC
OPTIONS_DEFINE_powerpc64= ALTIVEC
OPTIONS_DEFAULT=ASS AVAHI DAV1D DBUS DVDREAD DVDNAV GNUTLS HARFBUZZ JPEG \
LIVEMEDIA LUA OGG OPTIMIZED_CFLAGS \
OPUS PNG QT5 SAMPLERATE STREAM SPEEX TAGLIB THEORA TWOLAME \
V4L VAAPI VCD VDPAU VORBIS WAYLAND X11
OPTIONS_DEFAULT_powerpc= ALTIVEC
OPTIONS_DEFAULT_powerpc64= ALTIVEC
OPTIONS_SUB= yes
AOM_DESC= AV1 video encoding/decoding via libaom
ASS_DESC= ASS/SSA subtitle rendering
CHROMECAST_DESC=Streaming to Chromecast devices
DAV1D_DESC= AV1 video decoding via libdav1d
DVDREAD_DESC= DVD Playback support
DVDNAV_DESC= DVD menu navigation
FLUID_DESC= Fluidsynth MIDI support
FREERDP_DESC= RDP support
GME_DESC= Game Music Emu (libgme) support
GOOM_DESC= Goom visualisation plugin
HARFBUZZ_DESC= OpenType text shaping engine
KATE_DESC= Kate codec support
LIBPLACEBO_DESC=HDR tonemapping support through libplacebo
LIBSSH2_DESC= SCP/SFTP support via libssh2
MFX_DESC= Intel MediaSDK (aka Quick Sync Video)
OGGSPOTS_DESC= Experimental OggSpots codec
REALRTSP_DESC= Real RTSP access module
RUNROOT_DESC= Enable running as root
SIDPLAY_DESC= C64 sid demux support
SKINS_DESC= Skins interface module
STREAM_DESC= stream output
TAGLIB_DESC= ID3 tag and Ogg comment support
VCD_DESC= Audio/Video CD support
ZVBI_DESC= VBI decoding support
A52_CONFIGURE_ENABLE= a52
A52_CONFIGURE_ON= --with-a52=${LOCALBASE}
A52_LIB_DEPENDS= liba52.so:audio/liba52
AALIB_LIB_DEPENDS= libaa.so:graphics/aalib
AALIB_CONFIGURE_ENABLE= aa
ASS_LIB_DEPENDS= libass.so:multimedia/libass
ASS_CONFIGURE_ENABLE= libass
ALTIVEC_CONFIGURE_ENABLE= altivec
AOM_LIB_DEPENDS= libaom.so:multimedia/aom
AOM_CONFIGURE_ENABLE= aom
AVAHI_LIB_DEPENDS= libavahi-common.so:net/avahi-app
AVAHI_CONFIGURE_ENABLE= avahi
CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca
CACA_CONFIGURE_ENABLE= caca
CHROMECAST_LIB_DEPENDS= libprotobuf-lite.so:devel/protobuf
CHROMECAST_CONFIGURE_ENABLE= chromecast
DAV1D_LIB_DEPENDS= libdav1d.so:multimedia/dav1d
DAV1D_CONFIGURE_ENABLE= dav1d
DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus
DBUS_CONFIGURE_ENABLE= dbus
DCA_LIB_DEPENDS= libdca.so:multimedia/libdca
DCA_CONFIGURE_ENABLE= dca
DVDREAD_LIB_DEPENDS= libdvdread.so:multimedia/libdvdread
DVDREAD_CONFIGURE_ENABLE= dvdread
DVDNAV_LIB_DEPENDS= libdvdnav.so:multimedia/libdvdnav
DVDNAV_CONFIGURE_ENABLE=dvdnav
FAAD_LIB_DEPENDS= libfaad.so:audio/faad
FAAD_CONFIGURE_ENABLE= faad
FAAD_CONFIGURE_ENV= CPPFLAGS_faad="-I${LOCALBASE}/include" \
LIBS_faad="-L${LOCALBASE}/lib"
FLAC_LIB_DEPENDS= libFLAC.so:audio/flac
FLAC_CONFIGURE_ENABLE= flac
FLUID_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth
FLUID_CONFIGURE_ENABLE= fluidsynth
FREERDP_LIB_DEPENDS= libfreerdp2.so:net/freerdp
FREERDP_CONFIGURE_ENABLE= freerdp
FREERDP_CONFIGURE_ENV= FREERDP_CFLAGS="-I${LOCALBASE}/include/freerdp2 \
-I${LOCALBASE}/include/winpr2" \
FREERDP_LIBS="-L${LOCALBASE}/lib"
FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi
FRIBIDI_CONFIGURE_ENABLE= fribidi
GME_LIB_DEPENDS= libgme.so:audio/libgme
GME_CONFIGURE_ENABLE= gme
GME_CONFIGURE_ENV= LIBS_gme="-L${LOCALBASE}/lib -lgme"
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
GNUTLS_CONFIGURE_ENABLE=gnutls
GOOM_LIB_DEPENDS= libgoom2.so:graphics/goom
GOOM_CONFIGURE_ENABLE= goom
HARFBUZZ_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz
HARFBUZZ_CONFIGURE_ENABLE= harfbuzz
JACK_LIB_DEPENDS= libjack.so:audio/jack
JACK_CONFIGURE_ENABLE= jack
JPEG_USES= jpeg
JPEG_CONFIGURE_ENABLE= jpeg
KATE_LIB_DEPENDS= libkate.so:multimedia/libkate
KATE_CONFIGURE_ENABLE= kate
LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray
LIBBLURAY_CONFIGURE_ENABLE= bluray
LIBPLACEBO_LIB_DEPENDS= libplacebo.so:graphics/libplacebo
LIBPLACEBO_CONFIGURE_ENABLE= libplacebo
LIBRSVG2_USE= GNOME=librsvg2,cairo
LIBRSVG2_CONFIGURE_ENABLE= svg
LIBSSH2_LIB_DEPENDS= libssh2.so:security/libssh2
LIBSSH2_CONFIGURE_ENABLE= sftp
LIRC_LIB_DEPENDS= liblirc_client.so:comms/lirc
LIRC_CONFIGURE_ENABLE= lirc
LIRC_CONFIGURE_ENV= LIBS_lirc="-L${LOCALBASE}/lib -llirc_client"
LIVEMEDIA_USES= ssl
LIVEMEDIA_LIB_DEPENDS= libliveMedia.so:net/liveMedia
LIVEMEDIA_CONFIGURE_ENABLE= live555
LIVEMEDIA_CONFIGURE_ENV= \
LIVE555_CFLAGS="-I${LOCALBASE}/include/liveMedia \
-I${LOCALBASE}/include/UsageEnvironment \
-I${LOCALBASE}/include/groupsock \
-I${LOCALBASE}/include/BasicUsageEnvironment" \
LIVE555_LIBS="-L${LOCALBASE}/lib -lliveMedia \
-lgroupsock -lBasicUsageEnvironment \
-lUsageEnvironment \
-L${OPENSSLLIB} -lssl -lcrypto"
LUA_USES= lua
LUA_CONFIGURE_ENABLE= lua
LUA_CONFIGURE_ON= LUAC=${LUAC_CMD} LUA_CFLAGS="-I${LUA_INCDIR}" \
LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER}"
MAD_LIB_DEPENDS= libmad.so:audio/libmad
MAD_CONFIGURE_ENABLE= mad
MAD_CONFIGURE_ON= --with-mad=${LOCALBASE}
MFX_LIB_DEPENDS= libmfx.so:multimedia/intel-media-sdk
MFX_CONFIGURE_ENABLE= mfx
MODPLUG_LIB_DEPENDS= libmodplug.so:audio/libmodplug
MODPLUG_CONFIGURE_ENABLE= mod
MPEG2_LIB_DEPENDS= libmpeg2.so:multimedia/libmpeg2
MPEG2_CONFIGURE_ENABLE= libmpeg2
MTP_LIB_DEPENDS= libmtp.so:multimedia/libmtp
MTP_CONFIGURE_ENABLE= mtp
MUSEPACK_LIB_DEPENDS= libmpcdec.so:audio/musepack
MUSEPACK_CONFIGURE_ENABLE= mpc
MUSEPACK_CONFIGURE_ENV= LIBS_mpc="-L${LOCALBASE}/lib -lmpcdec"
NCURSES_USES= ncurses
NCURSES_CONFIGURE_ENV= NCURSES_CFLAGS="-I${NCURSESINC}" \
NCURSES_LIBS="-L${NCURSESLIB} -lncursesw"
NCURSES_CONFIGURE_ENABLE= ncurses
NFS_LIB_DEPENDS= libnfs.so:net/libnfs
NFS_CONFIGURE_ENABLE= nfs
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify
NOTIFY_USE= GNOME=gtk30,cairo
NOTIFY_CONFIGURE_ENABLE=notify
OGG_LIB_DEPENDS= libogg.so:audio/libogg
OGG_CONFIGURE_ENABLE= ogg
OGGSPOTS_CONFIGURE_ENABLE= oggspots
OGGSPOTS_IMPLIES= OGG
OPTIMIZED_CFLAGS_CONFIGURE_ENABLE= optimizations
OPUS_LIB_DEPENDS= libopus.so:audio/opus
OPUS_CONFIGURE_ENABLE= opus
PNG_LIB_DEPENDS= libpng.so:graphics/png
PNG_CONFIGURE_ENABLE= png
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
PULSEAUDIO_CONFIGURE_ENABLE= pulse
QT5_USES= qt:5
QT5_USE= QT=gui,core,svg,widgets,x11extras,buildtools_build
QT5_CONFIGURE_ENABLE= qt
QT5_IMPLIES= X11
REALRTSP_CONFIGURE_ENABLE= realrtsp
RUNROOT_CONFIGURE_ENABLE= run-as-root
SAMPLERATE_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate
SAMPLERATE_CONFIGURE_ENABLE= samplerate
SCHROEDINGER_LIB_DEPENDS= libschroedinger-1.0.so:multimedia/schroedinger
SCHROEDINGER_CONFIGURE_ENABLE= schroedinger
SDL_USES= sdl
SDL_USE= SDL=image
SDL_CONFIGURE_ENABLE= sdl-image
SIDPLAY_LIB_DEPENDS= libsidplay2.so:audio/libsidplay2
SIDPLAY_LDFLAGS= -L${LOCALBASE}/lib/sidplay/builders
SIDPLAY_CONFIGURE_ENABLE= sid
CONFIGURE_ARGS+= --disable-sid
-SKINS_USE= XORG=xext,xinerama,xpm
-SKINS_LIB_DEPENDS= libminizip.so:archivers/minizip \
- libtar.so:devel/libtar
+SKINS_USE= XORG=xext,xinerama,xpm minizip
+SKINS_LIB_DEPENDS= libtar.so:devel/libtar
SKINS_CONFIGURE_ENABLE= skins2 libtar
SKINS_IMPLIES= QT5
SHOUTCAST_LIB_DEPENDS= libshout.so:audio/libshout
SHOUTCAST_CONFIGURE_ENABLE= shout
SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio
SNDIO_CONFIGURE_ENABLE= sndio
SMB_USES= samba:lib
SMB_CONFIGURE_ENABLE= smbclient
STREAM_CONFIGURE_ENABLE=sout
SPEEX_LIB_DEPENDS= libspeex.so:audio/speex \
libspeexdsp.so:audio/speexdsp
SPEEX_CONFIGURE_ENABLE= speex
TAGLIB_LIB_DEPENDS= libtag.so:audio/taglib
TAGLIB_CONFIGURE_ENABLE=taglib
THEORA_LIB_DEPENDS= libtheora.so:multimedia/libtheora
THEORA_CONFIGURE_ENABLE=theora
TWOLAME_LIB_DEPENDS= libtwolame.so:audio/twolame
TWOLAME_CONFIGURE_ENABLE= twolame
UPNP_LIB_DEPENDS= libupnp.so:devel/upnp
UPNP_CONFIGURE_ENABLE= upnp
V4L_BUILD_DEPENDS= v4l_compat>=0:multimedia/v4l_compat
V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l
V4L_CONFIGURE_ENABLE= v4l2
VAAPI_LIB_DEPENDS= libva.so:multimedia/libva
VAAPI_CONFIGURE_ENABLE= libva
VCD_LIB_DEPENDS= libcddb.so:audio/libcddb
VCD_CONFIGURE_ENABLE= vcd libcddb
VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau
VDPAU_CONFIGURE_ENABLE= vdpau
VDPAU_IMPLIES= X11
VPX_LIB_DEPENDS= libvpx.so:multimedia/libvpx
VPX_CONFIGURE_ENABLE= vpx
VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis
VORBIS_CONFIGURE_ENABLE=vorbis
WAYLAND_BUILD_DEPENDS= wayland-protocols>=0:graphics/wayland-protocols
WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland
WAYLAND_CONFIGURE_ENABLE= wayland
X11_USE= GL=gl XORG=xcb,xorgproto,sm,ice,x11
X11_USES= gl xorg
X11_LIB_DEPENDS= libxcb-keysyms.so:x11/xcb-util-keysyms
X11_CONFIGURE_ENABLE= xcb xvideo
X11_CONFIGURE_WITH= x
X264_LIB_DEPENDS= libx264.so:multimedia/libx264
X264_CONFIGURE_ENABLE= x264
X265_LIB_DEPENDS= libx265.so:multimedia/x265
X265_CONFIGURE_ENABLE= x265
ZVBI_LIB_DEPENDS= libzvbi.so:devel/libzvbi
ZVBI_CONFIGURE_ENABLE= zvbi
PORTDATA= *
PORTDOCS= *
WITH_CDROM_DEVICE?=/dev/cd0
WITH_DVD_DEVICE?=/dev/cd0
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MX11}
.endif
.if ${PORT_OPTIONS:MDEBUG}
WITH_DEBUG=yes
CONFIGURE_ARGS+=--enable-debug --disable-optimizations
CFLAGS+=-g -O0
CXXFLAGS+=-g -O0
.endif
post-patch:
@${REINPLACE_CMD} \
-e '\|LIBS|s|-lrt||' \
-e 's|LIBS="-llirc_client|LIBS="$$LIBS_lirc|' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|/dev/cdrom|${WITH_CDROM_DEVICE}|g' \
-e 's|/dev/dvd|${WITH_DVD_DEVICE}|g' \
${WRKSRC}/src/libvlc-module.c
@${RM} -r ${WRKSRC}/modules/access/v4l2/linux
# XXX FreeBSD doesn't have strerror_l() - use the android version of error.c
@${CP} ${WRKSRC}/src/android/error.c ${WRKSRC}/src/posix
post-install:
@(cd ${STAGEDIR}${PREFIX} && ${FIND} -s lib/vlc -not -name '*.la' \
-type f -o -type l >> ${TMPPLIST})
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/vlc/plugins/*/*.so
# plugin cache becomes stale after strip. Regenerate it:
${WRKSRC}/bin/vlc-cache-gen ${STAGEDIR}${PREFIX}/lib/vlc/plugins
.include <bsd.port.mk>
diff --git a/net-im/psi/Makefile b/net-im/psi/Makefile
index 35bb7df4f328..cd4cda2af20e 100644
--- a/net-im/psi/Makefile
+++ b/net-im/psi/Makefile
@@ -1,51 +1,50 @@
# Created by: Jonathan Chen <jonc@chen.org.nz>
PORTNAME= psi
PORTVERSION= 1.5
CATEGORIES= net-im
MASTER_SITES= SF/${PORTNAME}/Psi/${PORTVERSION}
MAINTAINER= danfe@FreeBSD.org
COMMENT= Qt-based Jabber (XMPP) client
LICENSE= GPLv2+
-LIB_DEPENDS= libidn.so:dns/libidn \
- libminizip.so:archivers/minizip
+LIB_DEPENDS= libidn.so:dns/libidn
-USES= cmake compiler:c++11-lang desktop-file-utils pkgconfig \
+USES= cmake compiler:c++11-lang desktop-file-utils minizip pkgconfig \
qca qt:5 tar:xz xorg
USE_QT= concurrent core dbus gui multimedia network svg widgets \
x11extras xml buildtools_build qmake_build imageformats_run
USE_XORG= ice sm x11 xcb xext xscrnsaver
CMAKE_ARGS= -DIDN_LIBRARY:FILEPATH="${LOCALBASE}/lib/libidn.so" \
-DIDN_INCLUDE_DIR:PATH="${LOCALBASE}/include"
OPTIONS_DEFINE= WEBKIT
OPTIONS_RADIO= SPELLCHECK
OPTIONS_RADIO_SPELLCHECK= HUNSPELL ENCHANT
SPELLCHECK_DESC= Spell checker backend
OPTIONS_DEFAULT= HUNSPELL
OPTIONS_SUB= yes
WEBKIT_USE= QT=webkit
WEBKIT_CMAKE_BOOL= ENABLE_WEBKIT
HUNSPELL_LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell
HUNSPELL_CMAKE_BOOL= USE_HUNSPELL
ENCHANT_DESC= Spell checking support via Enchant
ENCHANT_LIB_DEPENDS= libenchant.so:textproc/enchant
ENCHANT_CMAKE_BOOL= USE_ENCHANT
post-patch:
# Replace original Hunspell implementation with better alternative
@${CP} ${FILESDIR}/hunspellchecker.* \
${WRKSRC}/src/libpsi/tools/spellchecker
# Avoid conflict with C++20 <version> by adding .txt suffix
@${MV} ${WRKSRC}/version ${WRKSRC}/version.txt
@${REINPLACE_CMD} -i .c++20 's,SOURCE_DIR}/version,&.txt,' \
${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>
diff --git a/net-im/telegram-desktop/Makefile b/net-im/telegram-desktop/Makefile
index 39ff304d0e08..0d567851d5ee 100644
--- a/net-im/telegram-desktop/Makefile
+++ b/net-im/telegram-desktop/Makefile
@@ -1,103 +1,102 @@
PORTNAME= telegram-desktop
DISTVERSION= 3.4.3
CATEGORIES= net-im
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/
DISTNAME= tdesktop-${DISTVERSION}-full
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= glebius@FreeBSD.org
COMMENT= Telegram Desktop messaging app
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_i386= does not build, webrtc related
NOT_FOR_ARCHS= powerpc powerpc64 powerpcspe
NOT_FOR_ARCHS_REASON= Only little endian is supported
BUILD_DEPENDS= alsa-lib>0:audio/alsa-lib \
microsoft-gsl>0:devel/microsoft-gsl \
pulseaudio>0:audio/pulseaudio \
range-v3>0:devel/range-v3 \
tl-expected>0:devel/tl-expected \
v4l_compat>0:multimedia/v4l_compat \
yasm:devel/yasm \
${LOCALBASE}/lib/libtg_owt.a:net-im/tg_owt
LIB_DEPENDS= libavformat.so:multimedia/ffmpeg \
libdbus-1.so:devel/dbus \
libdbusmenu-qt5.so:devel/libdbusmenu-qt \
libenchant-2.so:textproc/enchant2 \
libevent.so:devel/libevent \
libhunspell-1.7.so:textproc/hunspell \
libjpeg.so:graphics/jpeg-turbo \
liblz4.so:archivers/liblz4 \
- libminizip.so:archivers/minizip \
librnnoise.so:audio/rnnoise \
libopenal.so:audio/openal-soft \
libopenh264.so:multimedia/openh264 \
libopus.so:audio/opus \
libpipewire-0.3.so:multimedia/pipewire \
libqrcodegencpp.so:graphics/qr-code-generator \
libusrsctp.so:net/libusrsctp \
libxcb-keysyms.so:x11/xcb-util-keysyms \
libxkbcommon.so:x11/libxkbcommon \
libxxhash.so:devel/xxhash \
libvpx.so:multimedia/libvpx
USES= cmake compiler:c++17-lang desktop-file-utils gl \
gnome pkgconfig python:3.7+,build qt:5 ssl xorg
USE_GITHUB= nodefault
GH_ACCOUNT= telegramdesktop
GH_PROJECT= tdesktop
USE_GL= gl
USE_GNOME= glib20 glibmm
USE_QT= core dbus gui imageformats network widgets buildtools_build \
qmake_build wayland svg
USE_XORG= x11 xcb xcomposite xdamage xext xfixes xrender xrandr xtst
CMAKE_ARGS= -DDESKTOP_APP_SPECIAL_TARGET="" -DTDESKTOP_LAUNCHER_BASENAME="telegramdesktop" \
-DTDESKTOP_API_ID=${TELEGRAM_API_ID} -DTDESKTOP_API_HASH=${TELEGRAM_API_HASH} \
-Ddisable_autoupdate=1
CMAKE_ON= DESKTOP_APP_USE_PACKAGED DESKTOP_APP_DISABLE_CRASH_REPORTS \
DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION
CMAKE_OFF= DESKTOP_APP_USE_PACKAGED_FONTS \
DESKTOP_APP_QT6
# Disable DCHECKs, otherwise video calls will crash.
CXXFLAGS+= -DNDEBUG
# see Bugzilla #245452 for details
NO_CCACHE= yes
# Telegram uses OpenAL for its audio, but libtgvoip (for voice calls) can use PulseAudio or ALSA.
# It dynamically loads PulseAudio, and if this fails, it loads ALSA.
# If both of them are not installed, then voice calls do not work, but other functionalities still work.
OPTIONS_DEFINE= WEBKIT
OPTIONS_DEFAULT= ALSA
OPTIONS_MULTI= AUDIO
OPTIONS_MULTI_AUDIO= ALSA PULSEAUDIO
AUDIO_DESC= Audio backend for voice calls
WEBKIT_DESC= WebKit-gtk integration for payments
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
WEBKIT_CMAKE_BOOL_OFF= DESKTOP_APP_DISABLE_WEBKITGTK
WEBKIT_LIB_DEPENDS= libwebkit2gtk-4.0.so:www/webkit2-gtk3
WEBKIT_USE= GNOME=cairo,gtk30
# Telegram asks each custom build to have its own API ID and hash.
TELEGRAM_API_HASH= 20a3432aab43f24bb4460fceac5ba38d
TELEGRAM_API_ID= 601761
.include <bsd.port.pre.mk>
.if ${COMPILER_VERSION} < 120
LLVM_VER= 12
BUILD_DEPENDS+= clang${LLVM_VER}:devel/llvm${LLVM_VER}
CC= ${LOCALBASE}/bin/clang${LLVM_VER}
CXX= ${LOCALBASE}/bin/clang++${LLVM_VER}
.endif
.include <bsd.port.post.mk>
diff --git a/science/libkml/Makefile b/science/libkml/Makefile
index 936f56a27c9b..422d2f4a9554 100644
--- a/science/libkml/Makefile
+++ b/science/libkml/Makefile
@@ -1,37 +1,35 @@
# Created by: Wen Heping <wen@FreeBSD.org>
PORTNAME= libkml
PORTVERSION= 1.3.0
PORTREVISION= 18
CATEGORIES= science
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Reference implementation of OGC KML 2.2
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= boost-libs>=1.44.0:devel/boost-libs \
- googletest>=1.7.0:devel/googletest \
- minizip>=1.2.8:archivers/minizip
+ googletest>=1.7.0:devel/googletest
LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
libexpat.so:textproc/expat2 \
libgtest.so:devel/googletest \
- libminizip.so:archivers/minizip \
liburiparser.so:net/uriparser
OPTIONS_DEFINE= EXAMPLES
-USES= cmake compiler:c11 pathfix
+USES= cmake compiler:c11 minizip pathfix
CMAKE_OFF= WITH_JAVA WITH_PYTHON WITH_SWIG
USE_CXXSTD= gnu++98
USE_LDCONFIG= yes
USE_GITHUB= yes
EXAMPLES_CMAKE_BOOL= BUILD_EXAMPLES INSTALL_EXAMPLES
EXAMPLES_CMAKE_ON= -DKML_EXAMPLES_DIR=${EXAMPLESDIR}
EXAMPLES_LIB_DEPENDS= libcurl.so:ftp/curl
.include <bsd.port.mk>
diff --git a/textproc/sigil/Makefile b/textproc/sigil/Makefile
index 3e33318d5564..bc430e492c51 100644
--- a/textproc/sigil/Makefile
+++ b/textproc/sigil/Makefile
@@ -1,47 +1,46 @@
# Created by: Jonathan Chen <jonc@chen.org.nz>
PORTNAME= sigil
PORTVERSION= 1.8.0
CATEGORIES= textproc
MAINTAINER= jonc@chen.org.nz
COMMENT= WYSIWYG ePub editor
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING.txt
-LIB_DEPENDS= libminizip.so:archivers/minizip \
- libpcre.so:devel/pcre \
+LIB_DEPENDS= libpcre.so:devel/pcre \
libhunspell-1.7.so:textproc/hunspell
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dulwich>=0.15.0:devel/dulwich@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR}
USES= cmake compiler:c++11-lib cpe desktop-file-utils \
- pkgconfig python:3.4+ qt:5 shebangfix
+ minizip pkgconfig python:3.4+ qt:5 shebangfix
CPE_VENDOR= ${PORTNAME}-ebook
USE_GITHUB= yes
GH_ACCOUNT= Sigil-Ebook
GH_PROJECT= Sigil
USE_LDCONFIG= ${PREFIX}/lib/sigil
USE_QT= concurrent core declarative gui location network printsupport \
svg webchannel webengine widgets xml xmlpatterns \
buildtools_build linguisttools_build qmake_build \
imageformats_run
SHEBANG_FILES= src/Resource_Files/plugin_launchers/python/*.py \
src/Resource_Files/python3lib/*.py
CMAKE_ARGS= -DUSE_SYSTEM_LIBS:BOOL=1
# Upstream uses pkg-config output to pass libhunspell-1.7.so and
# libpcre16.so to the linker. pkg-config output does not include full
# paths, so add a workaround to keep the port linking for now.
LDFLAGS+= -L${LOCALBASE}/lib
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/sigil/*.so
.include <bsd.port.mk>
diff --git a/www/domoticz/Makefile b/www/domoticz/Makefile
index 0a40cdc99385..83059f63db35 100644
--- a/www/domoticz/Makefile
+++ b/www/domoticz/Makefile
@@ -1,76 +1,76 @@
PORTNAME= domoticz
PORTVERSION= 2020.2
PORTREVISION= 2
CATEGORIES= www
MAINTAINER= kiwi@oav.net
COMMENT= Home Automation System
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/License.txt
LIB_DEPENDS= libcurl.so:ftp/curl libboost_system.so:devel/boost-libs \
- libminizip.so:archivers/minizip libjsoncpp.so:devel/jsoncpp
+ libjsoncpp.so:devel/jsoncpp
BUILD_DEPENDS= cereal>=1.2.2:devel/cereal
-USES= cmake compiler:c++11-lang cpe pkgconfig ssl lua:53 sqlite
+USES= cmake compiler:c++11-lang cpe minizip pkgconfig ssl lua:53 sqlite
OPTIONS_SUB= YES
OPTIONS_DEFINE= SMQTT PYTHON TELLDUS OPENZWAVE PRECOMP
OPTIONS_DEFAULT= PYTHON PRECOMP
SMQTT_DESC= Use domoticz Mosquitto instead of ports one
PYTHON_DESC= Enable Python for Plugins and Event-Scripts
TELLDUS_DESC= Enable Tellstick Telldus support
OPENZWAVE_DESC= Enable OpenZWave support
PRECOMP_DESC= Enable usage of precompiled header to speed build time
.include <bsd.port.options.mk>
USE_GITHUB= yes
# allow to build port with MQQT version recommended by the upstream
# see https://github.com/domoticz/domoticz/tree/development/extern for the
# specific release tag
GH_TUPLE= eclipse:mosquitto:22e0a4b:mosquitto/extern/mosquitto
USE_RC_SUBR= domoticz
USERS= domoticz
GROUPS= domoticz
CMAKE_INSTALL_PREFIX= ${PREFIX}/domoticz
CMAKE_OFF+= GIT_SUBMODULE USE_STATIC_BOOST USE_OPENSSL_STATIC \
USE_BUILTIN_SQLITE USE_BUILTIN_MINIZIP USE_BUILTIN_JSONCPP
.if ${PORT_OPTIONS:MSMQTT}
CMAKE_ON+= USE_BUILTIN_MQTT
.else
CMAKE_OFF+= USE_BUILTIN_MQTT
LIB_DEPENDS+= libmosquitto.so:net/mosquitto
.endif
.if ${PORT_OPTIONS:MPYTHON}
CMAKE_ON+= USE_PYTHON
USES+= python:3.7
.else
CMAKE_OFF+= USE_PYTHON
.endif
.if ${PORT_OPTIONS:MTELLDUS}
LIB_DEPENDS+= libtelldus-core.so:comms/telldus-core
.endif
.if ${PORT_OPTIONS:MPRECOMP}
CMAKE_ON+= USE_PRECOMPILED_HEADER
.else
CMAKE_OFF+= USE_PRECOMPILED_HEADER
.endif
.if ${PORT_OPTIONS:MOPENZWAVE}
CMAKE_OFF+= USE_STATIC_OPENZWAVE
LIB_DEPENDS+= libopenzwave.so:comms/openzwave-devel
.endif
post-install:
${MKDIR} ${STAGEDIR}/var/db/domoticz ${STAGEDIR}/var/run/domoticz
.include <bsd.port.mk>

File Metadata

Mime Type
text/x-diff
Expires
Fri, Feb 21, 9:03 PM (10 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16744970
Default Alt Text
(56 KB)

Event Timeline