Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Merge requests
!47564
testing/radarr: upgrade to 4.5.2.7388
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
testing/radarr: upgrade to 4.5.2.7388
fabricionaweb/aports:update-radarr
into
master
Overview
0
Commits
1
Pipelines
4
Changes
3
Merged
Fabricio Silva
requested to merge
fabricionaweb/aports:update-radarr
into
master
1 year ago
Overview
0
Commits
1
Pipelines
4
Changes
3
Expand
0
0
Merge request reports
Compare
master
version 2
e4f45e5a
1 year ago
version 1
f9233d77
1 year ago
master (base)
and
latest version
latest version
9f7ee9c3
1 commit,
1 year ago
version 2
e4f45e5a
1 commit,
1 year ago
version 1
f9233d77
1 commit,
1 year ago
3 files
+
28
−
25
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
testing/radarr/APKBUILD
+
21
−
24
Options
# Contributor: Fabricio Silva <hi@fabricio.dev>
# Maintainer: Fabricio Silva <hi@fabricio.dev>
pkgname
=
radarr
pkgver
=
4.
4.4.706
8
pkgver
=
4.
5.2.738
8
pkgrel
=
0
pkgdesc
=
"Movie download automation for usenet and torrents."
url
=
"https://github.com/Radarr/Radarr"
@@ -32,16 +32,16 @@ pkggroups="radarr"
# map arch to dotnet
case
$CARCH
in
x86_64
)
_dotnet_arch
=
"x64"
;;
aarch64
)
_dotnet_arch
=
"arm64"
;;
armv7
)
_dotnet_arch
=
"arm"
;;
*
)
_dotnet_arch
=
"
$CARCH
"
;;
x86_64
)
_dotnet_arch
=
"x64"
;;
aarch64
)
_dotnet_arch
=
"arm64"
;;
armv7
)
_dotnet_arch
=
"arm"
;;
*
)
_dotnet_arch
=
"
$CARCH
"
;;
esac
# custom variables
_runtime
=
"linux-musl-
$_dotnet_arch
"
_framework
=
"net6.0"
_output
=
"
$builddir
/
_output"
_output
=
"_output"
_artifacts
=
"
$_output
/
$_framework
/
$_runtime
/publish"
prepare
()
{
@@ -51,31 +51,28 @@ prepare() {
ulimit
-n
4096
# replace version info
local
buildprops
=
"
$builddir
"
/
src/Directory.Build.props
local
buildprops
=
src/Directory.Build.props
sed
-i
-e
"s/<AssemblyVersion>[0-9.*]
\+
<
\/
AssemblyVersion>/<AssemblyVersion>
$pkgver
<
\/
AssemblyVersion>/g"
"
$buildprops
"
sed
-i
-e
"s/<AssemblyConfiguration>[
\$
()A-Za-z-]
\+
<
\/
AssemblyConfiguration>/<AssemblyConfiguration>master<
\/
AssemblyConfiguration>/g"
"
$buildprops
"
export
BROWSERSLIST_IGNORE_OLD_DATA
=
true
yarn
install
--frozen-lockfile
--network-timeout
120000
}
build
()
{
# build the package and generate artifacts
dotnet build
"
$builddir
"
/src
\
dotnet build src
\
-p
:RuntimeIdentifiers
=
"
$_runtime
"
\
-p
:Configuration
=
Release
\
-p
:SelfContained
=
false
\
-t
:PublishAllRids
yarn build
--env
production
--no-stats
# remove service helpers
rm
-f
"
$_artifacts
"
/ServiceUninstall.
*
rm
-f
"
$_artifacts
"
/ServiceInstall.
*
# remove Radarr.Windows
rm
-f
"
$_artifacts
"
/Radarr.Windows.
*
# build web ui
export
BROWSERSLIST_IGNORE_OLD_DATA
=
true
yarn
--cwd
"
$builddir
"
install
--frozen-lockfile
--network-timeout
120000
yarn
--cwd
"
$builddir
"
build
--env
production
--no-stats
# cleanup
find
"
$_artifacts
"
\(
\
-name
"ServiceUninstall.*"
-o
\
-name
"ServiceInstall.*"
-o
\
-name
"Radarr.Windows.*"
\)
-delete
# move web ui to artifacts folder
mv
"
$_output
"
/UI
"
$_artifacts
"
}
@@ -84,7 +81,7 @@ package() {
# use package_info to disable update feature
install
-Dm644
"
$srcdir
"
/package_info
"
$DESTDIR
"
/package_info
echo
"PackageVersion=
$pkgver
-
$pkgrel
"
>>
"
$DESTDIR
"
/package_info
echo
"PackageVersion=
$pkgver
-
r
$pkgrel
"
>>
"
$DESTDIR
"
/package_info
cp
-af
"
$_artifacts
"
"
$DESTDIR
"
/bin
# use ffprobe from ffmpeg package
@@ -96,9 +93,9 @@ package() {
}
sha512sums
=
"
88fd4819fce8ee34c8c9a48179daed6b1ac9a11733dcf526231451683a701b5b70eefb5624ba4e8390c52b7b1c61297350e9894143a3fe9431d27c585ae98e96
radarr-4.
4.4.706
8.tar.gz
cdf15d753450c6c33d7d6607b6b71073726ad973d03b7a7fc3ad47ed9caf37d0ac63d40d4b9dc7dd92c4476281247d63e433bd404170902749c77eb3b6a1e7fb
radarr-4.
5.2.738
8.tar.gz
753520379a6c5f2899b4ddfd820d5573598a32cb105f74c6fd978a3f2c98895cf709ef2d9afe2bae8c4856da86cb6a1364f5713ea7ef6a36bb21b5a5840c1471 0001-disable-restart.patch
adf0b
73
8
3a
8c026f7ae2a3db360b0b500d7723b5045e4cd315663c883b52c20b908e82022a7a079068f24bee5e1061248f3c915ce5fc71240d3a11ecdbec5f2f
radarr.initd
651659825a99c06d57b7042ee5cf248308a13a2d4d7fad099fe6ee0ffa7ab4469191998710eb2c9aa9917c50058a2209fd4cdf3b10f4de434d00703479ecc9bd
radarr.confd
b5d3151a8b5
73
e
3a
f96a6ffb73b1f5db39f442794c9b8732b72fb92e65f6877a2be647cd10710b11f2d10457e91f34b361edeadf82e338932b3818b507163202
radarr.initd
7fcb3ce59881fd224f4b96c20f5b665cdc202a0ce57d87ced21b8026975a96232e4a10cd96ec704bf7338bc88f1d07046533cce382ffaf352b00c31f56c27597
radarr.confd
67c4dd1cf8259296d994c350dfd3962d23333071889ce0b4ef6b2f4cbb4349490c5dbe4dcc202c99bab7a5c4b7611be56d7c8835b2b13924526c45311db1c3fb package_info
"
Loading