mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
gui-apps/hyprlock: cleanup deps, phase
- it depends on wayland-egl, not (nvidia-)egl-wayland - it doesn't depend on hyprland (works with sway) - CMAKE_BUILD_TYPE is controlled by eclass Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
parent
9e2c7c8071
commit
15025c34ce
@ -13,8 +13,6 @@ if [[ "${PV}" = *9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/hyprwm/${PN^}.git"
|
||||
else
|
||||
SRC_URI="https://github.com/hyprwm/${PN^}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${PV}"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
@ -22,19 +20,17 @@ LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/date
|
||||
dev-libs/wayland
|
||||
gui-libs/egl-wayland
|
||||
media-libs/mesa[opengl]
|
||||
sys-libs/pam
|
||||
>=gui-wm/hyprland-0.35.0
|
||||
dev-libs/glib
|
||||
dev-libs/glib:2
|
||||
>=dev-libs/hyprlang-0.4.0
|
||||
media-libs/libglvnd
|
||||
x11-libs/cairo
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/libdrm
|
||||
x11-libs/pango
|
||||
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
@ -42,8 +38,7 @@ DEPEND="
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
dev-build/cmake
|
||||
dev-libs/date
|
||||
dev-util/wayland-scanner
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
@ -51,15 +46,3 @@ PATCHES=(
|
||||
"${FILESDIR}/0001-fix-CFLAGS-CXXFLAGS-hyprlock.patch"
|
||||
"${FILESDIR}/0002-cmake-install-pam-file-fix.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_BUILD_TYPE:STRING=Release
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
}
|
@ -13,8 +13,6 @@ if [[ "${PV}" = *9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/hyprwm/${PN^}.git"
|
||||
else
|
||||
SRC_URI="https://github.com/hyprwm/${PN^}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${PV}"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
@ -22,19 +20,17 @@ LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/date
|
||||
dev-libs/wayland
|
||||
gui-libs/egl-wayland
|
||||
media-libs/mesa[opengl]
|
||||
sys-libs/pam
|
||||
>=gui-wm/hyprland-0.35.0
|
||||
dev-libs/glib
|
||||
dev-libs/glib:2
|
||||
>=dev-libs/hyprlang-0.4.0
|
||||
media-libs/libglvnd
|
||||
x11-libs/cairo
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/libdrm
|
||||
x11-libs/pango
|
||||
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
@ -42,8 +38,7 @@ DEPEND="
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
dev-build/cmake
|
||||
dev-libs/date
|
||||
dev-util/wayland-scanner
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
@ -51,15 +46,3 @@ PATCHES=(
|
||||
"${FILESDIR}/0001-fix-CFLAGS-CXXFLAGS-hyprlock.patch"
|
||||
"${FILESDIR}/0002-cmake-install-pam-file-fix.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_BUILD_TYPE:STRING=Release
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user