summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorPavel Vinogradov2022-04-18 19:18:24 -0400
committerPavel Vinogradov2022-04-18 19:18:24 -0400
commit32467912d0fb0ce1d16fb11f845ba6884148c74c (patch)
treeb0ae205f88aa8eb4517b8402b65df418ddb2c94d /video
parent04e2e828386e6c84e56966c7bf0cc70e5c73efcd (diff)
video/pipewire: added scm branch, switched to GitLab urls
Diffstat (limited to 'video')
-rwxr-xr-xvideo/pipewire/DETAILS16
-rw-r--r--video/pipewire/HISTORY3
-rwxr-xr-xvideo/pipewire/PREPARE2
3 files changed, 18 insertions, 3 deletions
diff --git a/video/pipewire/DETAILS b/video/pipewire/DETAILS
index 72dbd98466..b8925764af 100755
--- a/video/pipewire/DETAILS
+++ b/video/pipewire/DETAILS
@@ -1,11 +1,21 @@
+source "${GRIMOIRE}/FUNCTIONS"
source $GRIMOIRE/MESON_FUNCTIONS
SPELL=pipewire
+if [[ "${PIPEWIRE_BRANCH}" == "scm" ]]; then
+ VERSION=$(get_scm_version)
+ SOURCE=${SPELL}-git.tar.xz
+ SOURCE_URL[0]="git_http://gitlab.freedesktop.org/${SPELL}/${SPELL}:${SPELL}-git"
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-git"
+ SOURCE_IGNORE=volatile
+ FORCE_DOWNLOAD=on
+else
VERSION=0.3.50
- SOURCE_HASH=sha512:e29a626258ab28d74e35e310037fac374fe009fb56e0fa41cef7abb1ec6abb26f828cff1b17500f92f1dd4c95c1e0e98f6af497d315dd463f81c2649d1e8ee23
- SOURCE=$SPELL-$VERSION.tar.gz
+ SOURCE_HASH=sha512:6f50e31a5029ae8c65af8ef86080ec8389e10dda77177dbb63051f11defe99c0fe2f919ba42d4e72cec9753dd64f0f492afe8d5316750c7739318aa5703e2ab6
+ SOURCE=$SPELL-$VERSION.tar.bz2
+ SOURCE_URL[0]="https://gitlab.freedesktop.org/${SPELL}/${SPELL}/-/archive/${VERSION}/${SOURCE}"
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
+fi
WEB_SITE=https://pipewire.org
- SOURCE_URL[0]=https://github.com/PipeWire/pipewire/archive/$VERSION.tar.gz
LICENSE[0]=GPL
ENTERED=20180201
KEYWORDS=""
diff --git a/video/pipewire/HISTORY b/video/pipewire/HISTORY
index b37f16f8bc..92641f1eff 100644
--- a/video/pipewire/HISTORY
+++ b/video/pipewire/HISTORY
@@ -1,3 +1,6 @@
+2022-04-18 Pavel Vinogradov <public@sourcemage.org>
+ * DETAILS, PREPARE: added scm branch, gz -> bz2, switched to GitLab
+
2022-04-13 Pavel Vinogradov <public@sourcemage.org>
* DETAILS: version 0.3.50
diff --git a/video/pipewire/PREPARE b/video/pipewire/PREPARE
new file mode 100755
index 0000000000..98d27e41ff
--- /dev/null
+++ b/video/pipewire/PREPARE
@@ -0,0 +1,2 @@
+. ${GRIMOIRE}/FUNCTIONS &&
+prepare_select_branch stable scm