Commit 1900c2e7 authored by James Larrowe's avatar James Larrowe Committed by Ed Reel

Add wl_clipboard package (#3446)

This package provides native integration with the
Chrome OS clipboard via. the built-in Wayland server.
parent 98cb2a84
require 'package'
class Wl_clipboard < Package
description 'Command-line copy/paste utilities for Wayland'
homepage 'https://github.com/bugaevc/wl-clipboard.git'
version 'c0109' # Yes, I know, not the greatest version number,
# but it has fixes that 1.0.0 doesn't have yet.
source_url 'https://github.com/bugaevc/wl-clipboard/archive/c0109.tar.gz'
source_sha256 '3c7815986bb43c49912e1b64fb447bc31a80aa1326471dd575123ed6cd86e6be'
binary_url ({
})
binary_sha256 ({
})
depends_on 'wayland_protocols' # xdg-shell support, depends on wayland
depends_on 'xdg_utils' # content type inference in wl-copy
def self.build
system 'meson', 'build'
system 'ninja', '-C', 'build'
end
def self.install
# Meson and Ninja sadly do not support a command-line
# argument for this like Make does
ENV['DESTDIR'] = CREW_DEST_DIR
system 'ninja', '-C', 'build', 'install'
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment