Qt ve KDE paketleri
This commit is contained in:
1 parent
c5913576c1
commit
043cb71307
30 files changed
+1093
No files matched your search
@@ -0,0 +1,35 @@
|
||||
#!/usr/bin/env bash
|
||||
name='aom'
|
||||
release='1'
|
||||
version='3.7.0'
|
||||
url='https://aomedia.org/'
|
||||
description='Alliance for Open Media (AOM) AV1 codec SDK (libraries)'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('BSD' 'custom')
|
||||
source=("https://storage.googleapis.com/aom-releases/libaom-${version}.tar.gz")
|
||||
depends=()
|
||||
makedepends=(cmake)
|
||||
md5sums=('26fd53c63898211c4f13ffab1e807617')
|
||||
group=(media.libs)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd "lib"$name-$version
|
||||
|
||||
setup () {
|
||||
cmake -B build -G Ninja \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DBUILD_SHARED_LIBS=True
|
||||
|
||||
}
|
||||
|
||||
build () {
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
package () {
|
||||
DESTDIR="$DESTDIR" cmake --install build
|
||||
}
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
#!/usr/bin/env bash
|
||||
name='assimp'
|
||||
release='1'
|
||||
version='5.3.1'
|
||||
url='https://www.assimp.org'
|
||||
description='Open Asset Import Library imports and exports 3D model formats'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('BSD')
|
||||
source=("https://github.com/assimp/assimp/archive/v${version}/assimp-v${version}.tar.gz")
|
||||
depends=()
|
||||
makedepends=(cmake ninja)
|
||||
md5sums=('835357be3c1e70120fe2d5a52542ce55')
|
||||
group=(media.libs)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-$version
|
||||
|
||||
setup () {
|
||||
cmake -B build -G Ninja \
|
||||
-DCMAKE_BUILD_TYPE=MinSizeRel \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DBUILD_SHARED_LIBS=True \
|
||||
-DASSIMP_IGNORE_GIT_HASH=ON \
|
||||
-DASSIMP_BUILD_ASSIMP_TOOLS=ON \
|
||||
-DASSIMP_BUILD_TESTS="$(want_check && echo ON || echo OFF)" \
|
||||
-DASSIMP_WARNINGS_AS_ERRORS=OFF \
|
||||
-DASSIMP_BUILD_MINIZIP=True # use vendored fork of minizip
|
||||
|
||||
}
|
||||
|
||||
build () {
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
package () {
|
||||
DESTDIR="$DESTDIR" cmake --install build
|
||||
}
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
#!/usr/bin/env bash
|
||||
name='libavif'
|
||||
release='1'
|
||||
version='1.0.1'
|
||||
url='https://aomediacodec.github.io/av1-avif/'
|
||||
description='Library for encoding and decoding .avif files'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('BSD')
|
||||
source=("https://github.com/AOMediaCodec/libavif/archive/v${version}/libavif-v${version}.tar.gz")
|
||||
depends=(aom dav1d libjpeg-turbo)
|
||||
makedepends=(cmake gdk-pixbuf)
|
||||
md5sums=('d7b2a7da1fb652b40936b09ffb006b24')
|
||||
group=(media.libs)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-$version
|
||||
|
||||
setup () {
|
||||
cmake -B build -G Ninja \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DAVIF_BUILD_APPS=ON \
|
||||
-DAVIF_BUILD_GDK_PIXBUF=ON \
|
||||
-DAVIF_BUILD_TESTS=ON \
|
||||
-DAVIF_CODEC_AOM=ON \
|
||||
-DAVIF_CODEC_DAV1D=ON
|
||||
|
||||
}
|
||||
|
||||
build () {
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
package () {
|
||||
DESTDIR="$DESTDIR" cmake --install build
|
||||
}
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
#!/usr/bin/env bash
|
||||
name='libheif'
|
||||
release='1'
|
||||
version='1.16.2'
|
||||
url='https://www.libde265.org/'
|
||||
description='ISO/IEC 23008-12:2017 HEIF file format decoder and encoder'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('GPLv3')
|
||||
source=("https://github.com/strukturag/libheif/releases/download/v${version}/libheif-${version}.tar.gz")
|
||||
depends=(aom libpng gdk-pixbuf x265)
|
||||
makedepends=(cmake libjpeg-turbo)
|
||||
md5sums=('e6bec8efc317b56d85884197ad874f0a')
|
||||
group=(media.libs)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-$version
|
||||
|
||||
setup () {
|
||||
cmake -B build -G Ninja \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib
|
||||
|
||||
}
|
||||
|
||||
build () {
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
package () {
|
||||
DESTDIR="$DESTDIR" cmake --install build
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
#!/usr/bin/env bash
|
||||
name='libraw'
|
||||
release='1'
|
||||
version='0.21.1'
|
||||
url='https://www.libraw.org/'
|
||||
description='Library for reading RAW files obtained from digital photo cameras'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('DDL' 'LGPL')
|
||||
source=("https://www.libraw.org/data/LibRaw-${version}.tar.gz")
|
||||
depends=()
|
||||
makedepends=(lcms2)
|
||||
md5sums=('2942732de752f46baccd9c6d57823b7b')
|
||||
group=(media.libs)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd "LibRaw"-$version
|
||||
|
||||
setup () {
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/
|
||||
}
|
||||
|
||||
build () {
|
||||
make $jobs
|
||||
}
|
||||
|
||||
package () {
|
||||
make DESTDIR="$DESTDIR" install $jobs
|
||||
}
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
#!/usr/bin/env bash
|
||||
name='openexr'
|
||||
release='1'
|
||||
version='3.2.1'
|
||||
url='https://www.openexr.com'
|
||||
description='A high dynamic-range image file format library'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('BSD')
|
||||
source=("https://github.com/openexr/openexr/archive/v${version}.tar.gz")
|
||||
depends=()
|
||||
makedepends=()
|
||||
md5sums=('1d5bb07433ec641cf3bb1b519a27ea6f')
|
||||
group=(media.libs)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-$version
|
||||
|
||||
setup () {
|
||||
cmake -B build -G Ninja \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib
|
||||
|
||||
}
|
||||
|
||||
build () {
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
package () {
|
||||
DESTDIR="$DESTDIR" cmake --install build
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
Submitted By: Bruce Dubbs (bdubbs@linuxfromscratch.org)
|
||||
Date: 2023-08-06
|
||||
Initial Package Version: 6.0
|
||||
Origin: Upstream
|
||||
Upstream Status: Committed
|
||||
Description: Allow building with binutils-2.41.
|
||||
|
||||
From effadce6c756247ea8bae32dc13bb3e6f464f0eb Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= <remi@remlab.net>
|
||||
Date: Sun, 16 Jul 2023 18:18:02 +0300
|
||||
Subject: [PATCH] avcodec/x86/mathops: clip constants used with shift
|
||||
instructions within inline assembly
|
||||
|
||||
Fixes assembling with binutil as >= 2.41
|
||||
|
||||
Signed-off-by: James Almer <jamrial@gmail.com>
|
||||
---
|
||||
libavcodec/x86/mathops.h | 26 +++++++++++++++++++++++---
|
||||
1 file changed, 23 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/libavcodec/x86/mathops.h b/libavcodec/x86/mathops.h
|
||||
index 6298f5ed1983..ca7e2dffc107 100644
|
||||
--- a/libavcodec/x86/mathops.h
|
||||
+++ b/libavcodec/x86/mathops.h
|
||||
@@ -35,12 +35,20 @@
|
||||
static av_always_inline av_const int MULL(int a, int b, unsigned shift)
|
||||
{
|
||||
int rt, dummy;
|
||||
+ if (__builtin_constant_p(shift))
|
||||
__asm__ (
|
||||
"imull %3 \n\t"
|
||||
"shrdl %4, %%edx, %%eax \n\t"
|
||||
:"=a"(rt), "=d"(dummy)
|
||||
- :"a"(a), "rm"(b), "ci"((uint8_t)shift)
|
||||
+ :"a"(a), "rm"(b), "i"(shift & 0x1F)
|
||||
);
|
||||
+ else
|
||||
+ __asm__ (
|
||||
+ "imull %3 \n\t"
|
||||
+ "shrdl %4, %%edx, %%eax \n\t"
|
||||
+ :"=a"(rt), "=d"(dummy)
|
||||
+ :"a"(a), "rm"(b), "c"((uint8_t)shift)
|
||||
+ );
|
||||
return rt;
|
||||
}
|
||||
|
||||
@@ -113,19 +121,31 @@ __asm__ volatile(\
|
||||
// avoid +32 for shift optimization (gcc should do that ...)
|
||||
#define NEG_SSR32 NEG_SSR32
|
||||
static inline int32_t NEG_SSR32( int32_t a, int8_t s){
|
||||
+ if (__builtin_constant_p(s))
|
||||
__asm__ ("sarl %1, %0\n\t"
|
||||
: "+r" (a)
|
||||
- : "ic" ((uint8_t)(-s))
|
||||
+ : "i" (-s & 0x1F)
|
||||
);
|
||||
+ else
|
||||
+ __asm__ ("sarl %1, %0\n\t"
|
||||
+ : "+r" (a)
|
||||
+ : "c" ((uint8_t)(-s))
|
||||
+ );
|
||||
return a;
|
||||
}
|
||||
|
||||
#define NEG_USR32 NEG_USR32
|
||||
static inline uint32_t NEG_USR32(uint32_t a, int8_t s){
|
||||
+ if (__builtin_constant_p(s))
|
||||
__asm__ ("shrl %1, %0\n\t"
|
||||
: "+r" (a)
|
||||
- : "ic" ((uint8_t)(-s))
|
||||
+ : "i" (-s & 0x1F)
|
||||
);
|
||||
+ else
|
||||
+ __asm__ ("shrl %1, %0\n\t"
|
||||
+ : "+r" (a)
|
||||
+ : "c" ((uint8_t)(-s))
|
||||
+ );
|
||||
return a;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
Submitted By: Marty Jack (martyj19 at comcast dot net)
|
||||
Date: 2022-07-23
|
||||
Initial Package Version: 5.1.0
|
||||
Origin: Rediffed from ffmpeg-5.0.1-api_addition-1.patch
|
||||
Upstream Status: Not accepted
|
||||
Description: The ffmpeg upstream is not willing to take this as a
|
||||
permanent fix and suggests that Chromium should change to keep the
|
||||
information locally to Chromium. Until that happens it appears
|
||||
that many distros are carrying this patch as a temporary
|
||||
expedient to allow building with system ffmpeg.
|
||||
|
||||
diff -Naur ffmpeg-5.1.orig/libavformat/avformat.h ffmpeg-5.1/libavformat/avformat.h
|
||||
--- ffmpeg-5.1.orig/libavformat/avformat.h 2022-07-22 13:58:39.000000000 -0400
|
||||
+++ ffmpeg-5.1/libavformat/avformat.h 2022-07-22 19:34:07.490051886 -0400
|
||||
@@ -1128,6 +1128,10 @@
|
||||
*/
|
||||
int64_t av_stream_get_end_pts(const AVStream *st);
|
||||
|
||||
+// Chromium: We use the internal field first_dts vvv
|
||||
+int64_t av_stream_get_first_dts(const AVStream *st);
|
||||
+// Chromium: We use the internal field first_dts ^^^
|
||||
+
|
||||
#define AV_PROGRAM_RUNNING 1
|
||||
|
||||
/**
|
||||
diff -Naur ffmpeg-5.1.orig/libavformat/demux_utils.c ffmpeg-5.1/libavformat/demux_utils.c
|
||||
--- ffmpeg-5.1.orig/libavformat/demux_utils.c 2022-07-22 13:58:39.000000000 -0400
|
||||
+++ ffmpeg-5.1/libavformat/demux_utils.c 2022-07-22 19:36:39.646735587 -0400
|
||||
@@ -29,6 +29,13 @@
|
||||
#include "demux.h"
|
||||
#include "internal.h"
|
||||
|
||||
+// Chromium: We use the internal field first_dts vvv
|
||||
+int64_t av_stream_get_first_dts(const AVStream *st)
|
||||
+{
|
||||
+ return cffstream(st)->first_dts;
|
||||
+}
|
||||
+// Chromium: We use the internal field first_dts ^^^
|
||||
+
|
||||
struct AVCodecParserContext *av_stream_get_parser(const AVStream *st)
|
||||
{
|
||||
return cffstream(st)->parser;
|
||||
Reference in new issue
Block a user