Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
W
Wechat Uos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
3rdeye
Wechat Uos
Commits
ec49257e
Commit
ec49257e
authored
Feb 20, 2021
by
DuckSoft
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refining packages
fixed permission problem fixed icon size problem
parent
e94dd78d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
7 deletions
+26
-7
.SRCINFO
.SRCINFO
+2
-1
PKGBUILD
PKGBUILD
+24
-6
No files found.
.SRCINFO
View file @
ec49257e
pkgbase = wechat-uos
pkgbase = wechat-uos
pkgdesc = UOS专业版微信 (迫真魔改版)
pkgdesc = UOS专业版微信 (迫真魔改版)
pkgver = 2.0.0
pkgver = 2.0.0
pkgrel = 11451419
pkgrel = 11451419
19
epoch = 2
epoch = 2
url = https://www.chinauos.com/resource/download-professional
url = https://www.chinauos.com/resource/download-professional
arch = x86_64
arch = x86_64
license = MIT
license = MIT
makedepends = imagemagick
depends = gtk2
depends = gtk2
depends = gtk3
depends = gtk3
depends = libxss
depends = libxss
...
...
PKGBUILD
View file @
ec49257e
...
@@ -6,11 +6,12 @@
...
@@ -6,11 +6,12 @@
pkgname
=
wechat-uos
pkgname
=
wechat-uos
pkgver
=
2.0.0
pkgver
=
2.0.0
epoch
=
2
epoch
=
2
pkgrel
=
11451419
pkgrel
=
11451419
19
pkgdesc
=
"UOS专业版微信 (迫真魔改版)"
pkgdesc
=
"UOS专业版微信 (迫真魔改版)"
arch
=(
x86_64
)
arch
=(
x86_64
)
url
=
https://www.chinauos.com/resource/download-professional
url
=
https://www.chinauos.com/resource/download-professional
depends
=(
gtk2 gtk3 libxss gconf nss lsb-release bubblewrap
)
depends
=(
gtk2 gtk3 libxss gconf nss lsb-release bubblewrap
)
makedepends
=(
imagemagick
)
license
=(
MIT
)
license
=(
MIT
)
source
=(
source
=(
"https://cdn-package-store6.deepin.com/appstore/pool/appstore/c/com.qq.weixin/com.qq.weixin_
${
pkgver
}
-
${
epoch
}
_amd64.deb"
"https://cdn-package-store6.deepin.com/appstore/pool/appstore/c/com.qq.weixin/com.qq.weixin_
${
pkgver
}
-
${
epoch
}
_amd64.deb"
...
@@ -23,16 +24,33 @@ b2sums=('2162919d00fcf133eb17ce4098c6c4a067424727adf06b1558eaeec79a68b3ab638860a
...
@@ -23,16 +24,33 @@ b2sums=('2162919d00fcf133eb17ce4098c6c4a067424727adf06b1558eaeec79a68b3ab638860a
'13f84de388ff2c20f9e7c42b773e8dbd63da473851690ce37cb80966e2fac0843933d0d561c7c5f8918e456f56db9a66b82cbd5952b056a954b519ef76826ed2'
)
'13f84de388ff2c20f9e7c42b773e8dbd63da473851690ce37cb80966e2fac0843933d0d561c7c5f8918e456f56db9a66b82cbd5952b056a954b519ef76826ed2'
)
prepare
()
{
prepare
()
{
msg2
"Decompressing Debian Package..."
bsdtar
-xf
data.tar.xz
bsdtar
-xf
data.tar.xz
msg2
"Patching Incorrect Size Icons..."
for
s
in
128 64 48 16
;
do
local
newsize
=
"
${
s
}
x
${
s
}
"
echo
"Downsampling from 256x256 to
$newsize
..."
convert
-geometry
$newsize
\
$srcdir
/opt/apps/com.qq.weixin/entries/icons/hicolor/256x256/apps/wechat.png
\
$srcdir
/opt/apps/com.qq.weixin/entries/icons/hicolor/
$newsize
/apps/wechat.png
done
}
}
package
()
{
package
()
{
mkdir
-p
$pkgdir
/opt/wechat-uos
$pkgdir
/usr/share/icons
msg2
"Copying Application Binaries..."
mkdir
-p
$pkgdir
/opt/wechat-uos
cp
-at
$pkgdir
/opt/wechat-uos
$srcdir
/opt/apps/com.qq.weixin/files/
*
cp
-at
$pkgdir
/opt/wechat-uos
$srcdir
/opt/apps/com.qq.weixin/files/
*
install
-Dm644
$srcdir
/usr/lib/license/libuosdevicea.so
-t
$pkgdir
/usr/lib/license/
msg2
"Copying Patched Icons..."
mkdir
-p
$pkgdir
/usr/share/icons
cp
-at
$pkgdir
/usr/share/icons
$srcdir
/opt/apps/com.qq.weixin/entries/icons/hicolor
cp
-at
$pkgdir
/usr/share/icons
$srcdir
/opt/apps/com.qq.weixin/entries/icons/hicolor
install
-Dm755
-t
$pkgdir
/usr/bin/ wechat-uos
msg2
"Linking Binaries..."
install
-Dm644
-t
$pkgdir
/opt/wechat-uos/crap/ uos-lsb uos-release
install
-Dm755
wechat-uos
-t
$pkgdir
/usr/bin/
install
-Dm755
-t
$pkgdir
/usr/share/applications/ wechat-uos.desktop
install
-Dm755
-t
$pkgdir
/usr/lib/license/
$srcdir
/usr/lib/license/libuosdevicea.so
msg2
"Creating Desktops and Hacks..."
install
-Dm644
uos-lsb uos-release
-t
$pkgdir
/opt/wechat-uos/crap/
install
-Dm644
wechat-uos.desktop
-t
$pkgdir
/usr/share/applications/
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment