Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit b0218c5e3b
)
r14.1.x
parent
bfc14ae330
commit
c141e5fbf1
@ -0,0 +1,40 @@
|
||||
commit 4a0485854f175f1aef5332edfe70164beb4e05fd
|
||||
Author: Slávek Banko <slavek.banko@axis.cz>
|
||||
Date: Fri Apr 26 11:33:36 2024 +0200
|
||||
|
||||
Add support for taglib 2, part 2.
|
||||
|
||||
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
||||
|
||||
diff --git a/amarok/src/metadata/m4a/mp4file.cpp b/amarok/src/metadata/m4a/mp4file.cpp
|
||||
index b210f1ec..a1733a67 100644
|
||||
--- a/amarok/src/metadata/m4a/mp4file.cpp
|
||||
+++ b/amarok/src/metadata/m4a/mp4file.cpp
|
||||
@@ -131,12 +131,12 @@ uint MP4::File::readSystemsLen()
|
||||
uint length = 0;
|
||||
uint nbytes = 0;
|
||||
ByteVector input;
|
||||
- TagLib::uchar tmp_input;
|
||||
+ uchar tmp_input;
|
||||
|
||||
do
|
||||
{
|
||||
input = readBlock(1);
|
||||
- tmp_input = static_cast<TagLib::uchar>(input[0]);
|
||||
+ tmp_input = static_cast<uchar>(input[0]);
|
||||
nbytes++;
|
||||
length = (length<<7) | (tmp_input&0x7F);
|
||||
} while( (tmp_input&0x80) && (nbytes<4) );
|
||||
diff --git a/amarok/src/metadata/m4a/mp4isofullbox.cpp b/amarok/src/metadata/m4a/mp4isofullbox.cpp
|
||||
index c8963ba2..b104681f 100644
|
||||
--- a/amarok/src/metadata/m4a/mp4isofullbox.cpp
|
||||
+++ b/amarok/src/metadata/m4a/mp4isofullbox.cpp
|
||||
@@ -55,7 +55,7 @@ void MP4::Mp4IsoFullBox::parsebox()
|
||||
parse();
|
||||
}
|
||||
|
||||
-TagLib::uchar MP4::Mp4IsoFullBox::version()
|
||||
+uchar MP4::Mp4IsoFullBox::version()
|
||||
{
|
||||
return d->version;
|
||||
}
|
@ -0,0 +1,58 @@
|
||||
# Maintainer: Michael Manley <mmanley@nasutek.com>
|
||||
# Contributor: David C. Rankin <drankinatty at gmail dot com>
|
||||
|
||||
_mod=gwenview-i18n
|
||||
_cat=applications/graphics/
|
||||
_kdemod="${_mod/tde/kde}"
|
||||
|
||||
pkgname="tde-${_mod/tde-}"
|
||||
pkgver=14.1.2
|
||||
pkgrel=1
|
||||
pkgdesc="Internationalization (i18n) for Gwenview, an image viewer for TDE"
|
||||
arch=('any')
|
||||
url="https://scm.trinitydesktop.org/scm/git/${_mod}"
|
||||
license=('GPL')
|
||||
provides=("${_mod}")
|
||||
groups=('tde-complete')
|
||||
depends=(
|
||||
'tde-tdelibs'
|
||||
)
|
||||
makedepends=(
|
||||
'tde-cmake-trinity'
|
||||
'pkgconfig'
|
||||
)
|
||||
optdepends=()
|
||||
conflicts=("trinity-${_kdemod}" "kdemod3-${_kdemod}")
|
||||
replaces=("trinity-${_mod}")
|
||||
options=('staticlibs' 'libtool' '!strip')
|
||||
install=
|
||||
|
||||
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
|
||||
md5sums=('60c4bc6bd297a9347b4461551d83fa35')
|
||||
|
||||
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
|
||||
[ -n "$TQTDIR" ] || TQTDIR=${TDEDIR}/tqt3
|
||||
|
||||
build() {
|
||||
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||
mkdir -p "$srcdir/build"
|
||||
cd "$srcdir/build"
|
||||
|
||||
msg "Starting cmake..."
|
||||
cmake ${srcdir}/${_mod}-trinity-${pkgver} \
|
||||
-GNinja \
|
||||
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
|
||||
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
|
||||
-DBUILD_ALL=ON \
|
||||
-DWITH_ALL_OPTIONS=ON
|
||||
|
||||
msg "Building - ${pkgname}..."
|
||||
ninja $NUMJOBS
|
||||
}
|
||||
|
||||
package() {
|
||||
msg "Packaging - ${pkgname}-${pkgver}"
|
||||
cd "$srcdir/build"
|
||||
DESTDIR="$pkgdir" ninja -j1 install
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
# Maintainer: Michael Manley <mmanley@nasutek.com>
|
||||
# Contributor: David C. Rankin <drankinatty at gmail dot com>
|
||||
|
||||
_mod=gwenview
|
||||
_cat=applications/graphics/
|
||||
_kdemod="${_mod/tde/kde}"
|
||||
|
||||
pkgname="tde-${_mod/tde-}"
|
||||
pkgver=14.1.2
|
||||
pkgrel=1
|
||||
pkgdesc="Image viewer for TDE"
|
||||
arch=('i686' 'x86_64' 'aarch64' 'armv7h' 'powerpc64le')
|
||||
url="https://scm.trinitydesktop.org/scm/git/${_mod}"
|
||||
license=('GPL')
|
||||
provides=("${_mod}")
|
||||
groups=('tde-complete')
|
||||
depends=(
|
||||
'tde-tdelibs'
|
||||
'tde-libkipi'
|
||||
'exiv2'
|
||||
'libmng'
|
||||
)
|
||||
makedepends=(
|
||||
'tde-cmake-trinity'
|
||||
'pkgconfig'
|
||||
'libxcursor'
|
||||
)
|
||||
optdepends=()
|
||||
conflicts=("trinity-${_kdemod}" "kdemod3-${_kdemod}")
|
||||
replaces=("trinity-${_mod}")
|
||||
options=('staticlibs' 'libtool' '!strip')
|
||||
install=
|
||||
|
||||
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
|
||||
md5sums=('9b4d5d4121d331a2f017918aec885e1e')
|
||||
|
||||
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
|
||||
[ -n "$TQTDIR" ] || TQTDIR=${TDEDIR}/tqt3
|
||||
|
||||
build() {
|
||||
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||
mkdir -p "$srcdir/build"
|
||||
cd "$srcdir/build"
|
||||
|
||||
msg "Starting cmake..."
|
||||
cmake ${srcdir}/${_mod}-trinity-${pkgver} \
|
||||
-GNinja \
|
||||
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
|
||||
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
|
||||
-DBUILD_ALL=ON \
|
||||
-DWITH_ALL_OPTIONS=ON
|
||||
|
||||
msg "Building - ${pkgname}..."
|
||||
ninja $NUMJOBS
|
||||
}
|
||||
|
||||
package() {
|
||||
msg "Packaging - ${pkgname}-${pkgver}"
|
||||
cd "$srcdir/build"
|
||||
DESTDIR="$pkgdir" ninja -j1 install
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
# Maintainer: Michael Manley <mmanley@nasutek.com>
|
||||
# Contributor: David C. Rankin <drankinatty at gmail dot com>
|
||||
|
||||
_mod=tde-style-polyester
|
||||
_cat=applications/themes/
|
||||
_kdemod="${_mod/tde/kde}"
|
||||
|
||||
pkgname="tde-${_mod/tde-}"
|
||||
pkgver=14.1.2
|
||||
pkgrel=1
|
||||
pkgdesc="Polyester widget style and twin decoration for TDE"
|
||||
arch=('i686' 'x86_64' 'aarch64' 'armv7h' 'powerpc64le')
|
||||
url="https://scm.trinitydesktop.org/scm/git/${_mod}"
|
||||
license=('GPL')
|
||||
provides=("${_mod}")
|
||||
groups=('tde-complete')
|
||||
depends=(
|
||||
'tde-tdebase'
|
||||
)
|
||||
makedepends=(
|
||||
'tde-cmake-trinity'
|
||||
'librsvg'
|
||||
)
|
||||
optdepends=()
|
||||
conflicts=("trinity-${_mod}" "kdemod3-${_kdemod}")
|
||||
replaces=("trinity-${_mod}")
|
||||
options=('staticlibs' 'libtool' '!strip')
|
||||
install=
|
||||
|
||||
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
|
||||
md5sums=('c923dc99a364fd0acc47b3b0e2152204')
|
||||
|
||||
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
|
||||
[ -n "$TQTDIR" ] || TQTDIR=${TDEDIR}/tqt3
|
||||
|
||||
build() {
|
||||
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||
mkdir -p "$srcdir/build"
|
||||
cd "$srcdir/build"
|
||||
|
||||
export PKG_CONFIG_PATH=${TDEDIR}/lib/pkgconfig:${PKG_CONFIG_PATH}
|
||||
|
||||
msg "Starting cmake..."
|
||||
cmake ${srcdir}/${_mod}-trinity-${pkgver} \
|
||||
-GNinja \
|
||||
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
|
||||
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
|
||||
-DBUILD_ALL=ON \
|
||||
-DWITH_ALL_OPTIONS=ON
|
||||
|
||||
msg "Building - ${pkgname}..."
|
||||
ninja $NUMJOBS
|
||||
}
|
||||
|
||||
package() {
|
||||
msg "Packaging - ${pkgname}-${pkgver}"
|
||||
cd "$srcdir/build"
|
||||
DESTDIR="$pkgdir" ninja -j1 install
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
# Maintainer: Michael Manley <mmanley@nasutek.com>
|
||||
# Contributor: David C. Rankin <drankinatty at gmail dot com>
|
||||
|
||||
_mod=twin-style-fahrenheit
|
||||
_cat=applications/themes/
|
||||
_kdemod="${_mod/tde/kde}"
|
||||
|
||||
pkgname="tde-${_mod/tde-}"
|
||||
pkgver=14.1.2
|
||||
pkgrel=1
|
||||
pkgdesc="Port of the KDE 3.2's version of Fahrenheit window decoration"
|
||||
arch=('i686' 'x86_64' 'aarch64' 'armv7h' 'powerpc64le')
|
||||
url="https://scm.trinitydesktop.org/scm/git/${_mod}"
|
||||
license=('GPL')
|
||||
provides=("${_mod}")
|
||||
groups=('tde-complete')
|
||||
depends=(
|
||||
'tde-tdebase'
|
||||
)
|
||||
makedepends=(
|
||||
'tde-cmake-trinity'
|
||||
)
|
||||
optdepends=()
|
||||
conflicts=("trinity-${_mod}" "kdemod3-${_kdemod}")
|
||||
replaces=("trinity-${_mod}")
|
||||
options=('staticlibs' 'libtool' '!strip')
|
||||
install=
|
||||
|
||||
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
|
||||
md5sums=('05885e914abe26e077d5ad04f54fe2d7')
|
||||
|
||||
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
|
||||
[ -n "$TQTDIR" ] || TQTDIR=${TDEDIR}/tqt3
|
||||
|
||||
build() {
|
||||
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||
mkdir -p "$srcdir/build"
|
||||
cd "$srcdir/build"
|
||||
|
||||
export PKG_CONFIG_PATH=${TDEDIR}/lib/pkgconfig:${PKG_CONFIG_PATH}
|
||||
|
||||
msg "Starting cmake..."
|
||||
cmake ${srcdir}/${_mod}-trinity-${pkgver} \
|
||||
-GNinja \
|
||||
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
|
||||
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
|
||||
-DBUILD_ALL=ON \
|
||||
-DWITH_ALL_OPTIONS=ON
|
||||
|
||||
msg "Building - ${pkgname}..."
|
||||
ninja $NUMJOBS
|
||||
}
|
||||
|
||||
package() {
|
||||
msg "Packaging - ${pkgname}-${pkgver}"
|
||||
cd "$srcdir/build"
|
||||
DESTDIR="$pkgdir" ninja -j1 install
|
||||
}
|
Loading…
Reference in new issue