Added packaging
This commit is contained in:
3
rpm/pinesrcbin.conf
Normal file
3
rpm/pinesrcbin.conf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
QT_GSTREAMER_CAMERABIN_SRC="wrappercamerabinsrc"
|
||||||
|
QT_GSTREAMER_CAMERABIN_VIDEOSRC="pinesrcbin"
|
||||||
|
# QT_GSTREAMER_CAMERABIN_FLAGS=15
|
||||||
37
rpm/pinesrcbin.spec
Normal file
37
rpm/pinesrcbin.spec
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
%define majorminor 1.0
|
||||||
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
|
|
||||||
|
Name: pinesrcbin
|
||||||
|
Version: 0.0.1
|
||||||
|
Release: 0
|
||||||
|
Summary: GStreamer plug-in
|
||||||
|
Group: Applications/Multimedia
|
||||||
|
License: LGPLv2+
|
||||||
|
URL: https://git.omprussia.ru/s.lapin/pinesrcbin
|
||||||
|
|
||||||
|
%define sonamever %(echo %{version} | cut -d '+' -f 1)
|
||||||
|
|
||||||
|
buildRequires: pkgconfig(gstreamer-1.0) >= 1.16.1
|
||||||
|
BuildRequires: pkgconfig(gstreamer-base-1.0) >= 1.16.1
|
||||||
|
BuildRequires: pkgconfig(gstreamer-plugins-bad-1.0) >= 1.16.1
|
||||||
|
|
||||||
|
BuildRequires: meson
|
||||||
|
|
||||||
|
%description
|
||||||
|
TBD
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n pinesrcbin
|
||||||
|
|
||||||
|
%build
|
||||||
|
%meson
|
||||||
|
|
||||||
|
%install
|
||||||
|
%meson_install
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}/var/lib/environment/compositor/
|
||||||
|
cp rpm/pinesrcbin.conf %{buildroot}/var/lib/environment/compositor/pinesrcbin.conf
|
||||||
|
%files
|
||||||
|
/usr/lib64/gstreamer-1.0/libgstpinesrcbin.so
|
||||||
|
/var/lib/environment/compositor/pinesrcbin.conf
|
||||||
|
|
||||||
Reference in New Issue
Block a user