mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
x11-misc/exit-options: new package, add 20250830
Signed-off-by: dsaf <ghostyn678+git@gmail.com>
This commit is contained in:
1
x11-misc/exit-options/Manifest
Normal file
1
x11-misc/exit-options/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST exit-options-20250830.tar.gz 443706 BLAKE2B 417836c4f41c0c9f92e70a2b5dccc0f3182118a0720727aec8df54cb94d584323cd62828703abaa275a3277f3f135f5074bed7592e61088244bd1bdfc9401eb6 SHA512 6d3d9fc7a1e90b0eea79a4435f709c425d7a6a29138fe53408b5c6e4c3df6e0b6a42f76601b64d7189bb9d172b90c3c0c0a582a272b0fc4dc43c13154ec84794
|
||||
66
x11-misc/exit-options/exit-options-20250830.ebuild
Normal file
66
x11-misc/exit-options/exit-options-20250830.ebuild
Normal file
@@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
COMMIT="d3a0c92d9ca232860680165271bc78be111c6961"
|
||||
|
||||
inherit cmake xdg
|
||||
|
||||
DESCRIPTION="Pop-up with exit options for MX Fluxbox"
|
||||
HOMEPAGE="https://github.com/MX-Linux/exit-options"
|
||||
SRC_URI="https://github.com/MX-Linux/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="
|
||||
dev-qt/qtbase:6[gui,widgets]
|
||||
dev-qt/qttools:6[linguist]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
dev-build/cmake
|
||||
dev-build/ninja
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/"${PN}"-cmake.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON
|
||||
-DNO_DEBUG_ON_CONSOLE=ON
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
einstalldocs
|
||||
|
||||
# debian/install ...
|
||||
|
||||
insinto /usr/share/"${PN}"/conf
|
||||
doins configs_alt/*
|
||||
|
||||
insinto /etc/
|
||||
doins "${PN}".conf
|
||||
|
||||
insinto /usr/share/"${PN}"
|
||||
doins -r icons/*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
}
|
||||
27
x11-misc/exit-options/files/exit-options-cmake.patch
Normal file
27
x11-misc/exit-options/files/exit-options-cmake.patch
Normal file
@@ -0,0 +1,27 @@
|
||||
remove debian specific stuff
|
||||
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -22,21 +22,8 @@
|
||||
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
-# Get version from debian/changelog
|
||||
-execute_process(
|
||||
- COMMAND dpkg-parsechangelog -SVersion
|
||||
- WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||
- OUTPUT_VARIABLE PROJECT_VERSION_FROM_CHANGELOG
|
||||
- OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
- RESULT_VARIABLE DPKG_RESULT
|
||||
-)
|
||||
-
|
||||
-if(NOT DPKG_RESULT EQUAL 0)
|
||||
- message(FATAL_ERROR "Failed to get version from debian/changelog using dpkg-parsechangelog")
|
||||
-endif()
|
||||
-
|
||||
project(exit-options
|
||||
- VERSION ${PROJECT_VERSION_FROM_CHANGELOG}
|
||||
+ VERSION 9.9.9.9
|
||||
DESCRIPTION "Exit Options dialog for MX Fluxbox"
|
||||
LANGUAGES CXX
|
||||
)
|
||||
11
x11-misc/exit-options/metadata.xml
Normal file
11
x11-misc/exit-options/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>ghostyn678+git@gmail.com</email>
|
||||
<name>dsaf</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">MX-Linux/exit-options</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user