From 9a26d3fdc7fca2df6f824b56034ab9a823e898d8 Mon Sep 17 00:00:00 2001 From: davidovski Date: Fri, 15 Jul 2022 00:52:21 +0100 Subject: added python deps for libvirt --- repo/libdvbpsi/fix-includes.patch | 24 ++++++++++++++++++++++++ repo/libdvbpsi/libdvbpsi.xibuild | 29 +++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 repo/libdvbpsi/fix-includes.patch create mode 100644 repo/libdvbpsi/libdvbpsi.xibuild (limited to 'repo/libdvbpsi') diff --git a/repo/libdvbpsi/fix-includes.patch b/repo/libdvbpsi/fix-includes.patch new file mode 100644 index 0000000..9fbdc84 --- /dev/null +++ b/repo/libdvbpsi/fix-includes.patch @@ -0,0 +1,24 @@ +--- libdvbpsi-1.1.1.orig/examples/dvbinfo/buffer.h ++++ libdvbpsi-1.1.1/examples/dvbinfo/buffer.h +@@ -23,6 +23,9 @@ + #ifndef DVBINFO_BUFFER_H_ + #define DVBINFO_BUFFER_H_ + ++#include ++#include ++ + typedef struct buffer_s buffer_t; + + struct buffer_s +--- libdvbpsi-1.1.1.orig/src/descriptor.h ++++ libdvbpsi-1.1.1/src/descriptor.h +@@ -35,6 +35,9 @@ + #ifndef _DVBPSI_DESCRIPTOR_H_ + #define _DVBPSI_DESCRIPTOR_H_ + ++#include ++#include ++ + #ifdef __cplusplus + extern "C" { + #endif diff --git a/repo/libdvbpsi/libdvbpsi.xibuild b/repo/libdvbpsi/libdvbpsi.xibuild new file mode 100644 index 0000000..04ead06 --- /dev/null +++ b/repo/libdvbpsi/libdvbpsi.xibuild @@ -0,0 +1,29 @@ +#!/bin/sh + +NAME="libdvbpsi" +DESC="A library decoding and generating MPEG TS and DVB PSI tables" + +MAKEDEPS="musl" + +PKG_VER=1.3.3 +SOURCE="https://download.videolan.org/pub/libdvbpsi/$PKG_VER/libdvbpsi-$PKG_VER.tar.bz2" + +ADDITIONAL=" +fix-includes.patch +" + +prepare () { + apply_patches +} + +build() { + ./configure \ + --prefix=/usr \ + --enable-release \ + --disable-static + make +} + +package() { + make DESTDIR="$PKG_DEST" install +} -- cgit v1.2.1