Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
4873fe97
Commit
4873fe97
authored
Nov 21, 2020
by
Ed Reel
Committed by
GitHub
Nov 22, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add pre-built binaries for packages d-p (#4590)
parent
ac50d26f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
63 additions
and
18 deletions
+63
-18
packages/dbus.rb
packages/dbus.rb
+8
-0
packages/obconf.rb
packages/obconf.rb
+13
-0
packages/openbox.rb
packages/openbox.rb
+34
-18
packages/pulseaudio.rb
packages/pulseaudio.rb
+8
-0
No files found.
packages/dbus.rb
View file @
4873fe97
...
...
@@ -9,8 +9,16 @@ class Dbus < Package
source_sha256
'8078f5c25e34ab907ce06905d969dc8ef0ccbec367e1e1707c7ecf8460f4254e'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/dbus-1.13.18-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/dbus-1.13.18-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/dbus-1.13.18-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/dbus-1.13.18-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'11c36243a83f99f7a2f44194ed1e8691fc5a4dd98238a067e8fa8caf53364842'
,
armv7l:
'11c36243a83f99f7a2f44194ed1e8691fc5a4dd98238a067e8fa8caf53364842'
,
i686:
'cfa8bf8ea807e3b6762a041419ffd39ce6c4888a430debb0b6a4c9aa55a63489'
,
x86_64:
'c777f379f48d88844a5f9eb1f9e38174df8645c6e76845ab0fc8f1ee58034c52'
,
})
depends_on
'expat'
...
...
packages/obconf.rb
View file @
4873fe97
...
...
@@ -8,6 +8,19 @@ class Obconf < Package
source_url
'http://openbox.org/dist/obconf/obconf-2.0.4.tar.gz'
source_sha256
'71a3e5f4ee246a27421ba85044f09d449f8de22680944ece9c471cd46a9356b9'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/obconf-2.0.4-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/obconf-2.0.4-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/obconf-2.0.4-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/obconf-2.0.4-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'e11f0fbb1d393185c455d03faef83ee21e4166afbb4e0676dd0b176a6113b9a3'
,
armv7l:
'e11f0fbb1d393185c455d03faef83ee21e4166afbb4e0676dd0b176a6113b9a3'
,
i686:
'ef68ba89facc43bdd81029ff643414d418a9ce101fa0c7023dda1c615b111972'
,
x86_64:
'269b7e861ced2a76d203881329de5ce2bddf2b48588a13d341b01e78872844fd'
,
})
depends_on
'libglade'
depends_on
'openbox'
...
...
packages/openbox.rb
View file @
4873fe97
...
...
@@ -8,6 +8,19 @@ class Openbox < Package
source_url
'http://openbox.org/dist/openbox/openbox-3.6.1.tar.xz'
source_sha256
'abe75855cc5616554ffd47134ad15291fe37ebbebf1a80b69cbde9d670f0e26d'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/openbox-3.6.1-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/openbox-3.6.1-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/openbox-3.6.1-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/openbox-3.6.1-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'0bf8f99523d3194bd04c4ae49dc6b1f01b93852d141117aae56a0c7a8f946201'
,
armv7l:
'0bf8f99523d3194bd04c4ae49dc6b1f01b93852d141117aae56a0c7a8f946201'
,
i686:
'e58f0787ecef84e8f87389c9aca8b5a35e0846a0a6b8223c01cf4ea447ac6ac6'
,
x86_64:
'f6f6b3a0fcab357ce8f7dce834e119dd87ad7770412e83890c141dfb7979e59e'
,
})
depends_on
'libev'
depends_on
'startup_notification'
depends_on
'xcb_util_cursor'
...
...
@@ -34,11 +47,11 @@ class Openbox < Package
ENV
[
'CFLAGS'
]
=
"-lX11 -lXau"
def
self
.
build
system
"./configure
#{
CREW_OPTIONS
}
"
system
"make"
system
'make'
end
def
self
.
install
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
system
'make'
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
'install'
system
"cat <<'EOF'> startopenbox
#!/bin/bash
stopsommelier
...
...
@@ -48,12 +61,12 @@ echo Starting XServer XSDL
MAX_ATTEMPTS=120 # About 60 seconds
COUNT=0
echo -n
\"
Waiting for X server to be ready...
\"
while ! xdpyinfo -display ${DISPLAY} >/dev/null 2>&1; do
while ! xdpyinfo -display
\
$
{DISPLAY} >/dev/null 2>&1; do
echo -n
\"
.
\"
sleep 0.50s
COUNT=$(( COUNT + 1 ))
if [
\"
${COUNT}
\"
-ge
\"
${MAX_ATTEMPTS}
\"
]; then
echo
\"
Gave up waiting for X server on ${DISPLAY}
\"
COUNT=
\
$
(( COUNT + 1 ))
if [
\"
\$
{COUNT}
\"
-ge
\"\
$
{MAX_ATTEMPTS}
\"
]; then
echo
\"
Gave up waiting for X server on
\
$
{DISPLAY}
\"
exit 1
fi
done
...
...
@@ -67,22 +80,25 @@ EOF"
# For Chrome OS/Chromium OS/Cloudready without android arc container support
# Use 'xinit'
system
"install -Dm755 startopenbox
#{
CREW_DEST_PREFIX
}
/bin/startopenbox"
puts
"Your cpu architecture is
`uname -m`
"
.
lightgreen
puts
"Your cpu architecture is
#{
ARCH
}
"
.
lightgreen
end
def
self
.
check
system
"make"
,
"check"
#system 'make', 'check'
end
def
self
.
postinstall
system
"echo '#!/bin/bash' > cloudready.sh"
system
"temp=
\"
echo 'pkill twm && openbox &' >> /usr/local/etc/X11/xinit/xinitrc
\"
&& echo
\"
if [[ '$(cat /etc/lsb-release | grep CHROMEOS_ARC_ANDROID_SDK_VERSION)' = '' ]]; then crew install xinit && $temp ; fi
\"
>> cloudready.sh"
system
"bash cloudready.sh"
puts
puts
"For Chrome OS/Fyde OS user:"
.
lightblue
puts
"To use this package, you need to download XServer XSDL from Google Play Store"
.
lightblue
puts
"Use 'startopenbox' instead of 'openbox' to execute this package"
.
lightblue
puts
"For Cloudready/Chromium OS user:"
.
lightblue
puts
"Use 'xinit' instead of 'openbox' to execute this package"
.
lightblue
puts
"For legacy processor user, set up XServer XSDL on phone"
.
lightblue
system
"echo '#!/bin/bash' > cloudready.sh"
system
"temp=
\"
echo 'pkill twm && openbox &' >>
#{
CREW_PREFIX
}
/etc/X11/xinit/xinitrc
\"
&& echo
\"
if [[ '$(cat /etc/lsb-release | grep CHROMEOS_ARC_ANDROID_SDK_VERSION)' = '' ]]; then crew install xinit &&
\$
temp ; fi
\"
>> cloudready.sh"
system
"bash cloudready.sh"
puts
puts
"For Chrome OS/Fyde OS user:"
.
lightblue
puts
"To use this package, you need to download XServer XSDL from Google Play Store"
.
lightblue
puts
"Use 'startopenbox' instead of 'openbox' to execute this package"
.
lightblue
puts
puts
"For Cloudready/Chromium OS user:"
.
lightblue
puts
"Use 'xinit' instead of 'openbox' to execute this package"
.
lightblue
puts
"For legacy processor user, set up XServer XSDL on phone"
.
lightblue
puts
end
end
packages/pulseaudio.rb
View file @
4873fe97
...
...
@@ -9,8 +9,16 @@ class Pulseaudio < Package
source_sha256
'2572543a7686c699654c40ec3945a598e6af50ff703f60de0446b7fbcd16ef01'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/pulseaudio-13.99.3-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/pulseaudio-13.99.3-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/pulseaudio-13.99.3-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/pulseaudio-13.99.3-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'ed785bbf45af02e5a96ed947740f1f5b055bdee39670f1006d15d6fd96876f24'
,
armv7l:
'ed785bbf45af02e5a96ed947740f1f5b055bdee39670f1006d15d6fd96876f24'
,
i686:
'0e19e15a116395b9aa52977c3cd99c9e735d70365146435d54bdd9e300df7e3c'
,
x86_64:
'f346f11c323de6019f1f1189db6398d12671db5b493b68c18b1617e177faff68'
,
})
depends_on
'gsettings_desktop_schemas'
...
...
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