Skip to content

Commit

Permalink
libde265: backport pc file fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kmilos authored and lazka committed Nov 21, 2024
1 parent 2442811 commit 769536e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion mingw-w64-libde265/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ _realname=libde265
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=1.0.15
pkgrel=1
pkgrel=2
pkgdesc="Open h.265 video codec library (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
Expand All @@ -19,15 +19,20 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-cc"
depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs")
optdepends=("${MINGW_PACKAGE_PREFIX}-SDL2: for dec265 video output")
source=("https://github.com/strukturag/libde265/releases/download/v${pkgver}/${_realname}-${pkgver}.tar.gz"
"https://github.com/strukturag/libde265/commit/56d1cf5.patch"
"001-fix-VPATH.patch")
sha256sums=('00251986c29d34d3af7117ed05874950c875dd9292d016be29d3b3762666511d'
'07793f2387fde84760166b270893c241f1d24ae1865165c4e377be29184bc0a1'
'b4cdce2b362fde574512c2fad2e479f27969c0fe4df241322d9915d189dcb763')

prepare() {
cd "${srcdir}/${_realname}-${pkgver}"

patch -p1 -i ${srcdir}/001-fix-VPATH.patch

# https://github.com/strukturag/libde265/issues/438
patch -p1 -i ${srcdir}/56d1cf5.patch

./autogen.sh
}

Expand Down

0 comments on commit 769536e

Please sign in to comment.