commit:     8ea1025a8fb0f2ce1af2372e4ca6a033282c6555
Author:     QORTEC <Owl-Maintain <AT> pm <DOT> me>
AuthorDate: Tue Oct 14 15:54:32 2025 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Fri Oct 31 13:13:11 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ea1025a

net-print/brlaser: add 6.2.8

Closes: https://bugs.gentoo.org/950679
Closes: https://bugs.gentoo.org/957448
Signed-off-by: QORTEC <Owl-Maintain <AT> pm.me>
Part-of: https://github.com/gentoo/gentoo/pull/44176
Closes: https://github.com/gentoo/gentoo/pull/44176
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 net-print/brlaser/Manifest             |  1 +
 net-print/brlaser/brlaser-6.2.8.ebuild | 28 ++++++++++++++++++++++++++++
 2 files changed, 29 insertions(+)

diff --git a/net-print/brlaser/Manifest b/net-print/brlaser/Manifest
index 02dd07d44671..1a6133d906cf 100644
--- a/net-print/brlaser/Manifest
+++ b/net-print/brlaser/Manifest
@@ -1,2 +1,3 @@
+DIST brlaser-6.2.8.tar.gz 29401 BLAKE2B 
3b8622ad45071ec9d88d3e03af4d22e876099f76c1fb68ef57ea10525b78d4a4784638ec4dc20399ca8d57b232dd47dba5c0737de9a2e7a90d536a4e89742e5f
 SHA512 
6cbfb2376dbbc06f55a605a160b946ca810191d9a88c1380adb5fcbac10e37c36ec77604ab0ee0fb2595d86306f87d322b0cea314166a8a2d3999bd43b9365ce
 DIST brlaser-6.2.6.tar.gz 25815 BLAKE2B 
0583576e41d895df5fc9d20244daa38abd3f675af13f75f769045644f419385c99a1137c88a6ac8997a7fd4ab7323af304f62d785dac66b1174a9994e3f5104a
 SHA512 
285a053473ae576167e653bb94c20a1ae676c1a39ec87d9b14c664e389a4713d93ca29d5cefd92a6793e1ffbc8b03b119ea8cd903749ae21c9354ce30d470a51
 DIST brlaser-6.tar.gz 22807 BLAKE2B 
be8041c1b6ddb8c4e5055fa35edc2c764562b2b4e52cad17aa968a51886621264d6bf289bd7bb5af0148098bb72aa96adea603091b38c3a245068d60737e80fc
 SHA512 
d7e0e63b64be9ae7633381622c13ba0589e5fe58d277212bce4f5bb712a291ed0b0f2ac3d450dce61c7f9052c1ce7323fec66b5005c5cb3da1314b284d20f06f

diff --git a/net-print/brlaser/brlaser-6.2.8.ebuild 
b/net-print/brlaser/brlaser-6.2.8.ebuild
new file mode 100644
index 000000000000..34f029b58715
--- /dev/null
+++ b/net-print/brlaser/brlaser-6.2.8.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Brother laser printer driver"
+HOMEPAGE="https://github.com/Owl-Maintain/brlaser/";
+SRC_URI="https://github.com/Owl-Maintain/brlaser/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
+
+# https://github.com/Owl-Maintain/brlaser/blob/master/src/main.cc#L5C1-L8C39
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="net-print/cups"
+RDEPEND="
+       ${DEPEND}
+       app-text/ghostscript-gpl
+"
+
+src_prepare() {
+       # Don't clobber toolchain defaults
+       sed -i -e '/-D_FORTIFY_SOURCE=2/d' CMakeLists.txt || die
+
+       cmake_src_prepare
+}

Reply via email to