mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-15 18:13:10 -04:00
Merge updates from master
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST wt-4.10.4.tar.gz 10449928 BLAKE2B 19516d506612590fda1ba626487631397102c5634772e3435a911470d85da42803885368996a59a816400eaf623baad07dccd23c9fe769c6965b27372575aa23 SHA512 f41efec1e77bd76f6f66ffb4ff38c98cfc590debb194682e3c6eb3f7b4366c30f8e2bbc16f4c33faa45f6f49d28812215538d20f4abc6c4dc3a226ae9b10ac71
|
||||
DIST wt-4.11.0.tar.gz 10562160 BLAKE2B 5238f279c8899d976ce03b7840a4600bd22e54c8aede1cb908e3949278e61778361ccd67e3ea065f90875c15acad89553a87972078bb983857b871520ccf6669 SHA512 b437d822793261e57bb3a6024ec3fd06a7080ff053bc587e9e89f8d24c010158991827f925f0b59d43371aeeebdfc53983abd29a6c46ecf46b67bd923ca81e5a
|
||||
|
||||
65
dev-cpp/wt/wt-4.11.0.ebuild
Normal file
65
dev-cpp/wt/wt-4.11.0.ebuild
Normal file
@@ -0,0 +1,65 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Wt, C++ Web Toolkit"
|
||||
HOMEPAGE="https://www.webtoolkit.eu/wt https://github.com/emweb/wt"
|
||||
SRC_URI="https://github.com/emweb/wt/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc firebird mysql opengl pdf postgres ssl"
|
||||
|
||||
DEPEND="
|
||||
firebird? ( dev-db/firebird )
|
||||
mysql? ( virtual/mysql )
|
||||
opengl? ( virtual/opengl )
|
||||
postgres? ( dev-db/postgresql )
|
||||
ssl? ( dev-libs/openssl )
|
||||
<dev-libs/boost-1.85.0:=
|
||||
media-libs/libharu
|
||||
media-gfx/graphicsmagick[jpeg,png]
|
||||
x11-libs/pango
|
||||
sys-libs/zlib
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
BDEPEND="
|
||||
doc? (
|
||||
app-text/doxygen[dot]
|
||||
dev-qt/qtchooser
|
||||
dev-qt/qthelp
|
||||
)
|
||||
"
|
||||
# for qt6 dev-qt/qttools[qdoc]
|
||||
|
||||
PATCHES=( "${FILESDIR}/wt-no-rundir.patch")
|
||||
|
||||
src_configure() {
|
||||
# TODO
|
||||
#-DENABLE_QT6=$(usex qt6)
|
||||
|
||||
local mycmakeargs=(
|
||||
-DLIB_INSTALL_DIR=$(get_libdir)
|
||||
-DBUILD_EXAMPLES=OFF
|
||||
-DINSTALL_DOCUMENTATION=$(usex doc)
|
||||
-DDOCUMENTATION_DESTINATION="share/doc/${PF}"
|
||||
-DENABLE_SSL=$(usex ssl)
|
||||
-DENABLE_HARU=$(usex pdf)
|
||||
-DENABLE_PANGO=ON
|
||||
-DENABLE_SQLITE=ON
|
||||
-DENABLE_POSTGRES=$(usex postgres)
|
||||
-DENABLE_FIREBIRD=$(usex firebird)
|
||||
-DENABLE_MYSQL=$(usex mysql)
|
||||
-DENABLE_QT4=OFF
|
||||
-DENABLE_QT5=ON
|
||||
-DENABLE_SAML=ON
|
||||
-DENABLE_OPENGL=$(usex opengl)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
@@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit desktop distutils-r1 optfeature xdg
|
||||
|
||||
@@ -18,12 +18,14 @@ S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="gui"
|
||||
|
||||
RDEPEND="
|
||||
!sys-boot/woeusb
|
||||
app-arch/p7zip
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/termcolor[${PYTHON_USEDEP}]
|
||||
gui? ( dev-python/wxpython:4.0[${PYTHON_USEDEP}] )
|
||||
')
|
||||
"
|
||||
|
||||
@@ -36,17 +38,19 @@ src_prepare() {
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
dobin WoeUSB/woeusbgui
|
||||
|
||||
insinto /usr/share/polkit-1/actions
|
||||
doins miscellaneous/com.github.woeusb.woeusb-ng.policy
|
||||
if use gui; then
|
||||
dobin WoeUSB/woeusbgui
|
||||
|
||||
doicon -s 256 WoeUSB/data/woeusb-logo.png
|
||||
make_desktop_entry woeusbgui WoeUSB-ng woeusb-logo Utility
|
||||
insinto /usr/share/polkit-1/actions
|
||||
doins miscellaneous/com.github.woeusb.woeusb-ng.policy
|
||||
|
||||
doicon -s 256 WoeUSB/data/woeusb-logo.png
|
||||
make_desktop_entry woeusbgui WoeUSB-ng woeusb-logo Utility
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "GUI support" dev-python/wxpython:4.0
|
||||
optfeature "Legacy PC bootmode support" "sys-boot/grub[grub_platforms_pc]"
|
||||
|
||||
xdg_pkg_postinst
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit flag-o-matic
|
||||
inherit autotools flag-o-matic
|
||||
|
||||
DESCRIPTION="Convert X cursors to PNG images"
|
||||
HOMEPAGE="https://github.com/eworm-de/xcur2png"
|
||||
@@ -14,10 +14,16 @@ SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="
|
||||
media-libs/libpng
|
||||
media-libs/libpng:=
|
||||
x11-libs/libXcursor
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf # bug 937784
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-cflags "-std=gnu89" # bug 916457
|
||||
Reference in New Issue
Block a user