Skip to content

Commit

Permalink
add: umu-launcher-git
Browse files Browse the repository at this point in the history
  • Loading branch information
villamorrd committed Dec 30, 2024
1 parent e841346 commit 135d958
Show file tree
Hide file tree
Showing 5 changed files with 141 additions and 0 deletions.
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,7 @@ typora-deb
u-boot-mobian-deb
ugee-tablet-driver-deb
ulauncher-deb
umu-launcher-git
ungoogled-chromium-deb
unicons-git
unicorn-desktop-git
Expand Down
27 changes: 27 additions & 0 deletions packages/umu-launcher-git/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
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
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 $(@)

52 changes: 52 additions & 0 deletions packages/umu-launcher-git/umu-launcher-git.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
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"
)
gives="umu-launcher"
pkgdesc="A tool for launching non-steam games with Proton"
maintainer=("villamorrd <[email protected]>")
license=('GPL-3.0-only')

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
}
28 changes: 28 additions & 0 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -11629,6 +11629,34 @@ 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
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-deb
gives = ungoogled-chromium
pkgver = 130.0.6723.91-stable1
Expand Down

0 comments on commit 135d958

Please sign in to comment.