initial commit

This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2024-07-01 21:39:31 +03:00 committed by GitHub
parent 2df2ff7c18
commit 53e310d0b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 19 additions and 116 deletions

74
debian/changelog vendored
View File

@ -1,76 +1,4 @@
xdg-desktop-portal-hyprland (1.2.2-100pika1) pikauwu; urgency=medium hyprcursor (0.1.9-100pika1) pikauwu; urgency=medium
* New upstream release
-- ferreo <harderthanfire@gmail.com> Wed, 18 Jan 2023 21:48:14 +0000
xdg-desktop-portal-hyprland (1.1.0-100pika1) pikauwu; urgency=medium
* New upstream release
-- ferreo <harderthanfire@gmail.com> Wed, 18 Jan 2023 21:48:14 +0000
xdg-desktop-portal-hyprland (0.5.0-99pika1) lunar; urgency=medium
* New upstream release
-- ferreo <harderthanfire@gmail.com> Wed, 18 Jan 2023 21:48:14 +0000
xdg-desktop-portal-hyprland (0.4.0-99pika10) lunar; urgency=medium
* Fix conflicts
-- ferreo <harderthanfire@gmail.com> Wed, 18 Jan 2023 21:48:14 +0000
xdg-desktop-portal-hyprland (0.4.0-99pika9) lunar; urgency=medium
* Fix conflicts
-- ferreo <harderthanfire@gmail.com> Wed, 18 Jan 2023 21:48:14 +0000
xdg-desktop-portal-hyprland (0.4.0-99pika8) lunar; urgency=medium
* Fix conflicts
-- ferreo <harderthanfire@gmail.com> Wed, 18 Jan 2023 21:48:14 +0000
xdg-desktop-portal-hyprland (0.4.0-99pika7) lunar; urgency=medium
* Fix conflicts
-- ferreo <harderthanfire@gmail.com> Wed, 18 Jan 2023 21:48:14 +0000
xdg-desktop-portal-hyprland (0.4.0-99pika6) lunar; urgency=medium
* Fix install
-- ferreo <harderthanfire@gmail.com> Wed, 18 Jan 2023 21:48:14 +0000
xdg-desktop-portal-hyprland (0.4.0-99pika5) lunar; urgency=medium
* Fix deps
-- ferreo <harderthanfire@gmail.com> Wed, 18 Jan 2023 21:48:14 +0000
xdg-desktop-portal-hyprland (0.4.0-99pika4) lunar; urgency=medium
* Include share picker
-- ferreo <harderthanfire@gmail.com> Wed, 18 Jan 2023 21:48:14 +0000
xdg-desktop-portal-hyprland (0.4.0-99pika3) lunar; urgency=medium
* Include share picker
-- ferreo <harderthanfire@gmail.com> Wed, 18 Jan 2023 21:48:14 +0000
xdg-desktop-portal-hyprland (0.4.0-99pika2) lunar; urgency=medium
* Initial release.
-- ferreo <harderthanfire@gmail.com> Wed, 18 Jan 2023 21:48:14 +0000
xdg-desktop-portal-hyprland (0.4.0-99pika1) lunar; urgency=medium
* Initial release. * Initial release.

27
debian/control vendored
View File

@ -1,27 +1,15 @@
Source: xdg-desktop-portal-hyprland Source: hyprcursor
Section: main Section: main
Priority: optional Priority: optional
Maintainer: ferrreo <harderthanfire@gmail.com> Maintainer: ferrreo <harderthanfire@gmail.com>
Standards-Version: 4.6.1 Standards-Version: 4.6.1
Build-Depends: debhelper-compat (= 13), Build-Depends: debhelper-compat (= 13),
qt6-base-dev,
qt6-wayland-dev,
meson,
build-essential, build-essential,
ninja-build,
libpipewire-0.3-dev,
cmake-extras, cmake-extras,
libgbm-dev,
libdrm-dev,
cmake, cmake,
wayland-protocols,
uuid-dev,
libinih-dev,
libsystemd-dev,
libsdbus-c++-dev,
Rules-Requires-Root: no Rules-Requires-Root: no
Package: xdg-desktop-portal-hyprland Package: libhyprcursor
Architecture: linux-any Architecture: linux-any
Depends: Depends:
${shlibs:Depends}, ${shlibs:Depends},
@ -29,13 +17,14 @@ Depends:
hyprland, hyprland,
qt6-wayland, qt6-wayland,
xdg-desktop-portal, xdg-desktop-portal,
Provides: xdg-desktop-portal-hyprland, xdg-desktop-portal-backend (= 1.7.1) Provides: hyprcursor (= ${binary:Version}),
Description: Desktop portal for hyprland Description: The hyprland cursor format, library and utilities.
Package: xdg-desktop-portal-hyprland-dev Package: libhyprcursor-dev
Architecture: linux-any Architecture: linux-any
Depends: Depends:
${shlibs:Depends}, ${shlibs:Depends},
${misc:Depends}, ${misc:Depends},
xdg-desktop-portal-hyprland (= ${binary:Version}), libhyprcursor (= ${binary:Version}),
Description: Development files for Desktop portal for hyprland Provides: hyprcursor-dev (= ${binary:Version}),
Description: Development files for The hyprland cursor format, library and utilities.

1
debian/libhyprcursor-dev.install vendored Normal file
View File

@ -0,0 +1 @@
/usr/share/pkgconfig/hyprcursor.pc

26
debian/rules vendored
View File

@ -13,7 +13,7 @@ SHARE = /usr/share
srcdir = $(shell debian/scripts/get_pwd.sh) srcdir = $(shell debian/scripts/get_pwd.sh)
## If building a singular package you can remove the number, and as you guessed you call upon it with $(pkgdir) ## If building a singular package you can remove the number, and as you guessed you call upon it with $(pkgdir)
pkgdir = $(srcdir)/debian/xdg-desktop-portal-hyprland pkgdir = $(srcdir)/debian/hyprwayland-scanner
## === End end of region === ## === End end of region ===
@ -59,33 +59,17 @@ srcdir = $(shell debian/scripts/get_pwd.sh)
## Note : overrides must be places above %: ## Note : overrides must be places above %:
## So here's a few examples: ## So here's a few examples:
override_dh_build:
make all
## overriding dh_clean to make it not delete rust vendor files: ## overriding dh_clean to make it not delete rust vendor files:
#override_dh_clean: #override_dh_clean:
# echo "disabled" # echo "disabled"
## overriding dh_auto_configure to add custom configs: ## overriding dh_auto_configure to add custom configs:
#override_dh_auto_configure: override_dh_auto_configure:
# $(srcdir)/configure -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_DATADIR=/usr/share -DCMAKE_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu -DBUILD_PLUGIN=OFF cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu -B build
cmake --build build --config Release --target all
## overriding dh_install to install files to a package:
override_dh_auto_install:
override_dh_install: override_dh_install:
mkdir -p $(pkgdir)/${LIBEXEC} DESTDIR=$(pkgdir) cmake --install build
mkdir -p $(pkgdir)/${SHARE}
mkdir -p $(pkgdir)/usr/bin
mkdir -p $(pkgdir)/${SHARE}/dbus-1/services
mkdir -p $(pkgdir)/${LIBEXEC}/systemd/user
mkdir -p $(pkgdir)/${SHARE}/xdg-desktop-portal/portals
cp -f $(srcdir)/build/hyprland-share-picker/hyprland-share-picker $(pkgdir)/usr/bin/hyprland-share-picker
cp -f $(srcdir)/build/xdg-desktop-portal-hyprland $(pkgdir)/${LIBEXEC}/xdg-desktop-portal-hyprland
cp -f $(srcdir)/hyprland.portal $(pkgdir)/${SHARE}/xdg-desktop-portal/portals/hyprland.portal
sed "s|@libexecdir@|${LIBEXEC}|g" $(srcdir)/org.freedesktop.impl.portal.desktop.hyprland.service.in > $(pkgdir)/${SHARE}/dbus-1/services/org.freedesktop.impl.portal.desktop.hyprland
sed "s|@libexecdir@|${LIBEXEC}|g" $(srcdir)/contrib/systemd/xdg-desktop-portal-hyprland.service.in > $(pkgdir)/${LIBEXEC}/systemd/user/xdg-desktop-portal-hyprland.service
chmod 755 $(pkgdir)/${LIBEXEC}/xdg-desktop-portal-hyprland
## === End end of region === ## === End end of region ===
## This here will start the build: ## This here will start the build:

View File

@ -1 +0,0 @@
/usr/share/pkgconfig/hyprland-protocols.pc

View File

@ -2,11 +2,13 @@
DEBIAN_FRONTEND=noninteractive DEBIAN_FRONTEND=noninteractive
set -e
apt-get update apt-get update
# Clone Upstream # Clone Upstream
git clone --recurse-submodules https://github.com/hyprwm/xdg-desktop-portal-hyprland.git -b v1.2.2 git clone --recurse-submodules https://github.com/hyprwm/hyprcursor -b v0.1.9
cd xdg-desktop-portal-hyprland cd hyprcursor
cp -rvf ../debian ./ cp -rvf ../debian ./
# Get build deps # Get build deps