Package Details: lib32-x265 3.4-2

Git Clone URL: https://aur.archlinux.org/lib32-x265.git (read-only, click to copy)
Package Base: lib32-x265
Description: Open Source H265/HEVC video encoder. 32bit libraries.
Upstream URL: https://bitbucket.org/multicoreware/x265
Licenses: GPL
Provides: libx265.so
Submitter: llde
Maintainer: llde
Last Packager: llde
Votes: 5
Popularity: 0.173544
First Submitted: 2017-08-24 18:30
Last Updated: 2020-09-22 13:14

Required by (24)

Sources (1)

Pinned Comments

jypma commented on 2020-08-21 14:29

Changing the source to a github mirror seems to fix it:

diff --git a/PKGBUILD b/PKGBUILD
index 7b4891f..79a071b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,11 +15,11 @@ license=('GPL')
 depends=('x265' 'lib32-gcc-libs'  'lib32-numactl')
 makedepends=('cmake' 'nasm')
 provides=('libx265.so')
-source=("https://bitbucket.org/multicoreware/x265/downloads/x265_${pkgver}.tar.gz")
-sha256sums=('c2047f23a6b729e5c70280d23223cb61b57bfe4ad4e8f1471eeee2a61d148672')
+source=("https://github.com/videolan/x265/archive/${pkgver}.tar.gz")
+sha256sums=('544d147bf146f8994a7bf8521ed878c93067ea1c7c6e93ab602389be3117eaaf')

 prepare() {
-  cd x265_${pkgver}
+  cd x265-${pkgver}

   for d in 8 10 12; do
     if [[ -d build-$d ]]; then
@@ -30,7 +30,7 @@ prepare() {
 }

 build() {
-  cd x265_${pkgver}/build-12
+  cd x265-${pkgver}/build-12
   export CC="gcc -m32"
   export CXX="g++ -m32"
   export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
@@ -72,7 +72,7 @@ build() {
 }

 package() {
-  cd x265_${pkgver}/build-8
+  cd x265-${pkgver}/build-8

   make DESTDIR="${pkgdir}" install
  # sed 's/"libdir=${exec_prefix}/lib"/"libdir=${exec_prefix}/lib32"' ${pkgdir}/usr/lib32/pkgconfig/x265.pc

Latest Comments

1 2 Next › Last »

llde commented on 2020-08-27 14:29

Hi sorry for the delay, I can confirm jypma suggestion actually work, but I can't upload a fixed version as I forgot to sync the ssh keypairs on this laptop. I will upload a fixed version ASAP when I return home

jypma commented on 2020-08-21 14:29

Changing the source to a github mirror seems to fix it:

diff --git a/PKGBUILD b/PKGBUILD
index 7b4891f..79a071b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,11 +15,11 @@ license=('GPL')
 depends=('x265' 'lib32-gcc-libs'  'lib32-numactl')
 makedepends=('cmake' 'nasm')
 provides=('libx265.so')
-source=("https://bitbucket.org/multicoreware/x265/downloads/x265_${pkgver}.tar.gz")
-sha256sums=('c2047f23a6b729e5c70280d23223cb61b57bfe4ad4e8f1471eeee2a61d148672')
+source=("https://github.com/videolan/x265/archive/${pkgver}.tar.gz")
+sha256sums=('544d147bf146f8994a7bf8521ed878c93067ea1c7c6e93ab602389be3117eaaf')

 prepare() {
-  cd x265_${pkgver}
+  cd x265-${pkgver}

   for d in 8 10 12; do
     if [[ -d build-$d ]]; then
@@ -30,7 +30,7 @@ prepare() {
 }

 build() {
-  cd x265_${pkgver}/build-12
+  cd x265-${pkgver}/build-12
   export CC="gcc -m32"
   export CXX="g++ -m32"
   export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
@@ -72,7 +72,7 @@ build() {
 }

 package() {
-  cd x265_${pkgver}/build-8
+  cd x265-${pkgver}/build-8

   make DESTDIR="${pkgdir}" install
  # sed 's/"libdir=${exec_prefix}/lib"/"libdir=${exec_prefix}/lib32"' ${pkgdir}/usr/lib32/pkgconfig/x265.pc

abcfy2 commented on 2020-08-19 17:40

Please fix this AUR:

% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0 curl: (22) The requested URL returned error: 403

DDoSolitary commented on 2019-11-13 03:43

Please add x265 to depends for header files.

Sukid commented on 2019-07-23 01:58

Thirded. In the meantime though for anyone looking, if you just change the version to 3.1.1 and use a checksum from that (I downloaded it manually to generate it), it compiles and works fine.

oxalin commented on 2019-07-20 19:04

To add on what Strunkenbold said: lib32-ffmpeg can't be built since x265 was updated a few days ago, which creates a mismatch with lib32-x265.

Strunkenbold commented on 2019-07-20 08:14

Hello could you please upgrade to 3.1.1 ? =) lib32-ffmpeg fails without this.

llde commented on 2019-04-02 15:50

Hi oxalin. I was delayed by RL. I fixed both issue you reported. I'm doing a test run and upload ASAP.

oxalin commented on 2019-04-01 18:54

Hi again. Did you have time to have a look at the modifications I proposed a few weeks ago?

oxalin commented on 2019-02-19 19:57

Two things to report.

1- The .pc file is still broken. That being said, I thing the problem comes from x265's source code and how we are using cmake's variables. The x265.pc.in defines libdir=${exec_prefix}/@LIB_INSTALL_DIR@, which obviously will not work properly in the current PKGBUILD, leading to [from x265.pc]

prefix=/usr exec_prefix=${prefix} libdir=${exec_prefix}//usr/lib32 includedir=${prefix}/include

Name: x265 Description: H.265/HEVC video encoder Version: 3.0 Libs: -L${libdir} -lx265 Libs.private: -lstdc++ -lm -lgcc_s -lgcc -lgcc_s -lgcc -lrt -ldl -lnuma Cflags: -I${includedir}

According to CMake, LIB_INSTALL_DIR can be an absolute or a relative path. However, x265's developers chose to use a relative path...

We could use -DLIB_INSTALL_DIR='lib32' and it will be fixed.

2- "gcc-libs-multilib " dependency should be replaced by "lib32-gcc-libs", reported by namcap