(Actually) octoxbps-git update to 2024.06.20
This commit is contained in:
parent
f0331f0fb0
commit
5024a54891
2 changed files with 25 additions and 13 deletions
|
@ -1,13 +1,13 @@
|
||||||
# Template file for 'octoxbps-git'
|
# Template file for 'octoxbps-git'
|
||||||
pkgname=octoxbps-git
|
pkgname=octoxbps-git
|
||||||
version=2024.06.20
|
version=2024.06.20
|
||||||
revision=1
|
revision=2
|
||||||
build_style=qmake
|
build_style=qmake
|
||||||
repository="cereus-extra"
|
repository="cereus-extra"
|
||||||
hostmakedepends="qt5-qmake pkg-config qt5-host-tools"
|
hostmakedepends="qt5-qmake pkg-config qt5-host-tools"
|
||||||
makedepends="qt5-declarative-devel qtermwidget-devel"
|
makedepends="qt5-declarative-devel qtermwidget-devel"
|
||||||
depends="curl"
|
depends="curl qt-sudo"
|
||||||
_commit="794e1c9946f94013f81a85ac0b11fb545ebe4124"
|
_commit="036e7043507528a79b5e541b6c5a74f05f2544e3"
|
||||||
short_desc="Qt-based XBPS front-end - git development branch"
|
short_desc="Qt-based XBPS front-end - git development branch"
|
||||||
maintainer="Kevin Figueroa <kfdevart@disroot.org>"
|
maintainer="Kevin Figueroa <kfdevart@disroot.org>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
|
@ -16,11 +16,14 @@ changelog="https://raw.githubusercontent.com/aarnt/octoxbps/master/CHANGELOG"
|
||||||
conflicts="octoxbps"
|
conflicts="octoxbps"
|
||||||
replaces="octoxbps"
|
replaces="octoxbps"
|
||||||
distfiles="https://github.com/aarnt/octoxbps/archive/${_commit}.tar.gz"
|
distfiles="https://github.com/aarnt/octoxbps/archive/${_commit}.tar.gz"
|
||||||
checksum=fac7337da07ff438595ab620ce60a1d24f0bb045f09ff2341d54ca3bb41ea289
|
checksum=fec6e5cf74f9a4c731bbbedef900586241833b2ffe40bdb93efb634eed3f3c40
|
||||||
|
|
||||||
# Experimental Spanish translation
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
|
# Experimental Spanish translation
|
||||||
cp ${FILESDIR}/octoxbps_es.ts ${wrksrc}/translations
|
cp ${FILESDIR}/octoxbps_es.ts ${wrksrc}/translations
|
||||||
|
|
||||||
|
# Correct qt-sudo path
|
||||||
|
vsed -i 's|/usr/local/bin/qt-sudo|/usr/bin/qt-sudo|g' src/constants.h
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -35,22 +38,16 @@ post_configure() {
|
||||||
QMAKE_CXXFLAGS="${CXXFLAGS}" \
|
QMAKE_CXXFLAGS="${CXXFLAGS}" \
|
||||||
QMAKE_LFLAGS="${LDFLAGS}" \
|
QMAKE_LFLAGS="${LDFLAGS}" \
|
||||||
${qmake_args}
|
${qmake_args}
|
||||||
cd ${wrksrc}/sudo && qmake-qt5 ${configure_args} \
|
|
||||||
QMAKE_CC=$CC QMAKE_CXX=$CXX QMAKE_LINK=$CXX QMAKE_LINK_C=$CC \
|
|
||||||
QMAKE_CFLAGS="${CFLAGS}" \
|
|
||||||
QMAKE_CXXFLAGS="${CXXFLAGS}" \
|
|
||||||
QMAKE_LFLAGS="${LDFLAGS}" \
|
|
||||||
${qmake_args}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
for _dir in ${wrksrc} ${wrksrc}/notifier ${wrksrc}/sudo; do
|
for _dir in ${wrksrc} ${wrksrc}/notifier; do
|
||||||
cd $_dir && make ${makejobs} ${make_build_args} ${make_build_target} CC="$CC" CXX="$CXX" LINK="$CXX"
|
cd $_dir && make ${makejobs} ${make_build_args} ${make_build_target} CC="$CC" CXX="$CXX" LINK="$CXX"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
for _dir in ${wrksrc} ${wrksrc}/notifier ${wrksrc}/sudo; do
|
for _dir in ${wrksrc} ${wrksrc}/notifier ; do
|
||||||
cd $_dir && make INSTALL_ROOT=${DESTDIR} install
|
cd $_dir && make INSTALL_ROOT=${DESTDIR} install
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
15
srcpkgs/qt-sudo/template
Normal file
15
srcpkgs/qt-sudo/template
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
# Template file for 'qt-sudo'
|
||||||
|
pkgname=qt-sudo
|
||||||
|
version=2.0.1
|
||||||
|
revision=1
|
||||||
|
#archs="i686 x86_64"
|
||||||
|
build_style=qmake
|
||||||
|
makedepends="pkg-config qt6-base-devel qt6-tools-devel"
|
||||||
|
short_desc="A clone of LXQt sudo tool, without LXQt libs"
|
||||||
|
repository="cereus-extra"
|
||||||
|
maintainer="Kevin Figueroa <kfdevart@disroot.org>"
|
||||||
|
license="LGPL-2.1"
|
||||||
|
homepage="https://github.com/aarnt/qt-sudo"
|
||||||
|
changelog="https://raw.githubusercontent.com/aarnt/qt-sudo/main/CHANGELOG"
|
||||||
|
distfiles="${homepage}/releases/download/v${version}/${pkgname}-${version}.tar.gz"
|
||||||
|
checksum=d97f38b37f2f8e4411506bed361090415a5617ebd794a9de7d9b4bb606ece3a1
|
Loading…
Add table
Reference in a new issue