REQUEST: Now you can update MPC-Qt properly.

For developer discussion on package requests
Post Reply
Message
Author
User avatar
bakedcookie
Posts: 7
Joined: Wed Jan 31, 2018 9:54 pm

REQUEST: Now you can update MPC-Qt properly.

#1 Post by bakedcookie »

Hello Steve & MX team, Thank you for update krita, gimp 2.10.2+ on obs repo.
Also today, I've some receive good news for you
now you can build & update MPC-Qt for obs & your MX repo without hiccups anymore.
I've test build 18.0.3 it went out well. The 17.11 source was lack of something
which cause compling to failed. But 18.0.3 went fine without hiccups.

Here's my control template you may have it & add/edit your building credit:

Code: Select all

Source: mpc-qt
Section: video
Priority: optional
Maintainer: yourname <yourname@yourmail.com>
Build-Depends: debhelper (>= 9),
 libarchive-dev,
 libass-dev,
 libasound2-dev,
 libavcodec-dev,
 libavdevice-dev,
 libavfilter-dev,
 libavresample-dev,
 libavutil-dev,
 libmpv-dev,
 libpostproc-dev,
 libpulse-dev,
 libqt5x11extras5-dev,
 libswscale-dev,
 pkg-config,
 qt5-default,
 qt5-qmake,
 qtbase5-dev,
 qtcreator,
 qttools5-dev-tools
Standards-Version: 3.9.8
Homepage: https://github.com/cmdrkotori/mpc-qt
#Vcs-Git: https://anonscm.debian.org/collab-maint/mpc-qt.git
#Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/mpc-qt.git

Package: mpc-qt
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Media Player Classic Qute Theater
 A clone of Media Player Classic reimplemented in Qt.
For rules:
Just add

Code: Select all

dh $@ --enable-libmpv-shared --enable-libarchive
or edit to your liking in dh auto onfigure

More additions:
- Do not add libavtools-dev in control file for mpc-qt or obs repo will reject.
- Make sure change or patch this string at:
Line 2120

Code: Select all

QString devBuild = tr("Development Build");
From "Development Build" into "Version 18.03"
or "18.03dev build" if you want it located at:
inside mpc-qt-18.03/mainwindow.cpp file if build by default user will confuse version display like obs-studio
that always show 0.0.1. On mpc-qt without patch it'll only show "Development Build" without No. in about version.

Hope this help, happy deb packaging!

User avatar
Stevo
Developer
Posts: 12774
Joined: Fri Dec 15, 2006 8:07 pm

Re: REQUEST: Now you can update MPC-Qt properly.

#2 Post by Stevo »

Nice! I'll check that out.

User avatar
Stevo
Developer
Posts: 12774
Joined: Fri Dec 15, 2006 8:07 pm

Re: REQUEST: Now you can update MPC-Qt properly.

#3 Post by Stevo »

Turns out the build-depends can be reduced to

Code: Select all

Build-Depends: debhelper (>= 9),
  pkg-config,
 libarchive-dev,
 libmpv-dev,
 libqt5x11extras5-dev,
 qtbase5-dev,
 qttools5-dev-tools
qt5-default is not required if you add this line to the rules file:

Code: Select all

export QT_SELECT=qt5
libmpv-dev pulls in all the libav* and related library headers for you.

User avatar
bakedcookie
Posts: 7
Joined: Wed Jan 31, 2018 9:54 pm

Re: REQUEST: Now you can update MPC-Qt properly.

#4 Post by bakedcookie »

I see, thank you I'll take a note this solution in my txt.
Now I finally understand how to avoid qt5-default by add this to rules.
It'll be useful when built qt4 qmmp & qt5 qmmp separately
Thank you, I''ll fix & update them both on deb9.0 & xub18.04 obs repos after this.

Post Reply

Return to “Package Requests / Status”