-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
main/system-config-printer: new package (1.5.18)
- Loading branch information
Showing
2 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- a/Makefile.am 2022-08-30 16:20:07.000000000 +0100 | ||
+++ b/Makefile.am 2024-02-28 23:56:38.523125518 +0000 | ||
@@ -59,11 +59,11 @@ | ||
|
||
# Use distutils to build the module. | ||
all-local: .stamp-distutils-in-builddir config.py cupshelpers/config.py | ||
- $(PYTHON) setup.py build | ||
+ $(PYTHON) -m build --wheel --no-isolation . | ||
|
||
# Use distutils to install the module. | ||
install-exec-local: .stamp-distutils-in-builddir | ||
- $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix) | ||
+ $(PYTHON) -m installer --compile-bytecode 0 --destdir "$(DESTDIR)" $(top_srcdir)/build/dist/cupshelpers-1.0-py3-none-any.whl | ||
|
||
# Uninstall the module, crossing our fingers that we know enough | ||
# about how distutils works to do this. Unfortunately, distutils |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
pkgname = "system-config-printer" | ||
pkgver = "1.5.18" | ||
pkgrel = 0 | ||
build_style = "gnu_configure" | ||
make_cmd = "gmake" | ||
hostmakedepends = [ | ||
"autoconf-archive", | ||
"automake", | ||
"desktop-file-utils", | ||
"gettext-devel", | ||
"gmake", | ||
"libxml2-progs", | ||
"pkgconf", | ||
"python-build", | ||
"python-installer", | ||
"python-setuptools", | ||
"python-wheel", | ||
"xmlto", | ||
] | ||
makedepends = ["cups-devel", "glib-devel", "libusb-devel", "udev-devel"] | ||
depends = [ | ||
"gdk-pixbuf", | ||
"gtk+3", | ||
"libhandy", | ||
"libnotify", | ||
"libsecret", | ||
"python-cairo", | ||
"python-dbus", | ||
"python-gobject", | ||
"python-pycups", | ||
] | ||
pkgdesc = "Graphical user interface for CUPS administration" | ||
maintainer = "triallax <triallax@tutanota.com>" | ||
license = "GPL-2.0-or-later" | ||
url = "https://github.com/OpenPrinting/system-config-printer" | ||
source = ( | ||
f"{url}/releases/download/v{pkgver}/system-config-printer-{pkgver}.tar.xz" | ||
) | ||
sha256 = "b1a69e1b4ec2add569a87aeca811a37c5361ee6ae327ec852b79e64223e34bee" | ||
|
||
|
||
def post_install(self): | ||
self.mv( | ||
self.destdir / "etc/dbus-1/system.d", | ||
self.destdir / "usr/share/dbus-1/system.d", | ||
) |