Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add: umu-launcher-git #6776

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,7 @@ ufetch-debian
ufetch-ubuntu
ugee-tablet-driver-deb
ulauncher-deb
umu-launcher-git
ungoogled-chromium-bin
ungoogled-chromium-deb
unicons-git
Expand Down
29 changes: 29 additions & 0 deletions packages/umu-launcher-git/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
pkgbase = umu-launcher-git
gives = umu-launcher
pkgver = 1.1.4
pkgdesc = A tool for launching non-steam games with Proton
url = https://github.com/Open-Wine-Components/umu-launcher
arch = all
depends = python3
depends = python3-xlib>=0.33
depends = python3-six
depends = python3-filelock
depends = python3-urllib3>=2.0.0
depends = apparmor-profiles
makedepends = git
makedepends = scdoc
makedepends = python3-pip
makedepends = python3-build
makedepends = python3-hatchling
makedepends = python3-installer
makedepends = cargo
pacdeps = rust-bin
license = GPL-3.0-only
maintainer = villamorrd <[email protected]>
repology = project: umu-launcher
source = https://github.com/Open-Wine-Components/umu-launcher.git
source = Makefile.patch
sha256sums = SKIP
sha256sums = 26fde7fb612543ff26ec1937c2e8281bc0234bc6a11f7aea37b94daba967a472

pkgname = umu-launcher-git
33 changes: 33 additions & 0 deletions packages/umu-launcher-git/Makefile.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
diff --git a/Makefile.in b/Makefile.in
index 9324abc..83cf710 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -21,7 +21,7 @@ FLATPAK ?= xfalse

.PHONY: all
ifeq ($(FLATPAK), xtrue)
-all: umu-dist umu-launcher umu-vendored
+all: umu-dist umu-launcher
endif

.PHONY: install
@@ -30,8 +30,8 @@ SOURCE_DATE_EPOCH = $(shell LC_ALL=C date --date='@1580601600')
all: zipapp
install: zipapp-install
else
-all: umu-dist umu-docs umu-launcher umu-vendored
-install: umu-install umu-launcher-install umu-vendored-install
+all: umu-dist umu-docs umu-launcher
+install: umu-install umu-launcher-install
endif


@@ -121,7 +121,7 @@ clean:
@rm -rf -v ./$(RELEASEDIR) $(RELEASEDIR).tar.gz


-RELEASEDIR := $(PROJECT)-$(shell git describe --abbrev=0)
+RELEASEDIR := $(PROJECT)-$(shell git describe --abbrev=0 --always)
$(RELEASEDIR):
mkdir -p $(@)

55 changes: 55 additions & 0 deletions packages/umu-launcher-git/umu-launcher-git.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
pkgname="umu-launcher-git"
repology=("project: umu-launcher")
arch=('all')
pkgver="1.1.4"
url='https://github.com/Open-Wine-Components/umu-launcher'
source=(
"https://github.com/Open-Wine-Components/umu-launcher.git"
"Makefile.patch"
)
sha256sums=(
'SKIP'
"26fde7fb612543ff26ec1937c2e8281bc0234bc6a11f7aea37b94daba967a472"
)
depends=(
"python3"
"python3-xlib>=0.33"
"python3-six"
"python3-filelock"
"python3-urllib3>=2.0.0"
"apparmor-profiles"
)
makedepends=(
"git"
"scdoc"
"python3-pip"
"python3-build"
"python3-hatchling"
"python3-installer"
"cargo"
)
pacdeps=("rust-bin")
gives="umu-launcher"
pkgdesc="A tool for launching non-steam games with Proton"
maintainer=("villamorrd <[email protected]>")
license=('GPL-3.0-only')
external_connection=true
villamorrd marked this conversation as resolved.
Show resolved Hide resolved

prepare() {
cd "${gives}"
./configure.sh --prefix=/usr

# Apply Makefile patch to remove vendored dependency installation.
# See: https://github.com/Open-Wine-Components/umu-launcher/issues/296
patch Makefile.in "${srcdir}"/Makefile.patch
}

build() {
cd "${gives}"
make -j"${NCPU}"
}

package() {
cd "${gives}"
make DESTDIR="${pkgdir}" install
}
30 changes: 30 additions & 0 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -12003,6 +12003,36 @@ pkgbase = ulauncher-deb

pkgname = ulauncher-deb
---
pkgbase = umu-launcher-git
gives = umu-launcher
pkgver = 1.1.4
pkgdesc = A tool for launching non-steam games with Proton
url = https://github.com/Open-Wine-Components/umu-launcher
arch = all
depends = python3
depends = python3-xlib>=0.33
depends = python3-six
depends = python3-filelock
depends = python3-urllib3>=2.0.0
depends = apparmor-profiles
makedepends = git
makedepends = scdoc
makedepends = python3-pip
makedepends = python3-build
makedepends = python3-hatchling
makedepends = python3-installer
makedepends = cargo
pacdeps = rust-bin
license = GPL-3.0-only
maintainer = villamorrd <[email protected]>
repology = project: umu-launcher
source = https://github.com/Open-Wine-Components/umu-launcher.git
source = Makefile.patch
sha256sums = SKIP
sha256sums = 26fde7fb612543ff26ec1937c2e8281bc0234bc6a11f7aea37b94daba967a472

pkgname = umu-launcher-git
---
pkgbase = ungoogled-chromium-bin
gives = ungoogled-chromium
pkgver = 131.0.6778.139-1
Expand Down
Loading