-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New package: loudgain-0.6.8 #24400
New package: loudgain-0.6.8 #24400
Conversation
srcpkgs/loudgain/template
Outdated
version=0.6.8 | ||
revision=1 | ||
build_style=cmake | ||
hostmakedepends="libebur128-devel ffmpeg-devel libavcodec libavformat libavutil libswresample libebur128 taglib-devel pkg-config" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makedepends="libebur128-devel ffmpeg-devel taglib-devel"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simply replacing hostmakedepends into makedepends does the trick . Or what you are saying is that that's the only packages needed and the rest is redundant
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, the rest is redundant. For example, libavcodec
is a dependency of ffmpeg-devel
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You sure ? Adding this:
hostmakedepends="libebur128-devel ffmpeg-devel libavcodec libavformat libavutil libswresample libebur128 taglib-devel pkg-config" | |
makedepends="libebur128-devel ffmpeg-devel taglib-devel" |
And then xbps-src package:
=> loudgain-0.6.8_1: running do_configure ...
-- Checking for module 'libavcodec'
--
CMake Error at /usr/share/cmake-3.17/Modules/FindPkgConfig.cmake:497 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.17/Modules/FindPkgConfig.cmake:681 (_pkg_check_modules_internal)
CMakeLists.txt:27 (PKG_CHECK_MODULES)
-- Configuring incomplete, errors occurred!
See also "/builddir/loudgain-0.6.8/build/CMakeFiles/CMakeOutput.log".
=> ERROR: loudgain-0.6.8_1: do_configure: 'CFLAGS="${CFLAGS/ -pipe / }" CXXFLAGS="${CXXFLAGS/ -p's|[^/]*||g' -e 's|/|../|g')' exited with 1
=> ERROR: in do_configure() at `common/build-style/cmake.sh:62
EDIT:
hostmakedepends="libebur128-devel ffmpeg-devel libavcodec libavformat libavutil libswresample libebur128 taglib-devel pkg-config" | |
makedepends="libebur128-devel ffmpeg-devel taglib-devel libavcodec pkg-config" |
This makes it work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pkg-config
should be in hostmakedepends
. Please go back read Manual
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had read the manual , but I will definitely read this time with more attention.Really appreciate your help !
Hey @Duncaen could you re review it again and if it ready |
Thanks for the insight wasn't aware of that. @Duncaen |
Closed by b766fcd |
Asked on #23054