diff --git a/multimedia/misc/librist/actions.py b/multimedia/misc/librist/actions.py new file mode 100644 index 0000000000..8677f19e45 --- /dev/null +++ b/multimedia/misc/librist/actions.py @@ -0,0 +1,17 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt + +from pisi.actionsapi import mesontools, shelltools, get + +def setup(): + mesontools.configure("-Dbuiltin_cjson=true") + +def build(): + mesontools.build() + +def install(): + mesontools.install() + shelltools.chmod("%s/usr/include/librist/librist.h" % get.installDIR(), mode = 0644) diff --git a/multimedia/misc/librist/pspec.xml b/multimedia/misc/librist/pspec.xml new file mode 100644 index 0000000000..73b085f714 --- /dev/null +++ b/multimedia/misc/librist/pspec.xml @@ -0,0 +1,75 @@ + + + + + librist + https://code.videolan.org/rist/librist + + fury + uglyside@yandex.ru + + BSD-2-Clause + library + multimedia.misc + Reliable internet stream transport. + A library that can be used to easily add the RIST protocol to your application. + + https://code.videolan.org/rist/librist/-/archive/v0.2.7/librist-v0.2.7.tar.bz2 + + + meson + cmake + lz4-devel + cmocka-devel + mbedtls-devel + + + + + + + + rist-tools + app:console + + mbedtls + + + + /usr/bin + + + + + librist + + libgcc + mbedtls + + + /usr/lib + + + + + librist-devel + + mbedtls + librist + + + /usr/include + /usr/lib/pkgconfig + + + + + + 2023-02-06 + 0.2.7 + First build. + fury + uglyside@yandex.ru + + + diff --git a/multimedia/videoplayer/obs-studio/actions.py b/multimedia/videoplayer/obs-studio/actions.py index d611efaf24..a1ee9f18c8 100644 --- a/multimedia/videoplayer/obs-studio/actions.py +++ b/multimedia/videoplayer/obs-studio/actions.py @@ -1,25 +1,32 @@ -#!/usr/bin/env python +#!/usr/bin/python # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. -# See the file http://www.gnu.org/copyleft/gpl.txt +# See the file https://www.gnu.org/licenses/gpl-3.0.txt -from pisi.actionsapi import cmaketools -from pisi.actionsapi import pisitools -from pisi.actionsapi import get +from pisi.actionsapi import cmaketools, mesontools, pisitools + +j = ''.join([ + ' -DCMAKE_BUILD_TYPE=Release', + ' -DCMAKE_INSTALL_PREFIX=/usr', + ' -DCMAKE_INSTALL_LIBDIR=lib', + ' -DCMAKE_C_COMPILER=gcc', + ' -DCMAKE_CXX_COMPILER=g++', + ' -DUNIX_STRUCTURE=ON', + ' -DENABLE_JACK=ON', + ' -DBUILD_VST=OFF', + ' -DBUILD_BROWSER=OFF', + ' -DOpenGL_GL_PREFERENCE=GLVND', + ' -B_build -G Ninja -L ' + ]) def setup(): - cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DBUILD_VST=OFF \ - -DUNIX_STRUCTURE=1 \ - -DBUILD_BROWSER=OFF \ - -DOpenGL_GL_PREFERENCE=GLVND") + cmaketools.configure(j) def build(): - cmaketools.make() + mesontools.build("-C _build") def install(): - cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) + mesontools.install("-C _build") pisitools.dodoc("CONTRIBUTING*", "COPYING*", "README*") diff --git a/multimedia/videoplayer/obs-studio/files/alpine/disable_some_plugins.patch b/multimedia/videoplayer/obs-studio/files/alpine/disable_some_plugins.patch new file mode 100644 index 0000000000..013cfbbee5 --- /dev/null +++ b/multimedia/videoplayer/obs-studio/files/alpine/disable_some_plugins.patch @@ -0,0 +1,35 @@ +websocket plugin needs a bunch of checkouts more + +obs browser requires building cef (chromium) as a submodule + +aja exists but isn't friendly to package (no soversion), and is just a plugin +for some fancy enterprise hardware + +diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt +index d20bce1..92f7734 100644 +--- a/plugins/CMakeLists.txt ++++ b/plugins/CMakeLists.txt +@@ -61,7 +61,7 @@ elseif(OS_LINUX) + add_subdirectory(sndio) + add_subdirectory(obs-vst) + +- check_obs_browser() ++ #check_obs_browser() + elseif(OS_FREEBSD) + add_subdirectory(linux-capture) + add_subdirectory(linux-pulseaudio) +@@ -85,7 +85,7 @@ endif() + if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/obs-websocket/CMakeLists.txt) + add_subdirectory(obs-websocket) + else() +- obs_status(FATAL_ERROR "obs-websocket submodule not available.") ++ #obs_status(FATAL_ERROR "obs-websocket submodule not available.") + endif() + + add_subdirectory(image-source) +@@ -97,4 +97,4 @@ add_subdirectory(obs-filters) + add_subdirectory(obs-transitions) + add_subdirectory(rtmp-services) + add_subdirectory(text-freetype2) +-add_subdirectory(aja) ++#add_subdirectory(aja) diff --git a/multimedia/videoplayer/obs-studio/pspec.xml b/multimedia/videoplayer/obs-studio/pspec.xml index 243540e39e..dd532ee34e 100644 --- a/multimedia/videoplayer/obs-studio/pspec.xml +++ b/multimedia/videoplayer/obs-studio/pspec.xml @@ -8,92 +8,107 @@ Stefan Gronewold (groni) groni@pisilinux.org - GPLv2 - obs-studio + GPL-2 app:gui - OBS-Studio is a rewrite of what was formerly known as Open Broadcaster Software - OBS-Studio software was originally designed for recording and streaming live video content, efficiently - https://github.com/obsproject/obs-studio/archive/27.1.3.tar.gz + Open Broadcaster Software. + Free and open source software for video recording and live streaming. + https://github.com/obsproject/obs-studio/archive/refs/tags/29.0.2.tar.gz + swig + cmake + ninja + vlc-libs + srt-devel + vlc-devel + lua-devel + pkgconfig curl-devel dbus-devel x264-devel zlib-devel + libva-devel + glib2-devel eudev-devel luajit-devel - glib2-devel ffmpeg-devel libX11-devel libv4l-devel libxcb-devel + libmfx-devel + librist-devel + qt6-svg-devel jansson-devel + rnnoise-devel mbedtls-devel python3-devel - alsa-lib-devel - libv4l-devel - vlc-devel - vlc-libs - pkgconfig - freetype-devel - libglvnd-devel - pipewire-devel - qt5-svg-devel - rnnoise-devel - qt5-base-devel - libfdk-aac-devel - libXfixes-devel - speexdsp-devel - fontconfig-devel - libXcomposite-devel - qt5-x11extras-devel - pulseaudio-libs-devel - jack-audio-connection-kit-devel - cmake wayland-devel wayland-client wayland-cursor wayland-server + pciutils-devel + qt6-base-devel + alsa-lib-devel + freetype-devel + libglvnd-devel + pipewire-devel + speexdsp-devel + libXfixes-devel + libfdk-aac-devel + fontconfig-devel + + libXcomposite-devel + + pulseaudio-libs-devel + jack-audio-connection-kit-devel + + + alpine/disable_some_plugins.patch + obs-studio + srt curl dbus x264 zlib - eudev - luajit glib2 + eudev + libva + luajit ffmpeg libX11 libgcc libv4l libxcb - speexdsp + librist + qt6-svg jansson mbedtls python3 + rnnoise + wayland + pciutils + speexdsp alsa-lib freetype libglvnd pipewire - qt5-svg - rnnoise - wayland - qt5-base + vlc-libs + qt6-base libXfixes fontconfig - vlc-libs - ffmpeg libfdk-aac + libxkbcommon libXcomposite - qt5-x11extras + + wayland-client pulseaudio-libs jack-audio-connection-kit - /usr/bin /usr/lib @@ -119,11 +134,16 @@ /usr/lib/cmake /usr/lib/pkgconfig - - + + 2023-02-06 + 29.0.2 + Version bump. + fury + uglyside@yandex.ru + 2021-11-09 27.1.3 diff --git a/multimedia/videoplayer/obs-studio/translations.xml b/multimedia/videoplayer/obs-studio/translations.xml index da22973197..7e85989d7e 100644 --- a/multimedia/videoplayer/obs-studio/translations.xml +++ b/multimedia/videoplayer/obs-studio/translations.xml @@ -4,7 +4,6 @@ obs-studio OBS-Studio is a rewrite of what was formerly known as Open Broadcaster Software - OBS-Studio software was originally designed for recording and streaming live - video content, efficiently + OBS-Studio software was originally designed for recording and streaming live video content, efficiently diff --git a/network/p2p/transmission/actions.py b/network/p2p/transmission/actions.py index 40e77aa250..5334d2754d 100644 --- a/network/p2p/transmission/actions.py +++ b/network/p2p/transmission/actions.py @@ -4,55 +4,28 @@ # Licensed under the GNU General Public License, version 3. # See the file https://www.gnu.org/licenses/gpl-3.0.txt -from pisi.actionsapi import shelltools -from pisi.actionsapi import autotools -from pisi.actionsapi import pisitools -from pisi.actionsapi import get -from pisi.actionsapi import qt5 +from pisi.actionsapi import mesontools, cmaketools j = ''.join([ - ' --enable-cli', - ' --enable-utp', - ' --enable-lightweight', - ' --enable-daemon', - ' --disable-static', - ' --disable-mac', - ' --with-gtk', - ' --with-crypto=openssl', - ' --without-systemd ' + ' -DCMAKE_BUILD_TYPE=Release', + ' -DCMAKE_CXX_COMPILER=g++', + ' -DENABLE_CLI=ON', + ' -DENABLE_QT=ON', + ' -DENABLE_GTK=ON', + ' -DENABLE_DAEMON=ON', + ' -DUSE_QT_VERSION=6', + ' -DQt_DIR=/usr/lib/cmake/Qt6', + ' -DINSTALL_LIB=OFF', + ' -DENABLE_TESTS=ON', + ' -DRUN_CLANG_TIDY=OFF', + ' -B_build -G Ninja -L ' ]) def setup(): - autotools.configure(j) - - # transmission with qt gui configure. - shelltools.cd("qt") - qt5.configure() + cmaketools.configure(j) def build(): - autotools.make() - - # transmission with qt gui make. - shelltools.cd("qt") - qt5.make() - qt5.make("translations") + mesontools.build("-C _build") def install(): - # qt - qt5.install("-C qt INSTALL_ROOT=%s/usr" % get.installDIR()) - pisitools.insinto("%s/%s" % (get.docDIR(), get.srcNAME()), "qt/README.txt", "README-QT") - pisitools.insinto("%s/applications" % get.dataDIR(), "qt/transmission-qt.desktop") - - # gtk - autotools.rawInstall("-C gtk DESTDIR=%s" % get.installDIR()) - autotools.rawInstall("-C po DESTDIR=%s" % get.installDIR()) - - # cli, web, deamon - for _dir in ["cli", "web", "utils"]: - autotools.rawInstall("-C %s DESTDIR=%s" % (_dir, get.installDIR())) - - # For daemon config files. - pisitools.dodir("/etc/transmission-daemon") - - pisitools.dodoc("AUTHORS", "COPYING", "NEWS.md", "README.md") - + mesontools.install("-C _build") diff --git a/network/p2p/transmission/pspec.xml b/network/p2p/transmission/pspec.xml index df4828d7df..f865a05131 100644 --- a/network/p2p/transmission/pspec.xml +++ b/network/p2p/transmission/pspec.xml @@ -8,28 +8,33 @@ PisiLinux Community admins@pisilinux.org - MIT - GPL-2 - service + GPL app:gui app:console network.p2p A fast, easy, and free BitTorrent client. Transmission is a free, lightweight Bittorrent client. It features a simple, intuitive interface on top of an efficient backend. This package provides only daemon, web interface and command line client. If you want use Transmission with graphical interface, you should install transmission-gtk or transmission-qt. - - https://github.com/transmission/transmission-releases/raw/master/transmission-3.00.tar.xz + + https://github.com/transmission/transmission/releases/download/4.0.0/transmission-4.0.0.tar.xz - intltool + cmake + ninja curl-devel - gtk3-devel - qt5-linguist + gtkmm3-devel + libpsl-devel + qt6-linguist + qt6-svg-devel openssl-devel - qt5-base-devel + qt6-base-devel xfsprogs-devel libevent-devel - libnotify-devel + appstream-devel + miniupnpc-devel + + libdeflate-devel + ayatana-libappindicator-devel @@ -41,16 +46,19 @@ app:console Transmission's cli tools, web interface and daemon. - zlib curl + libgcc + libpsl openssl libevent miniupnpc + libdeflate /usr/bin /etc /usr/share + /usr/share/transmission/public_html /usr/share/man /usr/share/doc @@ -61,17 +69,22 @@ app:gui Transmission's GTK+ interface (default). - transmission-cli - zlib curl gtk3 + atkmm glib2 - pango + glibmm + gtkmm3 + libgcc + libpsl + cairomm openssl + pangomm libevent + libsigc++ miniupnpc - libnotify - gdk-pixbuf + libdeflate + ayatana-libappindicator /usr/bin/transmission-gtk @@ -87,24 +100,31 @@ app:gui Transmission's Qt interface. - transmission-cli - zlib curl libgcc + libpsl openssl + qt6-base libevent - qt5-base miniupnpc + libdeflate /usr/bin/transmission-qt /usr/share/applications/transmission-qt.desktop /usr/share/man/man1/transmission-qt.1 - /usr/share/doc/transmission/README-QT + /usr/share/transmission/translations + + 2023-02-08 + 4.0.0 + Version bump. + fury + uglyside@yandex.ru + 2021-10-14 3.00 @@ -114,4 +134,3 @@ - diff --git a/util/archive/libdeflate/actions.py b/util/archive/libdeflate/actions.py new file mode 100644 index 0000000000..68f5173e47 --- /dev/null +++ b/util/archive/libdeflate/actions.py @@ -0,0 +1,25 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt + +from pisi.actionsapi import cmaketools, pisitools + +i = ''.join([ + ' -DCMAKE_BUILD_TYPE=Release', + ' -DLIBDEFLATE_USE_SHARED_LIB=ON', + ' -DLIBDEFLATE_BUILD_STATIC_LIB=OFF', + ' -B_build -L ' + ]) + +def setup(): + cmaketools.configure(i) + +def build(): + cmaketools.make("-C _build") + +def install(): + cmaketools.install("-C _build") + + pisitools.dodoc("NEWS.md") diff --git a/util/archive/libdeflate/pspec.xml b/util/archive/libdeflate/pspec.xml new file mode 100644 index 0000000000..e729fcd25e --- /dev/null +++ b/util/archive/libdeflate/pspec.xml @@ -0,0 +1,62 @@ + + + + + libdeflate + https://github.com/ebiggers/libdeflate + + fury + uglyside@yandex.ru + + MIT + library + util.archive + Heavily optimized library for DEFLATE/zlib/gzip compression and decompression. + libdeflate is a library for fast, whole-buffer DEFLATE-based compression and decompression. + + https://github.com/ebiggers/libdeflate/archive/refs/tags/v1.17.tar.gz + + + cmake + gzip + zlib-devel + + + + + + + + libdeflate + + libgcc + + + /usr/bin + /usr/lib/libdeflate.so* + /usr/share/doc/libdeflate + + + + + libdeflate-devel + + libdeflate + + + /usr/lib/cmake/libdeflate + /usr/lib/pkgconfig/libdeflate.pc + /usr/include/libdeflate.h + + + + + + 2023-02-08 + 1.17 + First build. + fury + uglyside@yandex.ru + + +