Package Details: librtmp0 2.6-1

Git Clone URL: https://aur.archlinux.org/librtmp0.git (read-only, click to copy)
Package Base: librtmp0
Description: Toolkit for RTMP streams
Upstream URL: https://rtmpdump.mplayerhq.hu/
Licenses: GPL2, LGPL2.1
Provides: librtmp.so.0
Submitter: City-busz
Maintainer: Damgaldor
Last Packager: Damgaldor
Votes: 14
Popularity: 0.31
First Submitted: 2025-10-28 10:34 (UTC)
Last Updated: 2026-10-03 12:11 (UTC)

Latest Comments

NeWolf commented on 2026-10-03 12:03 (UTC)

nvm, I changed


source=("git+https://git.ffmpeg.org/rtmpdump#commit=${_commit}")

to


source=("git+git://git.ffmpeg.org/rtmpdump#commit=${_commit}")

in PKGBUILD and it built.

NeWolf commented on 2026-10-03 11:51 (UTC)

Throws an error when building:


==> Retrieving sources...
  -> Cloning rtmpdump git repo...
Cloning into bare repository '/home/newolf/steam-native-runtime/librtmp0/rtmpdump'...
fatal: remote error: upload-pack: not our ref 0000000000000000000000000000000000000000
==> ERROR: Failure while downloading rtmpdump git repo
    Aborting...

Martchus commented on 2026-07-07 09:41 (UTC)

I also suggest reverting the last change that bumped the version. Otherwise it is just confusing that the commit doesn't match pkgver.

bluegreensea commented on 2026-07-06 21:47 (UTC)

I think version should keep in 2.4, because version 2.6 bump the SO version to 1 not 0. No problems with this package because the source commit wasn't changed. lib32-librtmp0 has similar issue, but it changed the source commit, so there has a version 1 SO.

Damgaldor commented on 2026-07-05 12:40 (UTC)

@gyscos thanks for the patches! I added them to the PKGBUILD.

gyscos commented on 2026-05-15 12:24 (UTC)

Similar to lib32-librtmp0, it looks like librtmp0 is lagging behind the Nettle crypto lib. We could patch the source before building:

prepare() {
  cd rtmpdump
  # Switch to GnuTLS
  sed -e 's/^CRYPTO=OPENSSL/#CRYPTO=OPENSSL/' -e 's/#CRYPTO=GNUTLS/CRYPTO=GNUTLS/' -i Makefile -i librtmp/Makefile

  # Fix Nettle 3.x API mismatch (removes the extra length argument in hmac_sha256_digest)
  sed -i 's/hmac_sha256_digest(&ctx, SHA256_DIGEST_LENGTH, dig)/hmac_sha256_digest(\&ctx, dig)/' librtmp/handshake.h
}

mihalycsaba commented on 2026-05-12 14:56 (UTC)

it's failing to build

==> Starting build()...
make[1]: Entering directory '/data/home-data/cache/.cache/yay/librtmp0/src/rtmpdump/librtmp'
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS  -march=native -O3 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto=auto -fPIC   -c -o rtmp.o rtmp.c
In file included from rtmp.c:126:
handshake.h: In function ‘InitRC4Encryption’:
handshake.h:49:33: error: passing argument 2 of ‘nettle_hmac_sha256_digest’ makes pointer from integer without a cast [-Wint-conversion]
   49 | #define SHA256_DIGEST_LENGTH    32
      |                                 ^~
      |                                 |
      |                                 int
handshake.h:55:95: note: in expansion of macro ‘SHA256_DIGEST_LENGTH’
   55 | #define HMAC_finish(ctx, dig, dlen)     dlen = SHA256_DIGEST_LENGTH; hmac_sha256_digest(&ctx, SHA256_DIGEST_LENGTH, dig)
      |                                                                                               ^~~~~~~~~~~~~~~~~~~~
handshake.h:127:3: note: in expansion of macro ‘HMAC_finish’
  127 |   HMAC_finish(ctx, digest, digestLen);
      |   ^~~~~~~~~~~
In file included from handshake.h:46:
/usr/include/nettle/hmac.h:154:29: note: expected ‘uint8_t *’ {aka ‘unsigned char *’} but argument is of type ‘int’
  154 |                    uint8_t *digest);
      |                    ~~~~~~~~~^~~~~~
handshake.h:55:70: error: too many arguments to function ‘nettle_hmac_sha256_digest’; expected 2, have 3
   55 | #define HMAC_finish(ctx, dig, dlen)     dlen = SHA256_DIGEST_LENGTH; hmac_sha256_digest(&ctx, SHA256_DIGEST_LENGTH, dig)
      |                                                                      ^~~~~~~~~~~~~~~~~~
handshake.h:127:3: note: in expansion of macro ‘HMAC_finish’
  127 |   HMAC_finish(ctx, digest, digestLen);
      |   ^~~~~~~~~~~
/usr/include/nettle/hmac.h:153:1: note: declared here
  153 | hmac_sha256_digest(struct hmac_sha256_ctx *ctx,
      | ^~~~~~~~~~~~~~~~~~