Nux!


Home » Repos » Report a problem or request a package » [REQUEST] obs-studio
[REQUEST] obs-studio [message #3555] Thu, 07 April 2016 04:51 Go to next message
alvaro
Messages: 9
Registered: March 2016
Junior Member
Hi!

Please add the obs-studio package to your repository.

Note: This package requires ffmpeg, x264, etc. from your repository.

Project website: https://obsproject.com/ & https://github.com/jp9000/obs-studio/releases
TUV tarball (0.12.0): https://github.com/jp9000/obs-studio/archive/0.12.0.tar.gz
TUV tarball (0.13.4): https://github.com/jp9000/obs-studio/archive/0.13.4.tar.gz
TUV RPMs: http://repo.tech-3.net/Fedora/23/

All my files (including RPMs): https://www.dropbox.com/sh/irvkzt2bja5jcwn/AABMXo8Ij61OmBWDl wzTIWgGa?dl=0
My SRPM (0.12.0): https://www.dropbox.com/sh/irvkzt2bja5jcwn/AADDjMKYLXrNxilrd oSugwLIa/obs-studio-0.12.0-3.el7/obs-studio-0.12.0-3.el7.cen tos.src.rpm?dl=0
My SRPM (0.13.4): https://www.dropbox.com/sh/irvkzt2bja5jcwn/AABzj3pWCmBvYkN35 CN-TEOaa/obs-studio-0.13.4-4.el7/obs-studio-0.13.4-4.el7.cen tos.src.rpm?dl=0
My SPEC: http://wklej.org/hash/db293968f0e/txt/

Thanks in advance.
Re: [REQUEST] obs-studio [message #3556 is a reply to message #3555] Thu, 07 April 2016 17:13 Go to previous messageGo to next message
nux is currently offline  nux
Messages: 1546
Registered: January 2012
Senior Member
Administrator

Added, test if you can
Re: [REQUEST] obs-studio [message #3558 is a reply to message #3556] Thu, 07 April 2016 17:58 Go to previous messageGo to next message
alvaro
Messages: 9
Registered: March 2016
Junior Member
Quote:
Added, test if you can

Thank you for the quick reply!

Unfortunately, I can't test it carefully right now, but the basic options seems to work ok.

Please just remember to keep these cmake's options in next builds:
  • "-DOBS_VERSION_OVERRIDE=%{version}" - without it the GUI will report incorrect version
  • "-DUNIX_STRUCTURE=1 -DCMAKE_INSTALL_PREFIX=/usr" - without it the program will be installed in /usr/local/ instead of /usr/

Note:
OBS studio requires cmake >= 2.8.12 but EL7 provides cmake = 2.8.11 so I used cmake3 3.5.1 from the cmake3 package (EPEL).
Re: [REQUEST] obs-studio [message #3576 is a reply to message #3555] Fri, 06 May 2016 21:57 Go to previous messageGo to next message
schotty is currently offline  schotty
Messages: 64
Registered: December 2012
Location: United States
Member
Thanks for rolling this one up. You beat me to the punch again Nux!

I will give this one a spin later on when I have spare time, and happen to be at home.

Re: [REQUEST] obs-studio [message #3806 is a reply to message #3556] Sun, 19 March 2017 08:51 Go to previous messageGo to next message
alvaro
Messages: 9
Registered: March 2016
Junior Member
Hello!

Could you update obs-studio package to newer version? I already prepared RPM SPEC and SRPM for this.

TUV tarball (18.0.1): https://github.com/jp9000/obs-studio/archive/18.0.1.tar.gz#/ obs-studio-18.0.1.tar.gz
TUV SRPM (18.0.1): http://download1.rpmfusion.org/free/fedora/updates/25/SRPMS/ o/obs-studio-18.0.1-1.fc25.src.rpm
TUV patches: https://www.dropbox.com/sh/irvkzt2bja5jcwn/AADrIov0YLKQOjomn zBlmQ4aa/obs-studio-18.0.1-2.el7/obs-ffmpeg-mux.patch?dl=0 & http://wklej.org/hash/4e9f6475e2a/txt/

All my files (including RPMs): https://www.dropbox.com/sh/irvkzt2bja5jcwn/AABMXo8Ij61OmBWDl wzTIWgGa?dl=0
My SRPM (18.0.1): https://www.dropbox.com/sh/irvkzt2bja5jcwn/AAC01HkFOGpn8m0AV IcIwz-Ya/obs-studio-18.0.1-2.el7/obs-studio-18.0.1-2.el7.cen tos.src.rpm?dl=0
My SPEC (18.0.1): https://www.dropbox.com/sh/irvkzt2bja5jcwn/AABPjxoSu2xr1geo0 ymvoGQia/obs-studio-18.0.1-2.el7/obs-studio.spec?dl=0 & http://wklej.org/hash/4ce2bd7384e/txt/

Thanks in advance.
Re: [REQUEST] obs-studio [message #3807 is a reply to message #3555] Mon, 20 March 2017 10:39 Go to previous messageGo to next message
nux is currently offline  nux
Messages: 1546
Registered: January 2012
Senior Member
Administrator

Thanks for your contribution, I'll add it shortly to my repo.
Re: [REQUEST] obs-studio [message #3808 is a reply to message #3555] Mon, 20 March 2017 10:54 Go to previous messageGo to next message
nux is currently offline  nux
Messages: 1546
Registered: January 2012
Senior Member
Administrator

Mock is complaining about this line:
%{!?_cmake3_lib_suffix64: -DLIB_SUFFIX=64}

error: line 52: Unknown tag: -DLIB_SUFFIX=64


How did you manage to build your SRPM?
Re: [REQUEST] obs-studio [message #3809 is a reply to message #3555] Mon, 20 March 2017 16:17 Go to previous messageGo to next message
nux is currently offline  nux
Messages: 1546
Registered: January 2012
Senior Member
Administrator

well, commenting out that line seemed to have lead to a buildable srpm
can you give this a go, confirm functionality is ok?
http://li.nux.ro/download/nux/tmp/obs-studio7/
Re: [REQUEST] obs-studio [message #3811 is a reply to message #3808] Tue, 21 March 2017 17:45 Go to previous messageGo to next message
alvaro
Messages: 9
Registered: March 2016
Junior Member
nux wrote on Mon, 20 March 2017 11:54

Mock is complaining about this line:
%{!?_cmake3_lib_suffix64: -DLIB_SUFFIX=64}

error: line 52: Unknown tag: -DLIB_SUFFIX=64


How did you manage to build your SRPM?


Sorry, my mistake.
Instead of:
%{!?_cmake3_lib_suffix64: -DLIB_SUFFIX=64}

it should be:
%{!?_cmake3_lib_suffix64: %define _cmake3_lib_suffix64 -DLIB_SUFFIX=64}

That means: if "_cmake3_lib_suffix64" macro is not defined then define "_cmake3_lib_suffix64" macro as: "-DLIB_SUFFIX=64"
This is important only for building (especially if "/usr/lib/rpm/macros.d/macros.cmake3" is not installed).

All my files (including RPMs): https://www.dropbox.com/sh/irvkzt2bja5jcwn/AABMXo8Ij61OmBWDl wzTIWgGa?dl=0
Current packages (18.0.1-3): https://www.dropbox.com/sh/irvkzt2bja5jcwn/AAB1L-9CeU8nV_pBS j6AxS4ma/obs-studio-18.0.1-3.el7?dl=0
My SRPM (18.0.1-3): https://www.dropbox.com/sh/irvkzt2bja5jcwn/AAAtuXVIi3lolmrze 9Sy3Jxoa/obs-studio-18.0.1-3.el7/obs-studio-18.0.1-3.el7.cen tos.src.rpm?dl=0 & https://www.dropbox.com/sh/irvkzt2bja5jcwn/AACoaYY1r-VZpoGlA a_VqoQwa/obs-studio-18.0.1-3.el7/obs-studio-18.0.1-3.el7.src .rpm?dl=0
My SPEC (18.0.1-3): https://www.dropbox.com/sh/irvkzt2bja5jcwn/AAD50a5LMyzAceJqi P2aFC95a/obs-studio-18.0.1-3.el7/obs-studio.spec?dl=0 & http://wklej.org/hash/94d88a8c916/txt/

SPEC DIFF
$ diff obs-studio-18.0.1-2.el7.centos.spec obs-studio-18.0.1-3.el7.centos.spec
3c3
< Release:        2%{?dist}
---
> Release:        3%{?dist}
52c52
< %{!?_cmake3_lib_suffix64: -DLIB_SUFFIX=64}
---
> %{!?_cmake3_lib_suffix64: %define _cmake3_lib_suffix64 -DLIB_SUFFIX=64}
275a276,278
> * Tue Mar 21 2017 Tomasz Tomasik <scx.mail@gmail.com> - 18.0.1-3
> - Fix _cmake3_lib_suffix64 macro
> 


Normal build:
rpmbuild -ba obs-studio.spec

or
rpmbuild --rebuild obs-studio-18.0.1-3.el7.centos.src.rpm

or
rpmbuild --rebuild obs-studio-18.0.1-3.el7.src.rpm

Mock build:
mock -r epel-7-extra-x86_64 rebuild obs-studio-18.0.1-3.el7.centos.src.rpm

or
mock -r epel-7-extra-x86_64 rebuild obs-studio-18.0.1-3.el7.src.rpm

See also: "/etc/mock/epel-7-extra-x86_64.cfg"

I also checked your packages from temp directory and it works ok for me.
Re: [REQUEST] obs-studio [message #3813 is a reply to message #3555] Wed, 22 March 2017 08:47 Go to previous message
nux is currently offline  nux
Messages: 1546
Registered: January 2012
Senior Member
Administrator

Thanks, I'll rebuild with the fixed spec and add to main repo.
Previous Topic: Kodi 16 el7
Next Topic: kodi7 repo
Goto Forum:
  


Current Time: Thu Aug 17 12:47:54 BST 2017

Total time taken to generate the page: 0.00811 seconds