app-cdr/qlscribe: add Qt 6 release 0.17

This commit is contained in:
Mario Fetka
2026-07-11 09:11:53 +02:00
parent 0ba3efb966
commit 601d0bf3f0
5 changed files with 104 additions and 113 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
DIST qlscribe-0.16.tar.gz 92881 BLAKE2B 5224d8e82363945386ac3056d77224587fca2b8d07026bbe3525f955e7fbf1b9602f40d3642c9c28e7b7b4a3b98a1d8b6c8feabdbdb5652cad59bb5344cc05db SHA512 ccb36189269e3d9d386bfda2a10ea3ae7e063d5f0ddcf4f8298746a912d9f3faf8a10d6b50a88dd3abcdc10bafc11a344906efc1e9969cd2f3cbbe4a1998677c
EBUILD qlscribe-0.16.ebuild 602 BLAKE2B 1a32a0c60bb97c8cdb48d3b05ec33b0a95442e67a3957de90a4941e0f2bb37a76eccc7f53112d7d77d78a13285b3acc4b8eca1ca403ce3ab6b88ab6bd8cb1fd9 SHA512 52f85df12da675b706da6aee4327635a13af66001c44b4ee47f915bfb0bf91dbfc4581b5362f0ad30a9ead695e1843cca2fa77566e47120134b96c126679952a
DIST qlscribe-0.17.tar.gz 88126 BLAKE2B 929fccdc6f2c38abac0584acfe95ba3dbee0ad1529c27feba29cd19bd56e6d1b2f7aa3935e3cf9790e4eb1849a8c68a6612547a7f5bda35d7eb661c1aa61e248 SHA512 5e47b79626035dfef926dcd39c2ac3764a1060c16c3ea808a8189f872f62808f13208d08bbee21bc37d61e708f4dc8bc991e44a5bf035b974fc6a1dc90b813e2
EBUILD qlscribe-0.17.ebuild 772 BLAKE2B 198ad986d822a5b5fa3a901cab53cc8dde6b410705afd52546cae19cd749683adeb3396b1272a5649fc58dee28a951a007866386bca6edb7ee9be2b079cbf50e SHA512 53a3761ad44e68bcccd3a0620c868815368d037ba431d73b3a155edfeeb308e14ff5848c515c347dfbed54fe1c13807bc9ac0444b9312dbca3da6a4d148b201d
MISC ChangeLog 3022 BLAKE2B 8fe9e695b99831459cdf339c1713c4b82aa35c414c9c353f7a0f4e719a996f2f476b195463d10ff5b297a08d57753ce56c9debb3c11cdd43dd2039675ab0d27f SHA512 509c0add07bb291ec1381a057e7c5c4d071fef2bdd1c11ef9dfa89a150f8d831aee5b79c054c50612abb1f9670796d42c87fe9da66a65363e2c5cc835d053124
MISC metadata.xml 1238 BLAKE2B 6142087ad0d3315b27aa52e21a21bd9a7a82f2a7bc75cd837274fc2ff18d3cfc3806a07148e8d44fc5c732d4591b4e9ba2ad9ba924f989fa2e0c4441f7b99022 SHA512 d94394e853ce7bd9109322f37ab5d3526e2bbc4a59ac02d0b66e9d952d221a06ae1c38b6de5cdb142b2b09ac602a57ff03f0525efbbc7b8f33f9662ca42a5dd5
-27
View File
@@ -1,27 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit cmake-utils
DESCRIPTION="OS lightScribe labeler"
HOMEPAGE="http://sourceforge.net/projects/qlscribe/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="dev-qt/qtgui:4
dev-libs/liblightscribe"
DEPEND="${RDEPEND}"
src_configure() {
local mycmakeargs=(
"-DDBUS_SYSTEM_POLICY_DIR=/etc/dbus-1/system.d"
"-DDBUS_SYSTEM_SERVICE_DIR=/usr/share/dbus-1/system-services" )
cmake-utils_src_configure
}
+31
View File
@@ -0,0 +1,31 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Qt-based LightScribe label editor and printing daemon"
HOMEPAGE="https://gitea.disconnected-by-peer.at/geos_one/qlscribe"
SRC_URI="https://gitea.disconnected-by-peer.at/geos_one/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
dev-libs/liblightscribe
dev-qt/qtbase:6[dbus,gui,widgets]
amd64? ( sys-apps/dbus[abi_x86_32] )
x86? ( sys-apps/dbus )
"
DEPEND="${RDEPEND}"
src_configure() {
local mycmakeargs=(
-DDBUS_SYSTEM_POLICY_DIR=/etc/dbus-1/system.d
-DDBUS_SYSTEM_SERVICE_DIR=/usr/share/dbus-1/system-services
)
cmake_src_configure
}
+1 -1
View File
@@ -2,6 +2,6 @@ AUX liblightscribe-gcc43-1.patch 717 BLAKE2B cb36155387dfa38e43378a926b446676744
DIST LightScribe_logo_black.zip 299480 BLAKE2B dea8542bca6acb5b9ed8cd4c8da71ff366ad3cdb309e8203c8609b7c4ae70bfaea7b15af5ccb11cdf2607eff0ed13a98d00e5e98b2c7d7d0a63c42b4fac66f03 SHA512 f2349b03efe250d2579e513b90a17ab1cc5851449627ccc45c9108555f67faf52b6e5b3ff0871ec5d5f6bd97f09f71b36b4c4a004c3442650e63d38bc2545874
DIST lightscribe-1.18.27.10-linux-2.6-intel.rpm 825987 BLAKE2B 2e2c4c9dd9974887bb7fae2324446f0d097ea63195ee6658b50ab896ad181674fffa0a74d490673331ece24e37294a18ea2b59a2a133cc6145f445bc95d6a9ba SHA512 b13b90696014e82c2beb3fee5cdbb255ee24e43cd1391078cf76ae47bcef034a7039eee4ed96aae1599cadfd9bff53cef37dbcfbe7020caed0b3f7f6f82ccdd6
DIST lightscribePublicSDK-1.18.6.1-linux-2.6-intel.rpm 622177 BLAKE2B 351bff0cd3c4918c6d2b7a829b096ee0f3b65565a56b81026e435c8400819f15e832801e4387e88898c3f463b5e58b36b57be343aa5f24b4b79871598e614747 SHA512 e1264907e9bc690be99e125ec574f5233ed0c82c8e1651823d4b2629a5d2e31c0325c9e6c80c87090a9bd1cf4708d28ff33429281dffbfae931d7d2eab5a9f10
EBUILD liblightscribe-1.18.27.10-r1.ebuild 4393 BLAKE2B 21a969affb1aa85776c0ad512d22c0ece45d70e7d14b0b87c5e2eefe5cd17bec91b2f03f8307a7b356d6fc75973abfde7a24333065a2b1199371105af144d2f9 SHA512 db74448fbe98cc92248c1231d96f174a025fc490de8b54629a73a54c80880b3776a14a43011a692bec06aacf215d90823ba8ddf5d5449eebf1ff553962a9116e
EBUILD liblightscribe-1.18.27.10-r1.ebuild 3037 BLAKE2B 7bbb3fe0b578b86719d2b13215c127ef2c0a5b48a9d208ebed8d9a7532d0c0cff0ddd34bdd540cbb2157023b28fdc9007eb746f841d871291f042b37a06ece05 SHA512 da515f2e9426afec35089f5c904526c53946672ac74b64c7e4bc3d35a368f01c6951132e1ebcd6627dfc89c44bbe5b5f8674243535568b4b5322e79742e5bc73
MISC ChangeLog 10965 BLAKE2B 66857bfea7e778df8ce4edc0d6295ce0e8fce2d96e8c671b271a39e86a27c33ac97811e2587995fe85d314926a3903b106ae285e89675298a2def4136312f0e4 SHA512 f9e084ea4d27e069d25b5f342d46ac8c8cd47f0ff9738d62162e3a53a1821ee8b6d708ae399ee726ee3ad4792a5476f67982ce0a6956859aa8f272322a2a9a46
MISC metadata.xml 293 BLAKE2B 1e8e33a5630d1e8a51986914fc58606fee78d57ebc40a9bc66cc2f0cb4542f2d52f6999b4e331ca4e075a5013a8d9612829b7ac1f1a3197be6e060f1001636d4 SHA512 93dfe09a608729f203a50d29a11b55b84fae2dbebbd644b12ca363a28ec8148d187c1d82dd6141e85b78594372be267a0e45a7b64ba8652fa6529a4bf96349ef
@@ -1,114 +1,101 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="5"
EAPI=8
inherit eutils rpm multilib
inherit desktop rpm
SDK_PV=1.18.6.1
DESCRIPTION="LightScribe System Software (binary only library)"
HOMEPAGE="http://www.lightscribe.com/downloadSection/linux/index.aspx"
SRC_URI="http://web.archive.org/web/20200404105932/http://www.pawtec.com/lightscribe_files/Linux/LSS/lightscribe-${PV}-linux-2.6-intel.rpm
http://web.archive.org/web/20200404105919/http://www.pawtec.com/lightscribe_files/Linux/lightscribePublicSDK-${SDK_PV}-linux-2.6-intel.rpm
http://web.archive.org/web/20081121152231if_/http://www.lacie.com/download/images/LightScribe_logo_black.zip"
DESCRIPTION="LightScribe System Software and public SDK (binary only)"
HOMEPAGE="https://web.archive.org/web/20200404105932/http://www.pawtec.com/lightscribe_files/"
SRC_URI="
https://web.archive.org/web/20200404105932/http://www.pawtec.com/lightscribe_files/Linux/LSS/lightscribe-${PV}-linux-2.6-intel.rpm
https://web.archive.org/web/20200404105919/http://www.pawtec.com/lightscribe_files/Linux/lightscribePublicSDK-${SDK_PV}-linux-2.6-intel.rpm
https://web.archive.org/web/20081121152231if_/http://www.lacie.com/download/images/LightScribe_logo_black.zip
"
LICENSE="lightscribe lightscribeSDK"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="multilib"
DEPEND="media-gfx/imagemagick"
RDEPEND="x86? ( sys-libs/libstdc++-v3 )
amd64? ( sys-libs/libstdc++-v3[multilib] )
x11-apps/menu
BDEPEND="
app-arch/rpm
media-gfx/imagemagick
"
RDEPEND="
x11-terms/xterm
!app-cdr/lightscribe
!app-cdr/liblightscribe"
!app-cdr/liblightscribe
"
RESTRICT="mirror"
S="${WORKDIR}"
RESTRICT="mirror strip"
S=${WORKDIR}
QA_PRESTRIPPED="
opt/lightscribe/lib32/liblightscribe.so.0.0.1
opt/lightscribe/lib32/libstdcv3.so.5.0.7
opt/lightscribe/lib/liblightscribe.so.0.0.1
opt/lightscribe/lib/libstdcv3.so.5.0.7"
QA_DT_HASH="
opt/lightscribe/lib32/liblightscribe.so.0.0.1
opt/lightscribe/lib32/libstdcv3.so.5.0.7
opt/lightscribe/lib/liblightscribe.so.0.0.1
opt/lightscribe/lib/libstdcv3.so.5.0.7"
pkg_setup() {
# This is a binary x86 package => ABI=x86
# Please keep this in future versions
has_multilib_profile && ABI="x86"
}
opt/lightscribe/lib*/liblightscribe.so.0.0.1
opt/lightscribe/lib*/libstdcv3.so.5.0.7
"
QA_DT_HASH=${QA_PRESTRIPPED}
src_prepare() {
# hack in to use provided libstdc++ rename it to libstdcv3
# can't add an rpath or a LD_PRELOAD to a already build lib to work around
# the libstdc++ "no version information available" problem Bug 152031 comment 66
sed -i "s/libstdc++.so.5/libstdcv3.so.5/g" usr/lib/liblightscribe.so.1 || die "sed failed"
sed -i "s/libstdc++.so.5/libstdcv3.so.5/g" usr/lib/lightscribe/libstdc++.so.5.0.7 || die "sed failed"
default
# create a desktop icon
convert -colorspace rgb "${WORKDIR}"/LightScribe_logo_black.eps -transparent white -background transparent -resize 128x128\> \
-size 128x128 xc:transparent +swap -gravity center -composite "${WORKDIR}"/${PN}.png
# Keep the bundled GCC 3 runtime under a private, non-conflicting name.
sed -i 's/libstdc++.so.5/libstdcv3.so.5/g' \
usr/lib/liblightscribe.so.1 \
usr/lib/lightscribe/libstdc++.so.5.0.7 || die
# correct compile with gcc >=4.3
epatch "${FILESDIR}"/liblightscribe-gcc43-1.patch
eapply "${FILESDIR}"/liblightscribe-gcc43-1.patch
convert -colorspace RGB "${WORKDIR}"/LightScribe_logo_black.eps \
-transparent white -background transparent -resize '128x128>' \
-size 128x128 xc:transparent +swap -gravity center -composite \
"${T}"/${PN}.png || die
}
src_install() {
local LSDIR="opt/lightscribe/$(get_libdir)"
local ls_libdir=lib
[[ ${ARCH} == amd64 ]] && ls_libdir=lib32
local lsdir="opt/lightscribe/${ls_libdir}"
exeinto /${lsdir}/lightscribe/updates
doexe usr/lib/lightscribe/updates/fallback.sh
exeinto /${lsdir}/lightscribe
doexe usr/lib/lightscribe/elcu.sh
exeinto /${lsdir}
newexe usr/lib/liblightscribe.so.1 liblightscribe.so.0.0.1
newexe usr/lib/lightscribe/libstdc++.so.5.0.7 libstdcv3.so.5.0.7
dosym liblightscribe.so.0.0.1 /${lsdir}/liblightscribe.so.1
dosym liblightscribe.so.0.0.1 /${lsdir}/liblightscribe.so
dosym libstdcv3.so.5.0.7 /${lsdir}/libstdcv3.so.5
exeinto /${LSDIR}/lightscribe/updates
doexe usr/lib/lightscribe/updates/fallback.sh || die "fallback.sh install failed"
exeinto /${LSDIR}/lightscribe
doexe usr/lib/lightscribe/elcu.sh || die "elcu.sh install failed"
into /opt/lightscribe
# make revdep-rebuild happy Bug 152031 comment 74
newlib.so usr/lib/liblightscribe.so.1 liblightscribe.so.0.0.1 || die "liblightscribe.so.* install failed"
newlib.so usr/lib/lightscribe/libstdc++.so.5.0.7 libstdcv3.so.5.0.7 || die "libstdcv3.so.* install failed"
dosym liblightscribe.so.0.0.1 /${LSDIR}/liblightscribe.so.1
dosym liblightscribe.so.0.0.1 /${LSDIR}/liblightscribe.so
dosym libstdcv3.so.5.0.7 /${LSDIR}/libstdcv3.so.5
insinto /usr/include/lightscribe
doins -r usr/include/* || die "includes install failed"
doins -r usr/include/.
insinto /etc
doins -r etc/* || die "config install failed"
sed -e "s%/usr/lib%${ROOT}${LSDIR}%" \
-e"s%update%updates%" -i "${D}"/etc/lightscribe.rc || die "sed failed"
dodoc usr/share/doc/*.* \
usr/share/doc/lightscribe-sdk/*.* \
usr/share/doc/lightscribe-sdk/docs/* || die "doc install failed"
docinto sample/lsprint
dodoc usr/share/doc/lightscribe-sdk/sample/lsprint/* || die "lsprint sample install failed"
dodir /etc/env.d
echo "LDPATH=${ROOT}${LSDIR}" > "${D}"/etc/env.d/80lightscribe
doicon "${WORKDIR}"/${PN}.png
make_desktop_entry "su-to-root -X -c \"xterm -C ${ROOT}opt/lightscribe/$(get_libdir)/lightscribe/elcu.sh\"" \
"LightScribe System Software Contrast Changer" ${PN} "AudioVideo;DiscBurning;Recorder;"
doins -r etc/.
sed -e "s%/usr/lib%/${lsdir}%" -e 's%update%updates%' \
-i "${ED}"/etc/lightscribe.rc || die
dodoc usr/share/doc/*.* usr/share/doc/lightscribe-sdk/*.* \
usr/share/doc/lightscribe-sdk/docs/*
docinto sample/lsprint
dodoc usr/share/doc/lightscribe-sdk/sample/lsprint/*
echo "LDPATH=/${lsdir}" > "${T}"/80lightscribe || die
doenvd "${T}"/80lightscribe
doicon "${T}"/${PN}.png
make_desktop_entry \
"su-to-root -X -c \"xterm -C /${lsdir}/lightscribe/elcu.sh\"" \
"LightScribe System Software Contrast Changer" ${PN} \
"AudioVideo;DiscBurning;Recorder;"
}
pkg_postinst() {
elog "This version also support Enhanced Contrast"
elog "You can activate it by running:"
elog "${ROOT}opt/lightscribe/$(get_libdir)/lightscribe/elcu.sh"
}
pkg_nofetch() {
einfo "Please download the appropriate Lightscribe System Software & Linux Public SDK archive's"
einfo "( lightscribe-${PV}-linux-2.6-intel.rpm"
einfo " lightscribePublicSDK-${SDK_PV}-linux-2.6-intel.rpm )"
einfo "from ${HOMEPAGE} (requires to accept license)"
einfo
einfo "Then put the files in ${DISTDIR}"
local ls_libdir=lib
[[ ${ARCH} == amd64 ]] && ls_libdir=lib32
einfo "Enhanced Contrast can be configured with:"
einfo "/opt/lightscribe/${ls_libdir}/lightscribe/elcu.sh"
}