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,50 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='postgresql'
|
||||||
|
release='1'
|
||||||
|
version='16.0'
|
||||||
|
url='https://www.postgresql.org/'
|
||||||
|
description='A sophisticated object-relational DBMS, version 16'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('custom:PostgreSQL')
|
||||||
|
source=("https://ftp.postgresql.org/pub/source/v${version}/postgresql-${version}.tar.bz2")
|
||||||
|
depends=()
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('f5319191df114e2361d938687216cc9b')
|
||||||
|
group=(dev.db)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup () {
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib/ \
|
||||||
|
--datarootdir=/usr/share \
|
||||||
|
--datadir=/usr/share/postgresql \
|
||||||
|
--libdir=/usr/lib \
|
||||||
|
--sysconfdir=/etc/postgresql \
|
||||||
|
--disable-rpath \
|
||||||
|
--with-system-tzdata=/usr/share/zoneinfo \
|
||||||
|
--with-libxml \
|
||||||
|
--with-openssl \
|
||||||
|
--with-uuid=e2fs \
|
||||||
|
--with-icu \
|
||||||
|
--with-llvm \
|
||||||
|
--with-libxslt \
|
||||||
|
--with-lz4 \
|
||||||
|
--with-llvm \
|
||||||
|
--with-perl \
|
||||||
|
--with-python \
|
||||||
|
--with-tcl \
|
||||||
|
--with-lz4
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
build () {
|
||||||
|
make $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
package () {
|
||||||
|
make DESTDIR="$DESTDIR" install $jobs
|
||||||
|
}
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='qt5-3d'
|
||||||
|
release='1'
|
||||||
|
version='5.15.10'
|
||||||
|
url='https://www.qt.io/developers'
|
||||||
|
description='C++ and QML APIs for easy inclusion of 3D graphics'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('FDL' 'GPL3' 'LGPL3' 'custom')
|
||||||
|
source=("https://download.qt.io/archive/qt/${version%.*}/${version}/submodules/qt3d-everywhere-opensource-src-${version}.tar.xz")
|
||||||
|
depends=(qt5-base assimp)
|
||||||
|
makedepends=(qt5-declarative vulkan-headers)
|
||||||
|
md5sums=('1c87203af23f4f5b8175998652c0ac2e')
|
||||||
|
group=(dev.qt)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd "qt3d-everywhere-src-"${version}
|
||||||
|
export PATH=/usr/bin/qt5:$PATH
|
||||||
|
|
||||||
|
|
||||||
|
setup() {
|
||||||
|
qmake
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
build () {
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package () {
|
||||||
|
make INSTALL_ROOT="$DESTDIR" install
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='qt5-location'
|
||||||
|
release='1'
|
||||||
|
version='5.15.10'
|
||||||
|
url='https://www.qt.io/'
|
||||||
|
description='Provides access to position, satellite and area monitoring classes'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://download.qt.io/archive/qt/${version%.*}/${version}/submodules/qtlocation-everywhere-opensource-src-${version}.tar.xz")
|
||||||
|
depends=(qt5-base qt5-declarative)
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('6d7c0a23fe701597815a54cac53c1e62')
|
||||||
|
group=(dev.qt)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd "qtlocation-everywhere-src-"$version
|
||||||
|
|
||||||
|
export PATH=/usr/bin/qt5:$PATH
|
||||||
|
|
||||||
|
setup () {
|
||||||
|
qmake
|
||||||
|
}
|
||||||
|
|
||||||
|
build () {
|
||||||
|
make $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
package () {
|
||||||
|
make INSTALL_ROOT="$DESTDIR" install $jobs
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='qt5-multimedia'
|
||||||
|
release='1'
|
||||||
|
version='5.15.10'
|
||||||
|
url='https://www.qt.io/'
|
||||||
|
description='Qt5 - Multimedia support'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('FDL' 'GPL3' 'LGPL3' 'custom')
|
||||||
|
source=("https://download.qt.io/archive/qt/${version%.*}/${version}/submodules/qtmultimedia-everywhere-opensource-src-${version}.tar.xz")
|
||||||
|
depends=(qt5-base alsa-lib gst-plugins-base)
|
||||||
|
makedepends=(qt5-declarative)
|
||||||
|
md5sums=('fe334df0b5769dbe241f8eaac48a1e9b')
|
||||||
|
group=(dev.qt)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd "qtmultimedia-everywhere-src-"${version}
|
||||||
|
export PATH=/usr/bin/qt5:$PATH
|
||||||
|
|
||||||
|
|
||||||
|
setup() {
|
||||||
|
qmake
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
build () {
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package () {
|
||||||
|
make INSTALL_ROOT="$DESTDIR" install
|
||||||
|
}
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='qt5-purchasing'
|
||||||
|
release='1'
|
||||||
|
version='5.15.10'
|
||||||
|
url='https://www.qt.io/'
|
||||||
|
description='Qt In-App Purchasing API'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('FDL' 'GPL3' 'LGPL3' 'custom')
|
||||||
|
source=("https://download.qt.io/archive/qt/${version%.*}/${version}/submodules/qtpurchasing-everywhere-opensource-src-${version}.tar.xz")
|
||||||
|
depends=(qt5-base)
|
||||||
|
makedepends=(qt5-declarative)
|
||||||
|
md5sums=('a99f1cf791de9f5d38930e2e0dfbe4ec')
|
||||||
|
group=(dev.qt)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd "qtpurchasing-everywhere-src-"${version}
|
||||||
|
export PATH=/usr/bin/qt5:$PATH
|
||||||
|
|
||||||
|
|
||||||
|
setup() {
|
||||||
|
qmake
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
build () {
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package () {
|
||||||
|
make INSTALL_ROOT="$DESTDIR" install
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
diff --git a/src/plugins/assetimporters/assimp/assimpimporter.cpp b/src/plugins/assetimporters/assimp/assimpimporter.cpp
|
||||||
|
index f3660fdd..0f5fc901 100644
|
||||||
|
--- a/src/plugins/assetimporters/assimp/assimpimporter.cpp
|
||||||
|
+++ b/src/plugins/assetimporters/assimp/assimpimporter.cpp
|
||||||
|
@@ -1082,9 +1082,7 @@ void AssimpImporter::generateMaterial(aiMaterial *material, QTextStream &output,
|
||||||
|
}
|
||||||
|
|
||||||
|
// SpecularGlossiness Properties
|
||||||
|
- bool hasSpecularGlossiness;
|
||||||
|
- result = material->Get(AI_MATKEY_GLTF_PBRSPECULARGLOSSINESS, hasSpecularGlossiness);
|
||||||
|
- if (result == aiReturn_SUCCESS && hasSpecularGlossiness) {
|
||||||
|
+ {
|
||||||
|
|
||||||
|
// diffuseFactor (color) // not used (yet), but ends up being diffuseColor
|
||||||
|
// {
|
||||||
|
|
||||||
@@ -0,0 +1,43 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='qt5-quick3d'
|
||||||
|
release='1'
|
||||||
|
version='5.15.10'
|
||||||
|
url='https://www.qt.io/developers'
|
||||||
|
description='Qt module and API for defining 3D content in Qt Quick'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=(GPLv3)
|
||||||
|
source=("https://download.qt.io/archive/qt/${version%.*}/${version}/submodules/qtquick3d-everywhere-opensource-src-${version}.tar.xz"
|
||||||
|
"qt5-quick3d-assimp-5.1.patch")
|
||||||
|
depends=(qt5-base assimp)
|
||||||
|
makedepends=(qt5-declarative)
|
||||||
|
md5sums=('4fee5576384e91d9c0ada47d07b13d37' 'SKIP')
|
||||||
|
group=(dev.qt)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd "qtquick3d-everywhere-src-"${version}
|
||||||
|
export PATH=/usr/bin/qt5:$PATH
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
mkdir .git
|
||||||
|
patch -Np1 -i ../qt5-quick3d-assimp-5.1.patch
|
||||||
|
#patch -d quick3d -p1 < ../qt5-quick3d-assimp-5.1.patch # Fix build with assimp 5.1
|
||||||
|
}
|
||||||
|
|
||||||
|
setup() {
|
||||||
|
qmake qtquick3d.pro
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
build () {
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package () {
|
||||||
|
make INSTALL_ROOT="$DESTDIR" install
|
||||||
|
find "/usr/lib" -type f -name '*.prl' \
|
||||||
|
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='qt5-scxml'
|
||||||
|
release='1'
|
||||||
|
version='5.15.10'
|
||||||
|
url='https://www.qt.io/'
|
||||||
|
description='Static and runtime integration of SCXML models into Qt code'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('FDL' 'GPL3' 'LGPL3' 'custom')
|
||||||
|
source=("https://download.qt.io/archive/qt/${version%.*}/${version}/submodules/qtscxml-everywhere-opensource-src-${version}.tar.xz")
|
||||||
|
depends=(qt5-base)
|
||||||
|
makedepends=(qt5-declarative)
|
||||||
|
md5sums=('fbf72ea0d2c96fc8f4a953cb74caff17')
|
||||||
|
group=(dev.qt)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd "qtscxml-everywhere-src-"${version}
|
||||||
|
export PATH=/usr/bin/qt5:$PATH
|
||||||
|
|
||||||
|
|
||||||
|
setup() {
|
||||||
|
qmake
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
build () {
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package () {
|
||||||
|
make INSTALL_ROOT="$DESTDIR" install
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='qt5-sensors'
|
||||||
|
release='1'
|
||||||
|
version='5.15.10'
|
||||||
|
url='https://www.qt.io/'
|
||||||
|
description='The Qt Sensors API provides access to sensor hardware via QML and C++'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('FDL' 'GPL3' 'LGPL3' 'custom')
|
||||||
|
source=("https://download.qt.io/archive/qt/${version%.*}/${version}/submodules/qtsensors-everywhere-opensource-src-${version}.tar.xz")
|
||||||
|
depends=(qt5-base)
|
||||||
|
makedepends=(qt5-declarative)
|
||||||
|
md5sums=('1ebad4c4cffe5c661625e6cd9fc118da')
|
||||||
|
group=(dev.qt)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd "qtsensors-everywhere-src-"${version}
|
||||||
|
export PATH=/usr/bin/qt5:$PATH
|
||||||
|
|
||||||
|
|
||||||
|
setup() {
|
||||||
|
qmake
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
build () {
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package () {
|
||||||
|
make INSTALL_ROOT="$DESTDIR" install
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='qt5-serialbus'
|
||||||
|
release='1'
|
||||||
|
version='5.15.10'
|
||||||
|
url='https://www.qt.io/'
|
||||||
|
description='Qt module for general purpose serial bus access'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('FDL' 'GPL3' 'LGPL3' 'custom')
|
||||||
|
source=("https://download.qt.io/archive/qt/${version%.*}/${version}/submodules/qtserialbus-everywhere-opensource-src-${version}.tar.xz")
|
||||||
|
depends=(qt5-base)
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('9c73256f47f6f33c281dd28629de62a4')
|
||||||
|
group=(dev.qt)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd "qtserialbus-everywhere-src-"${version}
|
||||||
|
export PATH=/usr/bin/qt5:$PATH
|
||||||
|
|
||||||
|
|
||||||
|
setup() {
|
||||||
|
qmake
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
build () {
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package () {
|
||||||
|
make INSTALL_ROOT="$DESTDIR" install
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='qt5-serialport'
|
||||||
|
release='1'
|
||||||
|
version='5.15.10'
|
||||||
|
url='https://www.qt.io/'
|
||||||
|
description='Qt5 - QtSerialPort module'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('FDL' 'GPL3' 'LGPL3' 'custom')
|
||||||
|
source=("https://download.qt.io/archive/qt/${version%.*}/${version}/submodules/qtserialport-everywhere-opensource-src-${version}.tar.xz")
|
||||||
|
depends=(qt5-base)
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('e71cf87487de08867a5bc42287017706')
|
||||||
|
group=(dev.qt)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd "qtserialport-everywhere-src-"${version}
|
||||||
|
export PATH=/usr/bin/qt5:$PATH
|
||||||
|
|
||||||
|
|
||||||
|
setup() {
|
||||||
|
qmake
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
build () {
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package () {
|
||||||
|
make INSTALL_ROOT="$DESTDIR" install
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='qt5-speech'
|
||||||
|
release='1'
|
||||||
|
version='5.15.10'
|
||||||
|
url='https://www.qt.io/'
|
||||||
|
description='Qt module to make text to speech and speech recognition easy'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('FDL' 'GPL3' 'LGPL3' 'custom')
|
||||||
|
source=("https://download.qt.io/archive/qt/${version%.*}/${version}/submodules/qtspeech-everywhere-opensource-src-${version}.tar.xz")
|
||||||
|
depends=(qt5-base qt5-multimedia)
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('c9bd467b90532c9f63cd1ea62aaa9dbe')
|
||||||
|
group=(dev.qt)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd "qtspeech-everywhere-src-"${version}
|
||||||
|
export PATH=/usr/bin/qt5:$PATH
|
||||||
|
|
||||||
|
|
||||||
|
setup() {
|
||||||
|
qmake
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
build () {
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package () {
|
||||||
|
make INSTALL_ROOT="$DESTDIR" install
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='qt5-translations'
|
||||||
|
release='1'
|
||||||
|
version='5.15.10'
|
||||||
|
url='https://www.qt.io/'
|
||||||
|
description='A cross-platform application and UI framework (Translations)'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('FDL' 'GPL3' 'LGPL3' 'custom')
|
||||||
|
source=("https://download.qt.io/archive/qt/${version%.*}/${version}/submodules/qttranslations-everywhere-opensource-src-${version}.tar.xz")
|
||||||
|
depends=(qt5-tools)
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('f421a46bfd3cbbdf0a3fa701d3ccbedf')
|
||||||
|
group=(dev.qt)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd "qttranslations-everywhere-src-"${version}
|
||||||
|
export PATH=/usr/bin/qt5:$PATH
|
||||||
|
|
||||||
|
|
||||||
|
setup() {
|
||||||
|
qmake
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
build () {
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package () {
|
||||||
|
make INSTALL_ROOT="$DESTDIR" install
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='qt5-webchannel'
|
||||||
|
release='1'
|
||||||
|
version='5.15.10'
|
||||||
|
url='https://www.qt.io/'
|
||||||
|
description='Library for seamless integration of C++ +and QML applications with HTML/JavaScript clients.'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://download.qt.io/archive/qt/${version%.*}/${version}/submodules/qtwebchannel-everywhere-opensource-src-${version}.tar.xz")
|
||||||
|
depends=(qt5-base qt5-declarative)
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('f9d7d2f9268f90a1f625eb1c500de4a0')
|
||||||
|
group=(dev.qt)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd "qtwebchannel-everywhere-src-"${version}
|
||||||
|
export PATH=/usr/bin/qt5:$PATH
|
||||||
|
|
||||||
|
|
||||||
|
setup() {
|
||||||
|
qmake
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
build () {
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package () {
|
||||||
|
make INSTALL_ROOT="$DESTDIR" install
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='qt5-webview'
|
||||||
|
release='1'
|
||||||
|
version='5.15.10'
|
||||||
|
url='https://www.qt.io/'
|
||||||
|
description='Provides a way to display web content in a QML application'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://download.qt.io/archive/qt/${version%.*}/${version}/submodules/qtwebview-everywhere-opensource-src-${version}.tar.xz")
|
||||||
|
depends=(qt5-svg qt5-declarative)
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('26fadf031fba62001631583744d8cf31')
|
||||||
|
group=(dev.qt)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd "qtwebview-everywhere-src-"${version}
|
||||||
|
export PATH=/usr/bin/qt5:$PATH
|
||||||
|
|
||||||
|
|
||||||
|
setup() {
|
||||||
|
qmake
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
build () {
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package () {
|
||||||
|
make INSTALL_ROOT="$DESTDIR" install
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='qt5-xmlpatterns'
|
||||||
|
release='1'
|
||||||
|
version='5.15.10'
|
||||||
|
url='https://www.qt.io/'
|
||||||
|
description='Virtual keyboard framework'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://download.qt.io/archive/qt/${version%.*}/${version}/submodules/qtxmlpatterns-everywhere-opensource-src-${version}.tar.xz")
|
||||||
|
depends=(qt5-base)
|
||||||
|
makedepends=(qt5-declarative)
|
||||||
|
md5sums=('1a15066f195183f9aeaa8568135edcb9')
|
||||||
|
group=(dev.qt)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd "qtxmlpatterns-everywhere-src-"${version}
|
||||||
|
export PATH=/usr/bin/qt5:$PATH
|
||||||
|
|
||||||
|
|
||||||
|
setup() {
|
||||||
|
qmake
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
build () {
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package () {
|
||||||
|
make INSTALL_ROOT="$DESTDIR" install
|
||||||
|
}
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='ki18n'
|
||||||
|
release='1'
|
||||||
|
version='5.110.0'
|
||||||
|
url='https://community.kde.org/Frameworks'
|
||||||
|
description='Advanced internationalization framework'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('LGPL')
|
||||||
|
source=("https://download.kde.org/stable/frameworks/${version%.*}/ki18n-${version}.tar.xz")
|
||||||
|
depends=(qt5-base qt5-declarative)
|
||||||
|
makedepends=(doxygen extra-cmake-modules python)
|
||||||
|
md5sums=('4d24a7fb42585f27cf08d766f7b7d8d2')
|
||||||
|
group=(kde.frameworks)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup () {
|
||||||
|
cmake -B build -G Ninja \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DBUILD_QCH=ON
|
||||||
|
}
|
||||||
|
|
||||||
|
build () {
|
||||||
|
cmake --build build
|
||||||
|
}
|
||||||
|
|
||||||
|
package () {
|
||||||
|
DESTDIR="$DESTDIR" cmake --install build
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='kimageformats'
|
||||||
|
release='1'
|
||||||
|
version='5.110.0'
|
||||||
|
url='https://community.kde.org/Frameworks'
|
||||||
|
description='Image format plugins for Qt5'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://download.kde.org/stable/frameworks/${version%.*}/kimageformats-${version}.tar.xz")
|
||||||
|
depends=(extra-cmake-modules openexr qt5-base)
|
||||||
|
makedepends=(karchive libavif libheif libraw)
|
||||||
|
md5sums=('860e3bc411ea8dca6bb90f1ad589cc17')
|
||||||
|
group=(kde.frameworks)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup () {
|
||||||
|
cmake -B build -G Ninja \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||||
|
-DBUILD_TESTING=OFF \
|
||||||
|
-DKIMAGEFORMATS_HEIF=ON
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
build () {
|
||||||
|
cmake --build build
|
||||||
|
}
|
||||||
|
|
||||||
|
package () {
|
||||||
|
DESTDIR="$DESTDIR" cmake --install build
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='kitemmodels'
|
||||||
|
release='1'
|
||||||
|
version='5.110.0'
|
||||||
|
url='https://community.kde.org/Frameworks'
|
||||||
|
description='Models for Qt Model/View system'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://download.kde.org/stable/frameworks/${version%.*}/kitemmodels-${version}.tar.xz")
|
||||||
|
depends=(graphviz qt5-declarative)
|
||||||
|
makedepends=(doxygen extra-cmake-modules qt5-tools)
|
||||||
|
md5sums=('45ab593f9cdcb59dbaa8aedce6295307')
|
||||||
|
group=(kde.frameworks)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup () {
|
||||||
|
cmake -B build -G Ninja \
|
||||||
|
-DBUILD_TESTING=OFF \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DBUILD_QCH=ON
|
||||||
|
}
|
||||||
|
|
||||||
|
build () {
|
||||||
|
cmake --build build
|
||||||
|
}
|
||||||
|
|
||||||
|
package () {
|
||||||
|
DESTDIR="$DESTDIR" cmake --install build
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='kitemviews'
|
||||||
|
release='1'
|
||||||
|
version='5.110.0'
|
||||||
|
url='https://community.kde.org/Frameworks'
|
||||||
|
description='Widget addons for Qt Model/View'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('LGPL')
|
||||||
|
source=("https://download.kde.org/stable/frameworks/${version%.*}/kitemviews-${version}.tar.xz")
|
||||||
|
depends=(qt5-base)
|
||||||
|
makedepends=(extra-cmake-modules qt5-tools doxygen)
|
||||||
|
md5sums=('24d9c85916063a4983fad7e29829a5b9')
|
||||||
|
group=(kde.frameworks)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup () {
|
||||||
|
cmake -B build -G Ninja \
|
||||||
|
-DBUILD_TESTING=OFF \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DBUILD_QCH=ON
|
||||||
|
}
|
||||||
|
|
||||||
|
build () {
|
||||||
|
cmake --build build
|
||||||
|
}
|
||||||
|
|
||||||
|
package () {
|
||||||
|
DESTDIR="$DESTDIR" cmake --install build
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='kplotting'
|
||||||
|
release='1'
|
||||||
|
version='5.110.0'
|
||||||
|
url='https://community.kde.org/Frameworks'
|
||||||
|
description='Lightweight plotting framework'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('LGPL')
|
||||||
|
source=("https://download.kde.org/stable/frameworks/${version%.*}/kplotting-${version}.tar.xz")
|
||||||
|
depends=(qt5-base)
|
||||||
|
makedepends=(qt5-declarative)
|
||||||
|
md5sums=('8d014342611f0d2a50af3886b83f2e66')
|
||||||
|
group=(kde.frameworks)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup () {
|
||||||
|
cmake -B build -G Ninja \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||||
|
-DBUILD_QCH=ON
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
build () {
|
||||||
|
cmake --build build
|
||||||
|
}
|
||||||
|
|
||||||
|
package () {
|
||||||
|
DESTDIR="$DESTDIR" cmake --install build
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='solid'
|
||||||
|
release='1'
|
||||||
|
version='5.110.0'
|
||||||
|
url='https://community.kde.org/Frameworks'
|
||||||
|
description=' Hardware integration and detection'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('LGPL')
|
||||||
|
source=("https://download.kde.org/stable/frameworks/${version%.*}/solid-${version}.tar.xz")
|
||||||
|
depends=(bison eudev flex qt5-tools udisks2 upower)
|
||||||
|
makedepends=(doxygen extra-cmake-modules)
|
||||||
|
md5sums=('35dd7220eeb18d7620bbe94a3ef0301c')
|
||||||
|
group=(kde.frameworks)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup () {
|
||||||
|
cmake -B build -G Ninja \
|
||||||
|
-DBUILD_TESTING=OFF \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DBUILD_QCH=ON
|
||||||
|
}
|
||||||
|
|
||||||
|
build () {
|
||||||
|
cmake --build build
|
||||||
|
}
|
||||||
|
|
||||||
|
package () {
|
||||||
|
DESTDIR="$DESTDIR" cmake --install build
|
||||||
|
}
|
||||||
@@ -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