← recipes

Commit 77f011a

11
plików
+13
dodanych
-27
usuniętych
@@ -9,7 +9,6 @@ makedepends:
9 9 - popt
10 10 - mandoc
11 11 source:
12 -- efivar-${pkgver}.patch
13 12 - 'https://github.com/rhboot/efivar/archive/refs/tags/${pkgver}.tar.gz'
14 13 sha256sums:
15 14 - SKIP
@@ -50,8 +49,6 @@ build: |
50 49 unset MAKEFLAGS
51 50 cd ${pkgname}-${pkgver}
52 51
53 - patch -Np1 -i ../efivar-${pkgver}.patch
54 -
55 52 make ERRORS='' all
56 53
57 54 make DESTDIR=${PKGDIR}/ \
@@ -204,6 +204,7 @@ build: |
204 204 cd gmp-${pkgver}
205 205 cp -v configfsf.guess config.guess
206 206 cp -v configfsf.sub config.sub
207 + CFLAGS+=' -std=gnu17'
207 208
208 209 case `uname -m` in
209 210 i?86)
@@ -8557,7 +8557,7 @@ build: |
8557 8557 -C ./go${pkgver} --strip-components=1
8558 8558 bsdtar -xf ./go${pkgver}.src.tar.gz \
8559 8559 -C .
8560 - export GOCACHE=./go-build
8560 + export GOCACHE=${SRCDIR}/go-build
8561 8561 export GOROOT_BOOTSTRAP=./go${pkgver}
8562 8562 export GOROOT_FINAL=/usr/lib/go
8563 8563
@@ -33,7 +33,7 @@ footprint: "drwxr-xr-x\troot/root\tusr/\ndrwxr-xr-x\troot/root\tusr/bin/\nlrwxrw
33 33 footprint_enchant_man: "drwxr-xr-x\troot/root\tusr/share/man/\ndrwxr-xr-x\troot/root\tusr/share/man/man1/\n-rw-r--r--\troot/root\t\
34 34 usr/share/man/man1/enchant-2.1.gz\n-rw-r--r--\troot/root\tusr/share/man/man1/enchant-lsmod-2.1.gz\ndrwxr-xr-x\troot/root\t\
35 35 usr/share/man/man5/\n-rw-r--r--\troot/root\tusr/share/man/man5/enchant.5.gz\n"
36 -build: "cd ${pkgname}-${pkgver}\n\n./configure \\\n\t--prefix=/usr \\\n\t--mandir=/usr/share/man \\\n\t--disable-static\n\n\
36 +build: "cd ${pkgname}-${pkgver}\n\n./configure \\\n\t--prefix=/usr \\\n\t--mandir=/usr/share/man \\\n\t--disable-static \\\n\t--without-unit-tests\n\n\
37 37 make\nmake DESTDIR=${PKGDIR} install\n\nrm -rf ${PKGDIR}/usr/include/enchant\nln -sfv enchant-2 ${PKGDIR}/usr/include/enchant\n\
38 38 ln -sfv enchant-2 ${PKGDIR}/usr/bin/enchant\nln -sfv libenchant-2.so ${PKGDIR}/usr/lib/libenchant.so\nln -sfv enchant-2.pc\
39 39 \ ${PKGDIR}/usr/lib/pkgconfig/enchant.pc\n\n# Obsolets libs\n#rm -f ${PKGDIR}/usr/lib/enchant-2/enchant_aspell.la\nrm -f\
@@ -9,6 +9,7 @@ makedepends:
9 9 - gtk3
10 10 - intltool
11 11 - librsvg
12 +- perl-xml-parser
12 13
13 14 source:
14 15 - 'https://download.gnome.org/sources/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz'
@@ -8,6 +8,7 @@ depends: []
8 8 makedepends:
9 9 - gtk3
10 10 - enchant
11 +- perl-xml-parser
11 12 source:
12 13 - 'https://downloads.sourceforge.net/sourceforge/${pkgname}/gtkspell3-${pkgver}.tar.xz'
13 14 sha256sums:
@@ -52,6 +52,7 @@ build: |
52 52 -DBUILD_SHARED_LIBS=ON \
53 53 -DBENCHMARK_ENABLE_LTO=ON \
54 54 -DBENCHMARK_ENABLE_GTEST_TESTS=OFF \
55 + -DBENCHMARK_ENABLE_TESTING=OFF \
55 56 ..
56 57
57 58 make
@@ -9,7 +9,7 @@ makedepends: []
9 9 source:
10 10 - 'https://github.com/g-truc/glm/archive/${pkgver}/glm-${pkgver}.tar.gz'
11 11 sha256sums:
12 -- 3aa4347b8f13cba882df1c7b61a6ca910c75a875c56ec3d75d7dc9ae8eac34df
12 +- 6775e47231a446fd086d660ecc18bcd076531cfedd912fbd66e576b118607001
13 13 footprint_glm_doc: "drwxr-xr-x\troot/root\tusr/share/doc/\ndrwxr-xr-x\troot/root\tusr/share/doc/glm-1.0.3/\ndrwxr-xr-x\troot/root\t\
14 14 usr/share/doc/glm-1.0.3/doc/\ndrwxr-xr-x\troot/root\tusr/share/doc/glm-1.0.3/doc/api/\n-rw-r--r--\troot/root\tusr/share/doc/glm-1.0.3/doc/api/a00002.html\n\
15 15 -rw-r--r--\troot/root\tusr/share/doc/glm-1.0.3/doc/api/a00002_source.html\n-rw-r--r--\troot/root\tusr/share/doc/glm-1.0.3/doc/api/a00005_source.html\n\
@@ -181,6 +181,9 @@ build: |
181 181 --mandir=/usr/share/man \
182 182 --infodir=/usr/share/info \
183 183 --disable-static
184 + # przykłady nie kompilują się z glibc 2.44 (konflikt deklaracji basename) -
185 + # usuwamy je z SUBDIRS, przykładów nikt nie potrzebuje w pakiecie
186 + sed -i "s/\$(am__append_2) tools \\./tools ./" Makefile
184 187 make
185 188 make DESTDIR=${PKGDIR} install
186 189
@@ -331,8 +331,6 @@ footprint_icu_man: |
331 331 build: |
332 332 bsdtar xf icu4c-${pkgver}-sources.tgz
333 333 mv ${pkgname} ${pkgname}-${pkgver}
334 - bsdtar xf icu4c-77_1-src.tgz
335 - mv ${pkgname} ${pkgname}-77.1
336 334 cd ${pkgname}-${pkgver}/source
337 335
338 336 ./configure --prefix=/usr \
@@ -342,24 +340,7 @@ build: |
342 340 make DESTDIR=${PKGDIR} install
343 341
344 342 cd ../..
345 -
346 - cd ${pkgname}-77.1/source
347 -
348 - ./configure --prefix=/usr/local
349 -
350 - make
351 - make prefix=${PKGDIR}/usr/local install
352 -
353 -
354 -
355 - install -Dm644 ../LICENSE ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE
343 + install -Dm644 ${SRCDIR}/LICENSE ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE
356 344
357 345 package: |
358 - cd .
359 - for lib in ${PKGDIR}/usr/local/lib/*.so.77
360 - do
361 - cp -v $lib.1 \
362 - ${PKGDIR}/usr/lib/
363 - ln -sv $(basename $lib).1 ${PKGDIR}/usr/lib/$(basename $lib)
364 - done
365 - rm -r ${PKGDIR}/usr/local
346 + true
@@ -44,5 +44,6 @@ build: |
44 44 -DCMAKE_BUILD_TYPE=Release
45 45 make all
46 46 make DESTDIR=${PKGDIR} install
47 + sed -i s/^Version:$/Version: 2.0.0/ ${PKGDIR}/usr/lib/pkgconfig/UnitTest++.pc 2>/dev/null || true
47 48 package: |
48 49 true