geckodriver: update to 0.26.0
Sources are no longer on github, use hg.mozilla.org instead. See https://bugzilla.mozilla.org/show_bug.cgi?id=1606297 for context.
This commit is contained in:
parent
73a9b98329
commit
161e7dd5da
1 changed files with 20 additions and 6 deletions
|
@ -1,17 +1,31 @@
|
|||
# Template file for 'geckodriver'
|
||||
pkgname=geckodriver
|
||||
version=0.25.0
|
||||
version=0.26.0
|
||||
revision=1
|
||||
_hg_commit="e9783a644016aa9b317887076618425586730d73"
|
||||
create_wrksrc=yes
|
||||
build_wrksrc=${pkgname}
|
||||
build_style=cargo
|
||||
short_desc="WebDriver for Firefox"
|
||||
maintainer="m3tav3rse <n6maa10816@tuta.io>"
|
||||
license="MPL-2.0"
|
||||
homepage="https://github.com/mozilla/geckodriver"
|
||||
distfiles="https://github.com/mozilla/geckodriver/archive/v${version}.tar.gz"
|
||||
checksum=9ba9b1be1a2e47ddd11216ce863903853975a4805e72b9ed5da8bcbcaebbcea9
|
||||
distfiles="https://hg.mozilla.org/mozilla-central/archive/${_hg_commit}.zip/testing/geckodriver/>geckodriver.zip
|
||||
https://hg.mozilla.org/mozilla-central/archive/${_hg_commit}.zip/testing/webdriver/>webdriver.zip
|
||||
https://hg.mozilla.org/mozilla-central/archive/${_hg_commit}.zip/testing/mozbase/rust/>mozbase-rust.zip
|
||||
https://hg.mozilla.org/mozilla-central/raw-file/${_hg_commit}/Cargo.lock"
|
||||
checksum="c5854000621938de2aac0bdc853da62539e694adcba98b61851adcbb9ce54dd3
|
||||
d84d6b84d4b37bb4fadda639026eca63dc61dd289bbeb3961eef1257be49266b
|
||||
a838ae82753aaed38eff52bd2076e47a418858be39c7dc5d833070c6ee2f7beb
|
||||
107aaf145d4840a389c2d4586660e95e3fa336a42bb9f94524f9a72c89c21d09"
|
||||
skip_extraction="Cargo.lock"
|
||||
|
||||
post_extract() {
|
||||
mv ${wrksrc}/mozilla-central-${_hg_commit}/testing/* ${wrksrc}
|
||||
rm -r ${wrksrc}/mozilla-central-${_hg_commit}
|
||||
mv ${XBPS_SRCDISTDIR}/${pkgname}-${version}/Cargo.lock ${build_wrksrc}
|
||||
}
|
||||
|
||||
case $XBPS_TARGET_MACHINE in
|
||||
armv6*)
|
||||
broken="there is no firefox for armv6"
|
||||
;;
|
||||
armv[56]*) broken="there is no firefox for armv5/6" ;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue