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
d2b1242f
Commit
d2b1242f
authored
Feb 11, 2021
by
satmandu
Committed by
GitHub
Feb 11, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create wmctrl.rb (#5116)
* Create wmctrl.rb * make suggested changes
parent
518a7399
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
0 deletions
+46
-0
packages/wmctrl.rb
packages/wmctrl.rb
+46
-0
No files found.
packages/wmctrl.rb
0 → 100644
View file @
d2b1242f
require
'package'
class
Wmctrl
<
Package
description
'Control your EWMH compliant window manager from command line'
homepage
'http://tripie.sweb.cz/utils/wmctrl/'
@_ver
=
'1.07'
version
@_ver
compatibility
'all'
source_url
"http://tripie.sweb.cz/utils/wmctrl/dist/wmctrl-
#{
@_ver
}
.tar.gz"
source_sha256
'd78a1efdb62f18674298ad039c5cbdb1edb6e8e149bb3a8e3a01a4750aa3cca9'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/wmctrl-1.07-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/wmctrl-1.07-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/wmctrl-1.07-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/wmctrl-1.07-chromeos-x86_64.tar.xz'
})
binary_sha256
({
aarch64:
'1119d1b966ce30181f6ae4bf8ccd5d5f50d44fb7cf4de26444dc135347239358'
,
armv7l:
'1119d1b966ce30181f6ae4bf8ccd5d5f50d44fb7cf4de26444dc135347239358'
,
i686:
'23f14ca9583c1ae9d4fa8de2654fb452ee72f980866eb42aa3e8a45794426f9a'
,
x86_64:
'a501256720922d44fba60583c79d71f88201fbf563f538ed087475a00169ab1b'
})
depends_on
'libxmu'
def
self
.
patch
# Debian patch
patch_url
=
'http://archive.debian.org/debian/pool/main/w/wmctrl/wmctrl_1.07-6.diff.gz'
patch_sha256
=
'c6560ba645652eab0b16d46c9dbd8e5c9881c1f9d3ac6fa3da2ee3c865b5e6a0'
system
(
'curl'
,
'-Lf'
,
patch_url
,
'-o'
,
'patch.gz'
)
abort
'Checksum mismatch :/ try again'
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
'./patch.gz'
))
==
patch_sha256
system
'zcat patch.gz | patch -p1'
end
def
self
.
build
system
"env CFLAGS='-pipe -flto=auto' CXXFLAGS='-pipe -flto=auto' LDFLAGS='-flto=auto' \
./configure
#{
CREW_OPTIONS
}
"
system
'make'
end
def
self
.
install
system
"DESTDIR=
#{
CREW_DEST_DIR
}
make install"
end
end
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