Package Details: lib32-x265 4.0-1

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_git
Licenses: GPL
Provides: libx265.so
Submitter: llde
Maintainer: unit73e
Last Packager: unit73e
Votes: 11
Popularity: 0.000003
First Submitted: 2017-08-24 18:30 (UTC)
Last Updated: 2024-11-09 20:57 (UTC)

Required by (21)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

DDoSolitary commented on 2021-03-31 15:53 (UTC)

It seems that simply adding git to makedepends fixes the problem. source/cmake/Version.cmake does the version check, and it will read x265Version.txt (which is already available) only when it finds the git executable: https://bitbucket.org/multicoreware/x265_git/src/f0c1022b6be121a753ff02853fbe33da71988656/source/cmake/Version.cmake#lines-51

DDoSolitary commented on 2021-03-27 07:55 (UTC) (edited on 2021-03-27 08:13 (UTC) by DDoSolitary)

The new v3.5 package unexpectedly builds a static library.

$ pacman -Qpl lib32-x265-3.5-1-x86_64.pkg.tar.zst
lib32-x265 /usr/
lib32-x265 /usr/lib32/
lib32-x265 /usr/lib32/libhdr10plus.so
lib32-x265 /usr/lib32/libx265.a

According to source/CMakeLists.txt line 676: # shared library is not installed if a tag is not found. So I would suggest using the git source as extra/x265.

thaewrapt commented on 2021-03-24 12:42 (UTC) (edited on 2021-03-24 12:45 (UTC) by thaewrapt)

Build was successful when I've tried the method @Nocifer mentioned. The other variant (not tested) is to get releases from bitbucket download page: https://bitbucket.org/multicoreware/x265_git/downloads/

EDIT: noticed that the package have migrated from the "bitbucket downloads" not so long ago, so it may not be the working scenario.

Nocifer commented on 2021-03-23 16:51 (UTC)

x265 has been updated to v3.5 as of a week ago, which means that trying to build the recently updated lib32-gst-plugins-bad fails at the moment when lib32-x265 v3.4 tries to link with the updated x265 v3.5 library.

Also, do note that while x265's Github mirror is yet to be updated, the original source link still works after a bit of tweaking, like so (this snippet is taken directly from the main x265 package):

_tag=f0c1022b6be121a753ff02853fbe33da71988656
source=(git+https://bitbucket.org/multicoreware/x265_git#tag=${_tag})

In other words, AFAIU, it's not that the bitbucket link has stopped working, it's just that for some reason the tagged releases have been removed, so this package should instead be using cherry-picked commits from the git repo that correspond to the versioned releases, just like the main x265 package does.

llde commented on 2020-08-27 14:29 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

Please add x265 to depends for header files.

Sukid commented on 2019-07-23 01:58 (UTC)

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 (UTC) (edited on 2019-07-23 07:29 (UTC) by oxalin)

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.