Package Details: mingw-w64-librtmp0 2.4+514+c5f04a5-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-librtmp0.git (read-only, click to copy)
Package Base: mingw-w64-librtmp0
Description: Toolkit for RTMP streams (mingw-w64)
Upstream URL: http://rtmpdump.mplayerhq.hu/
Licenses: GPL2, LGPL2.1
Submitter: drakkan
Maintainer: drakkan
Last Packager: drakkan
Votes: 0
Popularity: 0.000000
First Submitted: 2017-02-06 15:15 (UTC)
Last Updated: 2022-06-05 08:05 (UTC)

Latest Comments

drakkan commented on 2022-06-05 08:07 (UTC)

@Madeorsk thanks

Madeorsk commented on 2022-06-03 08:20 (UTC)

I think you need to add -j1 in the make install of package().

On my system, cp librtmp.dll.a /..../mingw-w64-librtmp0/pkg/mingw-w64-librtmp0/usr/i686-w64-mingw32/lib was executed before the creation of the lib directory, leading to more problems later (lib was a file instead of a directory):

cp: cannot evaluate '/..../mingw-w64-librtmp0/pkg/mingw-w64-librtmp0/usr/i686-w64-mingw32/lib/pkgconfig': not a directory

drakkan commented on 2022-03-12 16:23 (UTC)

@Score_Under, strange, I cannot reproduce, here is my install output

x86_64-w64-mingw32-cc -Wall -Wl,-O1,--sort-common,--as-needed -fstack-protector  -o rtmpsuck.exe rtmpsuck.o thread.o  -Llibrtmp -lrtmp -lssl -lcrypto -lz -lws2_32 -lwinmm -lgdi32 
mkdir -p /build/mingw-w64-librtmp0/pkg/mingw-w64-librtmp0/usr/x86_64-w64-mingw32/bin /build/mingw-w64-librtmp0/pkg/mingw-w64-librtmp0/usr/x86_64-w64-mingw32/bin /build/mingw-w64-librtmp0/pkg/mingw-w64-librtmp0/usr/x86_64-w64-mingw32/man/man1 /build/mingw-w64-librtmp0/pkg/mingw-w64-librtmp0/usr/x86_64-w64-mingw32/man/man8
cp rtmpdump.exe /build/mingw-w64-librtmp0/pkg/mingw-w64-librtmp0/usr/x86_64-w64-mingw32/bin
cp rtmpgw.exe rtmpsrv.exe rtmpsuck.exe /build/mingw-w64-librtmp0/pkg/mingw-w64-librtmp0/usr/x86_64-w64-mingw32/bin
cp rtmpdump.1 /build/mingw-w64-librtmp0/pkg/mingw-w64-librtmp0/usr/x86_64-w64-mingw32/man/man1
cp rtmpgw.8 /build/mingw-w64-librtmp0/pkg/mingw-w64-librtmp0/usr/x86_64-w64-mingw32/man/man8
make[1]: Entering directory '/build/mingw-w64-librtmp0/src/build-x86_64-w64-mingw32/librtmp'
sed -e "s;@prefix@;/usr/x86_64-w64-mingw32;" -e "s;@libdir@;/usr/x86_64-w64-mingw32/lib;" \
    -e "s;@VERSION@;v2.4;" \
    -e "s;@CRYPTO_REQ@;libssl,libcrypto;" \
    -e "s;@PUBLIC_LIBS@;;" \
    -e "s;@PRIVATE_LIBS@;-lws2_32 -lwinmm -lgdi32;" librtmp.pc.in > librtmp.pc
mkdir -p /build/mingw-w64-librtmp0/pkg/mingw-w64-librtmp0/usr/x86_64-w64-mingw32/include/librtmp /build/mingw-w64-librtmp0/pkg/mingw-w64-librtmp0/usr/x86_64-w64-mingw32/lib/pkgconfig /build/mingw-w64-librtmp0/pkg/mingw-w64-librtmp0/usr/x86_64-w64-mingw32/man/man3 /build/mingw-w64-librtmp0/pkg/mingw-w64-librtmp0/usr/x86_64-w64-mingw32/bin
cp amf.h http.h log.h rtmp.h /build/mingw-w64-librtmp0/pkg/mingw-w64-librtmp0/usr/x86_64-w64-mingw32/include/librtmp
cp librtmp.a /build/mingw-w64-librtmp0/pkg/mingw-w64-librtmp0/usr/x86_64-w64-mingw32/lib
cp librtmp.pc /build/mingw-w64-librtmp0/pkg/mingw-w64-librtmp0/usr/x86_64-w64-mingw32/lib/pkgconfig
cp librtmp.3 /build/mingw-w64-librtmp0/pkg/mingw-w64-librtmp0/usr/x86_64-w64-mingw32/man/man3
cp librtmp-1.dll /build/mingw-w64-librtmp0/pkg/mingw-w64-librtmp0/usr/x86_64-w64-mingw32/bin
cp librtmp.dll.a /build/mingw-w64-librtmp0/pkg/mingw-w64-librtmp0/usr/x86_64-w64-mingw32/lib
cd /build/mingw-w64-librtmp0/pkg/mingw-w64-librtmp0/usr/x86_64-w64-mingw32/bin; ln -sf librtmp-1.dll librtmp.dll
make[1]: Leaving directory '/build/mingw-w64-librtmp0/src/build-x86_64-w64-mingw32/librtmp'

Score_Under commented on 2022-03-12 01:08 (UTC)

I got errors from the packaging process relating to the pkgconfig directory not existing, so to get this to build I had to add this before the make install line:

    mkdir -p "$pkgdir/usr/$_arch/lib/pkgconfig"

drakkan commented on 2019-12-06 21:50 (UTC)

@xantares, mingw-w64-make does not work here since librtmp0 require to set ```

make .... XCFLAGS="$CFLAGS" XLDFLAGS="$LDFLAGS"

and *FLAGS are empty when using mingw-w64-make

drakkan commented on 2019-12-06 12:03 (UTC)

@xantares, yes I'm a bit busy today, I'll switch to mingw-w64-make this weekend for this and some other packages that I maintain, thanks!

xantares commented on 2019-12-06 12:01 (UTC)

@drakkan, can you try mingw-w64-make instead ?

drakkan commented on 2019-12-02 22:50 (UTC)

@xantares, noted thanks.

We need to unset *FLAGS to avoid duplication

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=mingw-w64-librtmp0#n28

xantares commented on 2019-12-02 21:45 (UTC)

CC and LD are also set now :)