Package Details: lib32-x265 3.5-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: llde
Last Packager: llde
Votes: 10
Popularity: 1.15
First Submitted: 2017-08-24 18:30
Last Updated: 2021-03-26 20:27

Required by (32)

Sources (1)

Latest Comments

1 2 Next › Last »

ahmubashshir commented on 2021-07-28 13:20

@Rojikku, @llde
makechrootpkg builds the package properly after applying this patch.

Rojikku commented on 2021-06-02 21:14

It appears that installing this package with aurto or aur sync, which happens in a chroot, resulted in x265.pc not being properly inserted into the PKG CONFIG dir. I had to manually makepkg -sri the PKGBUILD in order to get that file, in order to bu ild lib32-ffmpeg, in order to build lib32-gst-plugins-bad. I would appreciate if this got fixed, but if not, record of this issue is here for those who have the same issue.

DDoSolitary commented on 2021-03-31 15:53

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

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

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

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

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.