pipewire: use create_wrksrc
This commit is contained in:
@@ -3,6 +3,8 @@ pkgname=pipewire
|
|||||||
version=0.3.58
|
version=0.3.58
|
||||||
revision=1
|
revision=1
|
||||||
_pms_version=0.4.1
|
_pms_version=0.4.1
|
||||||
|
create_wrksrc=yes
|
||||||
|
build_wrksrc="${pkgname}-${version}"
|
||||||
build_style=meson
|
build_style=meson
|
||||||
configure_args="
|
configure_args="
|
||||||
--auto-features=enabled
|
--auto-features=enabled
|
||||||
@@ -38,6 +40,7 @@ checksum="5cb73bf27b8b80e37804d7829c5ad8fa5510835f449bbb7e4773f188584771ad
|
|||||||
119c9216070b54018217552c7924f9888da270c3c4647c5e2b85ffa6b1574975"
|
119c9216070b54018217552c7924f9888da270c3c4647c5e2b85ffa6b1574975"
|
||||||
make_dirs="/var/lib/pipewire 0755 _pipewire _pipewire"
|
make_dirs="/var/lib/pipewire 0755 _pipewire _pipewire"
|
||||||
system_accounts="_pipewire"
|
system_accounts="_pipewire"
|
||||||
|
patch_args="-Np1 --directory=${build_wrksrc}"
|
||||||
|
|
||||||
build_options="sdl2"
|
build_options="sdl2"
|
||||||
|
|
||||||
@@ -55,7 +58,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
mv ${XBPS_BUILDDIR}/media-session-${_pms_version} ${wrksrc}/subprojects/media-session
|
mv media-session-${_pms_version} ${build_wrksrc}/subprojects/media-session
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|||||||
Reference in New Issue
Block a user