ts-pkgx
Version:
A library & CLI for managing packages
77 lines • 2.82 kB
TypeScript
/**
* **scrcpy** - Display and control your Android device
*
* @domain `github.com/Genymobile/scrcpy`
* @programs `scrcpy`
* @version `3.3.1` (16 versions available)
* @versions From newest version to oldest.
*
* @install `launchpad install scrcpy`
* @name `scrcpy`
* @dependencies `ffmpeg.org`, `libusb.info`, `libsdl.org`, ... (+3 more) (includes OS-specific dependencies with `os:package` format)
*
* @example
* ```typescript
* import { pantry } from 'ts-pkgx'
*
* // Access the package
* const pkg = pantry.scrcpy
* // Or access via domain
* const samePkg = pantry.githubcomgenymobilescrcpy
* console.log(pkg === samePkg) // true
* console.log(pkg.name) // "scrcpy"
* console.log(pkg.description) // "Display and control your Android device"
* console.log(pkg.programs) // ["scrcpy"]
* console.log(pkg.versions[0]) // "3.3.1" (latest)
* ```
*
* @see https://ts-pkgx.netlify.app/packages/github-com/Genymobile/scrcpy.md
* @see https://ts-pkgx.netlify.app/usage
*/
export declare const scrcpyPackage: {
/**
* The display name of this package.
*/
name: 'scrcpy';
/**
* The canonical domain name for this package.
*/
domain: 'github.com/Genymobile/scrcpy';
/**
* Brief description of what this package does.
*/
description: 'Display and control your Android device';
packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/github.com/Genymobile/scrcpy/package.yml';
homepageUrl: '';
githubUrl: 'https://github.com/pkgxdev/pantry/';
/**
* Command to install this package using launchpad.
* @example launchpad install package-name
*/
installCommand: 'launchpad install scrcpy';
/**
* Executable programs provided by this package.
* These can be run after installation.
*/
programs: readonly ['scrcpy'];
companions: readonly [];
/**
* Required dependencies for this package.
* These will be automatically installed.
* OS-specific dependencies are prefixed with `os:` (e.g., `linux:freetype.org`).
*/
dependencies: readonly ['ffmpeg.org', 'libusb.info', 'libsdl.org', 'linux:webmproject.org/libvpx<1.15.1 # since 3.3, .9 lib api', 'darwin:sourceware.org/bzip2', 'darwin:zlib.net'];
/**
* Available versions from newest to oldest.
* @see https://ts-pkgx.netlify.app/usage for installation instructions
*/
versions: readonly ['3.3.1', '3.3.0', '3.2.0', '3.1.0', '3.0.2', '3.0.1', '3.0.0', '2.7.0', '2.6.1', '2.6.0', '2.5.0', '2.4.0', '2.3.1', '2.3.0', '2.2.0', '2.1.0'];
/**
* Alternative names for this package.
* You can use any of these names to access the package.
*/
aliases: readonly [];
pkgxInstallCommand: 'sh <(curl https://pkgx.sh) scrcpy -- $SHELL -i';
launchpadInstallCommand: 'launchpad install scrcpy'
};
export type ScrcpyPackage = typeof scrcpyPackage