gstreamer-32: fixed build
This commit is contained in:
parent
b19a5978c7
commit
ba606e88ed
@ -2,9 +2,7 @@ drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/lib32/
|
||||
drwxr-xr-x root/root usr/lib32/gstreamer-1.0/
|
||||
-rwxr-xr-x root/root usr/lib32/gstreamer-1.0/gst-completion-helper
|
||||
-rwxr-xr-x root/root usr/lib32/gstreamer-1.0/gst-hotdoc-plugins-scanner
|
||||
-rwxr-xr-x root/root usr/lib32/gstreamer-1.0/gst-plugin-scanner
|
||||
-rwxr-xr-x root/root usr/lib32/gstreamer-1.0/gst-plugins-doc-cache-generator
|
||||
-rwxr-xr-x root/root usr/lib32/gstreamer-1.0/libgstcoreelements.so
|
||||
-rwxr-xr-x root/root usr/lib32/gstreamer-1.0/libgstcoretracers.so
|
||||
lrwxrwxrwx root/root usr/lib32/libgstbase-1.0.so -> libgstbase-1.0.so.0
|
||||
|
@ -1,5 +1,7 @@
|
||||
untrusted comment: verify with /etc/ports/compat-32.pub
|
||||
RWSwxGo/zH7eXa/hhiv1huY5OUdOJNrtLv5QCzhLQKSh8iEgFUepvsRxuyTt+qcbW15ciXpDOsg1C73CDwQmzhuXGMRoAmdykQk=
|
||||
SHA256 (Pkgfile) = 7011ea7fe0e6ca70375cda71accb01dd2186fe850d179ccb4bd69ce9c38f4fec
|
||||
SHA256 (.footprint) = 205680f0d7a38806b54c477e702737a36d1334c10e3aa12ffe3214e13410899c
|
||||
RWSwxGo/zH7eXYsZV6NTbiVYamAmrmjOwnWGMbhKLMrErV6jE19JwsEUWq8pov1v7lf97svftQZ/lm6eXIrDAMjFz0g4I5E8lwA=
|
||||
SHA256 (Pkgfile) = 3f07a4117102dc738b16753d6a2ed86354d6aea445d1b7d7c4ad9bd012fc34c8
|
||||
SHA256 (.footprint) = 364fc5d3cd105b33843796c565069731a56e77d3a26f762c3f623dd0b4be6773
|
||||
SHA256 (gstreamer-1.24.4.tar.xz) = 52c93bc48e03533aa676fd8c15eb6b5fc326c68db311c50bcc0a865f31a6c653
|
||||
SHA256 (x86-linux-gnu) = eb870b51e688107a7ed07e22838898859ec5b7a9d5b78ae34782c741aed2fac1
|
||||
SHA256 (x86-linux-gnu-ccache) = c8ba224aca7ab1082678b2844b38c56aecee74c5891803f6e960703c88fcd8e3
|
||||
|
@ -6,10 +6,14 @@
|
||||
name=gstreamer-32
|
||||
version=1.24.4
|
||||
release=1
|
||||
source=(https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-$version.tar.xz)
|
||||
source=(https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-$version.tar.xz
|
||||
x86-linux-gnu x86-linux-gnu-ccache)
|
||||
|
||||
build() {
|
||||
prt-get isinst ccache && local _cross_file='x86-linux-gnu-ccache' || local _cross_file='x86-linux-gnu'
|
||||
|
||||
meson setup build gstreamer-$version \
|
||||
--cross-file=$SRC/$_cross_file \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib32 \
|
||||
--libexecdir=/usr/lib32 \
|
||||
@ -19,8 +23,8 @@ build() {
|
||||
-D package-name="GStreamer (CRUX Linux)" \
|
||||
-D package-origin="https://crux.nu/"
|
||||
|
||||
meson compile -C build -j ${JOBS:-1}
|
||||
DESTDIR=$PKG ninja -C build install
|
||||
meson compile -C build -j ${JOBS:-1}
|
||||
DESTDIR=$PKG ninja -C build install
|
||||
|
||||
rm -r $PKG/usr/{bin,include,share/man,share}
|
||||
}
|
||||
|
18
gstreamer-32/x86-linux-gnu
Normal file
18
gstreamer-32/x86-linux-gnu
Normal file
@ -0,0 +1,18 @@
|
||||
[binaries]
|
||||
c = ['gcc', '-m32']
|
||||
cpp = ['g++', '-m32']
|
||||
rust = ['rustc', '--target', 'i686-unknown-linux-gnu']
|
||||
pkgconfig = '/usr/bin/pkg-config'
|
||||
llvm-config = '/usr/bin/llvm-config-32'
|
||||
strip = 'strip'
|
||||
|
||||
[built-in options]
|
||||
libdir = 'lib32'
|
||||
|
||||
[host_machine]
|
||||
system = 'linux'
|
||||
subsystem = 'linux'
|
||||
kernel = 'linux'
|
||||
cpu_family = 'x86'
|
||||
cpu = 'i686'
|
||||
endian = 'little'
|
19
gstreamer-32/x86-linux-gnu-ccache
Normal file
19
gstreamer-32/x86-linux-gnu-ccache
Normal file
@ -0,0 +1,19 @@
|
||||
[binaries]
|
||||
c = '/usr/lib/ccache/gcc'
|
||||
cpp = '/usr/lib/ccache/g++'
|
||||
rust = ['rustc', '--target', 'i686-unknown-linux-gnu']
|
||||
pkgconfig = '/usr/bin/pkg-config'
|
||||
llvm-config = '/usr/bin/llvm-config-32'
|
||||
strip = '/usr/bin/strip'
|
||||
|
||||
[properties]
|
||||
c_args = ['-m32']
|
||||
c_link_args = ['-m32']
|
||||
cpp_args = ['-m32']
|
||||
cpp_link_args = ['-m32']
|
||||
|
||||
[host_machine]
|
||||
system = 'linux'
|
||||
cpu_family = 'x86'
|
||||
cpu = 'i686'
|
||||
endian = 'little'
|
Loading…
x
Reference in New Issue
Block a user