S ffmpeg -decoders |grep MPEG-5 built with gcc 14.2.0 (GCC ... libavutil 59. 34.100 / 59. 34.100 libavcodec 61. 11.100 / 61. 11.100 libavformat 61. 5.101 / 61. 5.101 libavdevice 61. 2.100 / 61. 2.100 libavfilter 10. 2.102 / 10. 2.102 libswscale 8. 2.100 / 8. 2.100 libswresample 5. 2.100 / 5. 2.100 libpostproc 58. 2.100 / 58. 2.100 V....D evc EVC / MPEG-5 Essential Video Coding (EVC) ==== $ ffmpeg -encoders |grep MPEG-5 built with gcc 14.2.0 (GCC ... libavutil 59. 34.100 / 59. 34.100 libavcodec 61. 11.100 / 61. 11.100 libavformat 61. 5.101 / 61. 5.101 libavdevice 61. 2.100 / 61. 2.100 libavfilter 10. 2.102 / 10. 2.102 libswscale 8. 2.100 / 8. 2.100 libswresample 5. 2.100 / 5. 2.100 libpostproc 58. 2.100 / 58. 2.100 V....D libxeve libxeve MPEG-5 EVC (codec evc) |
2024年08月
The eXtra-fast Essential Video Encoder (XEVE)
is an opensource and fast MPEG-5 EVC encoder.
MPEG-5 Essential Video Coding (EVC) is a video compression standard of ISO/IEC Moving Picture Experts Group (MPEG). The main goal of the EVC is to provide a significantly improved compression capability over existing video coding standards with timely publication of terms. The EVC defines two profiles, including "Baseline Profile" and "Main Profile". The "Baseline profile" contains only technologies that are older than 20 years or otherwise freely available for use in the standard. In addition, the "Main profile" adds a small number of additional tools, each of which can be either cleanly disabled or switched to the corresponding baseline tool on an individual basis.
#!/bin/bash # Slackware build script for xeve # Copyright 2024 JW(Shinichi Abe) <shin1.abe@nifty.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: # # 1. Redistributions of this script must retain the above copyright # notice, this list of conditions and the following disclaimer. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO # EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=xeve VERSION=${VERSION:-0.5.1} BUILD=${BUILD:-1} TAG=${TAG:-jw} PKGTYPE=${PKGTYPE:-txz} if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 fi TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" fi set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION # prepare source printf '%s\n' "v${VERSION}" > "version.txt" # Apply arch patches patch -p1 < $CWD/010-xeve-disable-werror.patch patch -p1 < $CWD/020-xeve-fix-pkg-config.patch #patch -p1 < $CWD/030-xeve-fix-function-naming.patch chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; mkdir -p build cd build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DMAN_INSTALL_DIR=/usr/man \ -DCMAKE_BUILD_TYPE=Release .. make make install/strip DESTDIR=$PKG cd .. # Don't ship .la files: rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a *.txt COPYING doc \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # Copy patches in doc dir, just in case cp $CWD/{010-xeve-disable-werror.patch,020-xeve-fix-pkg-config.patch,030-xeve-fix-function-naming.patch} $PKG/usr/doc/$PRGNAM-$VERSION/ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE |
# HOW TO EDIT THIS FILE: # The "handy ruler" below makes it easier to edit a package description. # Line up the first '|' above the ':' following the base package name, and # the '|' on the right side marks the last column you can put a character in. # You must make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| xeve: xeve (The eXtra-fast Essential Video Encoder (XEVE)) xeve: xeve: The eXtra-fast Essential Video Encoder (XEVE) is an opensource and xeve: fast MPEG-5 EVC encoder. xeve: xeve: HOME: https://github.com/mpeg5/xeve xeve: xeve: xeve: xeve: xeve: |
引き続き更新予定
The eXtra-fast Essential Video Decoder (XEVD)
is an opensource and fast MPEG-5 EVC decoder.
MPEG-5 Essential Video Coding (EVC) is a video compression standard of ISO/IEC Moving Picture Experts Group (MPEG). The main goal of the EVC is to provide a significantly improved compression capability over existing video coding standards with timely publication of terms. The EVC defines two profiles, including "Baseline Profile" and "Main Profile". The "Baseline profile" contains only technologies that are older than 20 years or otherwise freely available for use in the standard. In addition, the "Main profile" adds a small number of additional tools, each of which can be either cleanly disabled or switched to the corresponding baseline tool on an individual basis.
#!/bin/bash # Slackware build script for xevd-0.4.1 # Copyright 2024 JW(Shinichi Abe) <shin1.abe@nifty.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: # # 1. Redistributions of this script must retain the above copyright # notice, this list of conditions and the following disclaimer. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO # EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=xevd VERSION=${VERSION:-0.5.0} BUILD=${BUILD:-1} TAG=${TAG:-jw} PKGTYPE=${PKGTYPE:-txz} if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 fi TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" fi set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.?z cd $PRGNAM-$VERSION # prepare source printf '%s\n' "v${VERSION}" > "version.txt" # Apply arch patches patch -p1 < $CWD/010-xevd-disable-werror.patch patch -p1 < $CWD/020-xevd-fix-pkg-config.patch #patch -p1 < $CWD/030-xevd-fix-segfault.patch chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; mkdir -p build cd build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DMAN_INSTALL_DIR=/usr/man \ -DCMAKE_BUILD_TYPE=Release .. make make install/strip DESTDIR=$PKG cd .. # Don't ship .la files: rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a *.txt COPYING \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # Copy patches in doc dir, just in case cp $CWD/{010-xevd-disable-werror.patch,020-xevd-fix-pkg-config.patch,030-xevd-fix-segfault.patch} $PKG/usr/doc/$PRGNAM-$VERSION/ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE |
# HOW TO EDIT THIS FILE: # The "handy ruler" below makes it easier to edit a package description. # Line up the first '|' above the ':' following the base package name, and # the '|' on the right side marks the last column you can put a character in. # You must make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| xevd: xevd (The eXtra-fast Essential Video Decoder) xevd: xevd: The eXtra-fast Essential Video Decoder (XEVD) is an opensource and xevd: fast MPEG-5 EVC decoder. xevd: xevd: HOME: https://github.com/mpeg5/xevd xevd: xevd: xevd: xevd: xevd: |
引き続き更新予定
#!/bin/sh # Slackware build script for MEGASync input plugin # Copyright 2017,2018 Felipe Bugno <capent@yahoo.com> # # All rights reserved. # # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: # # 1. Redistributions of this script must retain the above copyright # notice, this list of conditions and the following disclaimer. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO # EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # 2023-04-14 : 4.9.1.0 (2jw) -- version bump to 4.9.1.0_linux # 2023-09-16 : 4.9.1.0 (3jw) -- Recompiled against libsodium-1.0.19 (libsodium.so.26.1.0) # 2024-01-30 : 4.9.1.0 (4jw) -- Recompiled against ffmpeg-6.1.1 # 2024-07-06 : 5.3.0.0 (1jw) -- version bump to 5.3.0.0 with sdk-7.1.2 # 2024-07-07 : 5.3.0.0 (2jw) -- Fix overwriting default FFmpeg6's soft-links in /usr/lib64/ # 2024-07-27 : 5.4.0.0 (1jw) -- version bump to 5.4.0.0 with sdk-7.3.0 # 2024-07-27 : 5.4.0.0 (2jw) -- Fix overwriting default FFmpeg6's libswresample.so.4 # 2024-08-14 : 5.4.0.0 (3jw) -- Recompiled against FFmpeg-7.0.2 # 2024-08-15 : 5.4.1.0 (1jw) -- version bump to 5.4.1.0 with sdk-7.6.0.eafa851 PRGNAM=MEGAsync VERSION=${VERSION:-5.4.1.0} SDK=${SDK:-7.6.0.eafa851} BUILD=${BUILD:-1} TAG=${TAG:-jw} if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" fi set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION\_Linux tar xvf $CWD/$PRGNAM-$VERSION\_Linux.tar.gz cd $PRGNAM-$VERSION\_Linux/src/MEGASync/mega tar --strip-components=1 -xvf $CWD/sdk-$SDK.tar.gz cd ../../../ chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; cd src/MEGASync/mega patch -p1 < $CWD/010-megasync-freeimage-remove-obsolete-ffmpeg-macros.patch patch -p1 < $CWD/020-megasync-sdk-fix-cmake-dependencies-detection.patch cd ../../../ patch -p1 < $CWD/030-megasync-app-fix-cmake-dependencies-detection.patch cd $TMP rm -rf vcpkg # Now.. we will use microsoft VCPKG build system for MEGAsync desktop apps git clone https://github.com/microsoft/vcpkg CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" export CXXFLAGS+=' -DNDEBUG' cmake -DVCPKG_ROOT=$TMP/vcpkg -B build -S $PRGNAM-$VERSION\_Linux -DCMAKE_BUILD_TYPE=Release \ -G 'Unix Makefiles' \ -DCMAKE_MODULE_PATH:PATH="$TMP/$PRGNAM-$VERSION\_Linux/src/MEGASync/mega/contrib/cmake/modules/packages" \ -DCMAKE_SKIP_INSTALL_RPATH:BOOL='YES' \ -Wno-dev cmake --build build --target MEGAsync #Install DESTDIR=$PKG cmake --install build install -d "$PKG/usr/lib${LIBDIRSUFFIX}" # Do Not overwrite *.so of default ffmpeg-6's libraries. rm $PKG/opt/megasync/lib/*.so # Do not overwrite FFmpeg6's libswresample.so.4. # Use libswresample.so.4 from system FFmpeg6's soft-link (libswresample.so.4 -> libswresample.so.4.14.100) rm $PKG/opt/megasync/lib/libswresample.so.4 # Now move ffmpeg related libs to STD lib64 dir mv $PKG/opt/megasync/lib/* $PKG/usr/lib${LIBDIRSUFFIX}/ install -D -m644 $PRGNAM-$VERSION\_Linux/LICENCE.md -t "$PKG/usr/share/licenses/megasync" install -D -m644 $PRGNAM-$VERSION\_Linux/installer/terms.txt -t "$PKG/usr/share/licenses/megasync" install -D -m644 $PRGNAM-$VERSION\_Linux/src/MEGASync/mega/LICENSE "$PKG/usr/share/licenses/megasync/LICENCE-SDK" rm -d "$PKG/opt"{/megasync{/lib,},} find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cd $TMP/$PRGNAM-$VERSION\_Linux cp -a README.md LICENCE.md CREDITS.md $PKG/usr/doc/$PRGNAM-$VERSION cp $CWD/010-megasync-freeimage-remove-obsolete-ffmpeg-macros.patch $CWD/020-megasync-sdk-fix-cmake-dependencies-detection.patch \ $CWD/030-megasync-app-fix-cmake-dependencies-detection.patch \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} |
PRGNAM="MEGAsync" VERSION="5.3.0.0" HOMEPAGE="https://github.com/meganz/MEGAsync/" DOWNLOAD="https://github.com/meganz/MEGAsync/archive/v5.4.0.0_Linux/MEGAsync-5.4.0.0_Linux.tar.gz \ https://github.com/meganz/sdk/archive/v7.3.0/sdk-7.3.0.tar.gz" MD5SUM="664d64aec33bb8c4ace970a154c93607 \ ff40b8806c9e34d5cab93d0a65fd721e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="FreeImage libmediainfo" MAINTAINER="" EMAIL="" |
--- a/src/gfx/freeimage.cpp +++ b/src/gfx/freeimage.cpp @@ -200,12 +200,6 @@ bool GfxProviderFreeImage::readbitmapFreeimage(const LocalPath& imagePath, int s #ifdef HAVE_FFMPEG -#ifdef AV_CODEC_CAP_TRUNCATED -#define CAP_TRUNCATED AV_CODEC_CAP_TRUNCATED -#else -#define CAP_TRUNCATED CODEC_CAP_TRUNCATED -#endif - const char *GfxProviderFreeImage::supportedformatsFfmpeg() { return ".264.265.3g2.3gp.3gpa.3gpp.3gpp2.mp3" @@ -321,10 +315,6 @@ bool GfxProviderFreeImage::readbitmapFfmpeg(const LocalPath& imagePath, int size // Force seeking to key frames formatContext->seek2any = false; - if (decoder->capabilities & CAP_TRUNCATED) - { - codecContext->flags |= CAP_TRUNCATED; - } AVPixelFormat sourcePixelFormat = static_cast<AVPixelFormat>(codecParm->format); AVPixelFormat targetPixelFormat = AV_PIX_FMT_BGR24; //raw data expected by freeimage is in this format |
020-megasync-sdk-fix-cmake-dependencies-detection.patch
--- a/contrib/cmake/modules/sdklib_libraries.cmake +++ b/contrib/cmake/modules/sdklib_libraries.cmake @@ -95,7 +95,7 @@ macro(load_sdklib_libraries) find_package(PkgConfig REQUIRED) # For libraries loaded using pkg-config - pkg_check_modules(cryptopp REQUIRED IMPORTED_TARGET libcrypto++) + pkg_check_modules(cryptopp REQUIRED IMPORTED_TARGET libcryptopp) target_link_libraries(SDKlib PUBLIC PkgConfig::cryptopp) # TODO: Private for SDK core pkg_check_modules(sodium REQUIRED IMPORTED_TARGET libsodium) @@ -139,7 +139,7 @@ macro(load_sdklib_libraries) endif() if(USE_PDFIUM) - pkg_check_modules(pdfium REQUIRED IMPORTED_TARGET pdfium) + pkg_check_modules(pdfium REQUIRED IMPORTED_TARGET libpdfium) target_link_libraries(SDKlib PRIVATE PkgConfig::pdfium) set(HAVE_PDFIUM 1) endif() |
--- a/src/MEGAUpdateGenerator/CMakeLists.txt +++ b/src/MEGAUpdateGenerator/CMakeLists.txt @@ -15,10 +15,11 @@ target_sources(MEGAUpdateGenerator ) # Load and link needed libraries for the CHATlib target -find_package(cryptopp CONFIG REQUIRED) +find_package(PkgConfig REQUIRED) +pkg_check_modules(cryptopp REQUIRED IMPORTED_TARGET libcryptopp) target_link_libraries(MEGAUpdateGenerator PRIVATE - cryptopp::cryptopp + PkgConfig::cryptopp MEGA::SDKlib ) |
# HOW TO EDIT THIS FILE: # The "handy ruler" below makes it easier to edit a package description. # Line up the first '|' above the ':' following the base package name, and # the '|' on the right side marks the last column you can put a character in. # You must make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| MEGAsync: MEGAsync (mega cloud storage service) MEGAsync: MEGAsync: MEGAsync open source release for MEGA cloud storage services MEGAsync: MEGAsync: MEGAsync: Compiled using default Slackware Qt4. MEGAsync: MEGAsync: Homepage: https://github.com/meganz/MEGAsync MEGAsync: Service: https://mega.nz/ MEGAsync: MEGAsync: |
if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then if [ -x /usr/bin/gtk-update-icon-cache ]; then /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 fi fi |
#!/bin/sh # Slackware build script for VLC media player # Written by Andrea De Pasquale <andrea@de-pasquale.name> # Based on Eric Hameleers' Slackware build script, # modified to build VLC only, shared libraries needed. # Copyright (c) 2007,2008,2009,2010,2011 Eric Hameleers, Eindhoven, Netherlands # Copyright (c) 2014-2018 Christoph Willing, Brisbane, Australia # # Permission to use, copy, modify, and distribute this software for # any purpose with or without fee is hereby granted, provided that # the above copyright notice and this permission notice appear in all # copies. # # THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF # USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT # OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # ----------------------------------------------------------------------------- PRGNAM=vlc VERSION=${VERSION:-3.0.21} BUILD=${BUILD:-4} # 2024-08-14 : 4jw - compiled against ffmpeg-7.0.2 (w/ Fedora's "0001-Add-compatibility-with-FFMPEG-7.0.patch" ) TAG=${TAG:-jw} if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" fi DOCS="ABOUT-NLS AUTHORS COPYING INSTALL NEWS README THANKS" qtversion="--enable-qt=4" ; [ "${QTVERSION:-5}" != "4" ] && qtversion="--enable-qt=5" wayland="--disable-wayland" ; [ "${WAYLAND:-no}" != "no" ] && wayland="--enable-wayland" #opencv="--disable-opencv" ; [ "${OPENCV:-no}" != "no" ] && opencv="--enable-opencv" # In an ordinary virtual machine, since a different kernel is running, # a unique dbus id is needed. # However with LXC, the same kernel is used in each container, # so we insert an arbitrary value # grep "container=" /etc/rc.d/rc.S >/dev/null 2>/dev/null if [ $? -eq 0 ]; then mkdir -p /var/lib/dbus/ echo "4349d719fcf875a557a8c00400000014" > /var/lib/dbus/machine-id fi set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$VERSION sed -i '/DEPRECATED/s:^://:' modules/text_renderer/freetype/text_layout.c sed -i '/DEPRECATED/s:^://:' modules/text_renderer/freetype/text_layout.c patch -p1 < $CWD/patch-dvdnav-503.diff patch -p1 < $CWD/patch-dvdread-503.diff patch -p1 < $CWD/patch_vlc_cache_gen.diff # Apply FFmpeg7 patch ; Thanks to Fedora linux. # https://src.fedoraproject.org/rpms/vlc/raw/9a85bfff28de79454601ef1b24110cb78a8ddfef/f/0001-Add-compatibility-with-FFMPEG-7.0.patch patch -p1 < $CWD/0001-Add-compatibility-with-FFMPEG-7.0.patch #sh bootstrap ## needs for git source #sed -e 's:truetype/ttf-dejavu:TTF:g' -i modules/visualization/projectm.cpp #sed -e 's|-Werror-implicit-function-declaration||g' -i configure # Don't enable wayland by default wayland="--disable-wayland" ; [ "${WAYLAND:-no}" != "no" ] && wayland="--enable-wayland" # Enable vlc to be run as root runasroot=""; [ "${RUNASROOT:-no}" != "no" ] && runasroot="--enable-run-as-root" # Give the possibility to explicitly disable aom support aom=""; [ "${AOM:-yes}" = "no" ] && aom="--disable-aom" # Allow to build without lua lua=""; [ "${LUA:-yes}" = "no" ] && lua="--disable-lua" autoreconf -fiv chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; # Apply patches for the newer gcc(14.x) #patch -p1 < $CWD/4645.patch #patch -p1 < $CWD/4665.patch export BUILDCC=gcc CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ LDFLAGS="$SLKLDFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --mandir=/usr/man \ --docdir=/usr/doc/vlc-$VERSION \ --localstatedir=/var \ --build=$ARCH-slackware-linux \ $wayland \ $runasroot \ --disable-mpc \ --disable-sid \ --disable-aom \ --enable-dav1d \ --enable-merge-ffmpeg \ --enable-bluray \ --enable-vdpau \ --disable-libplacebo \ --enable-qt=5 \ --with-kde-solid=no \ sed -i -e '/^#define _FORTIFY_SOURCE/d' config.h # prevent excessive overlinking due to libtool sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool echo -e "\E[0;32mPress any key to build the package!\E[0;0m" read make $NUMJOBS make DESTDIR=$PKG install install -D -m0644 extras/analyser/vlc.vim $PKG/usr/share/vim/vimfiles/syntax/vlc.vim # Don't ship .la files: rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la mkdir -p $PKG/usr/man/man1 gzip -9c doc/vlc.1 > $PKG/usr/man/man1/vlc.1.gz mkdir -p $PKG/$(cd /usr/share/vim/vim*/syntax ; pwd) cp extras/analyser/vlc.vim $PKG/$(cd /usr/share/vim/vim*/syntax ; pwd)/ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION # backup slackbuild and patches cat $CWD/${PRGNAM}.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/${PRGNAM}.SlackBuild cp $CWD/*.diff $PKG/usr/doc/$PRGNAM-$VERSION cp $CWD/0001-Add-compatibility-with-FFMPEG-7.0.patch $PKG/usr/doc/$PRGNAM-$VERSION find $PKG/usr/doc -type f -exec chmod 644 {} \; chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION/* find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; for i in $(find $PKG/usr/man -type l -name "*.?") ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" \ | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc sed -e s/%LIBDIRSUFFIX%/$LIBDIRSUFFIX/g $CWD/doinst.sh.in > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} |
--- a/modules/access/dvdnav.c.orig 2020-04-07 23:35:05.000000000 +1000 +++ b/modules/access/dvdnav.c 2020-04-16 22:32:34.175000000 +1000 @@ -59,6 +59,10 @@ #include <dvdnav/dvdnav.h> +/* libdvdnav-5.0.3 doesn't define DVDNAV_VERSION */ +#ifndef DVDNAV_VERSION +#define DVDNAV_VERSION (50003) +#endif /* Expose without patching headers */ dvdnav_status_t dvdnav_jump_to_sector_by_time(dvdnav_t *, uint64_t, int32_t); |
--- a/modules/access/dvdread.c.orig 2020-03-28 23:39:33.000000000 +1000 +++ b/modules/access/dvdread.c 2020-04-16 22:10:43.065000000 +1000 @@ -55,6 +55,12 @@ #include <unistd.h> #include <dvdread/dvd_reader.h> +#ifndef DVDREAD_VERSION_CODE +#define DVDREAD_VERSION_CODE(major, minor, micro) \ + (((major) * 10000) + \ + ((minor) * 100) + \ + ((micro) * 1)) +#endif #include <dvdread/ifo_types.h> #include <dvdread/ifo_read.h> #include <dvdread/nav_read.h> |
--- a/bin/Makefile.am.orig 2015-06-03 10:49:51.266282736 +1000 +++ b/bin/Makefile.am 2015-06-03 10:50:20.469282310 +1000 @@ -72,6 +72,10 @@ vlc_cache_gen_DEPENDENCIES = vlc_win32_rc.$(OBJEXT) endif +if HAVE_GOBJECT +vlc_cache_gen_LDADD += $(GOBJECT_LIBS) +endif + # # Plug-ins cache # --- a/configure.ac.orig 2015-06-03 10:53:22.299279657 +1000 +++ b/configure.ac 2015-06-03 09:44:33.338339889 +1000 @@ -762,6 +762,12 @@ ]) ]) +dnl +dnl Check for gobject +dnl +have_gobject="no" +PKG_CHECK_MODULES([GOBJECT], [gobject-2.0], [ have_gobject="yes" ]) +AM_CONDITIONAL(HAVE_GOBJECT, [ test "${have_gobject}" = "yes" ]) dnl dnl Check for zlib.h and -lz along with system -lminizip if available |