LinuxPackageConfig class final

Product metadata used to build a deb or rpm.

Constructors

LinuxPackageConfig({required String name, required String displayName, required String description, required String executableName, required String appId, required String version, required LinuxArchitecture architecture, required String maintainer, required List<String> categories, required bool terminal, required List<LinuxIconAsset> icons, String release = '1', String prefix = '/usr/lib', LinuxLauncherStyle launcherStyle = LinuxLauncherStyle.symlink, String? homepage, String? license, String? vendor, String section = 'utils', String? group, List<String> depends = const <String>[], List<String> recommends = const <String>[], List<String> conflicts = const <String>[]})
Creates a Linux distribution package configuration.
const

Properties

appId → String
Reverse-DNS identifier naming the desktop entry and icons.
final
architecture → LinuxArchitecture
Target architecture.
final
categories → List<String>
Desktop entry categories.
final
conflicts → List<String>
Packages this one cannot be installed beside.
final
depends → List<String>
Hard runtime dependencies.
final
description → String
One-line package description.
final
displayName → String
Human-readable product name.
final
executableName → String
Command installed on PATH.
final
group → String?
RPM group.
final
hashCode → int
The hash code for this object.
no setterinherited
homepage → String?
Upstream homepage.
final
icons → List<LinuxIconAsset>
Icons installed into the hicolor theme.
final
installDirectory → String
Directory the payload occupies inside the package.
no setter
launcherStyle → LinuxLauncherStyle
How /usr/bin/<executable> is provided.
final
license → String?
SPDX license identifier, required by rpm.
final
maintainer → String
Package maintainer, as Name <email>.
final
name → String
Package name.
final
prefix → String
Directory the payload is installed under.
final
recommends → List<String>
Optional runtime dependencies.
final
release → String
Packaging revision, reset whenever version changes.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
section → String
Debian section.
final
terminal → bool
Whether the desktop entry launches in a terminal.
final
vendor → String?
Package vendor.
final
version → String
Package version without build metadata.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited