diff options
author | davidovski <david@davidovski.xyz> | 2022-07-15 00:52:21 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-07-15 00:52:21 +0100 |
commit | 9a26d3fdc7fca2df6f824b56034ab9a823e898d8 (patch) | |
tree | 278bbf05c72536a30e701eebbd3546ba137543e7 /repo/libmpeg2/libmpeg2.xibuild | |
parent | f6332a43c35387c4a2dea1746be5fd092890ae0e (diff) |
added python deps for libvirt
Diffstat (limited to 'repo/libmpeg2/libmpeg2.xibuild')
-rw-r--r-- | repo/libmpeg2/libmpeg2.xibuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/repo/libmpeg2/libmpeg2.xibuild b/repo/libmpeg2/libmpeg2.xibuild new file mode 100644 index 0000000..ec0a54a --- /dev/null +++ b/repo/libmpeg2/libmpeg2.xibuild @@ -0,0 +1,37 @@ +#!/bin/sh + +NAME="libmpeg2" +DESC="A library for decoding MPEG-1 and MPEG-2 video streams" + +MAKEDEPS="libx11 libice libsm libxext libxv" + +PKG_VER=0.5.1 +SOURCE="https://gentoo.osuosl.org/distfiles/libmpeg2-$PKG_VER.tar.gz" + +ADDITIONAL=" +arm-private-symbols.patch +arm-textrel.patch +" + +prepare() { + apply_patches +} + +build() { + ./configure \ + --prefix=/usr \ + --with-pic \ + --enable-shared \ + --disable-static + make OPT_CFLAGS="$CFLAGS" \ + MPEG2DEC_CFLAGS="$CFLAGS" \ + LIBMPEG2_CFLAGS="" +} + +check() { + make check +} + +package() { + make DESTDIR="$PKG_DEST" install +} |