← recipes

Commit aa11d82

4
plików
+10
dodanych
-3
usuniętych
@@ -59,6 +59,12 @@ build: |
59 59 install -v -m644 doc/*.{ps,pdf,html,dvi} \
60 60 ${PKGDIR}/usr/share/doc/${pkgname}
61 61
62 + # readline.pc domaga się tinfo.pc (ncurses), którego nie dostarczamy –
63 + # wyczyść Requires.private, inaczej pkg-config(1) nie znajduje readline
64 + sed -i '/^Requires.private:/d' \
65 + ${PKGDIR}/usr/lib/pkgconfig/readline.pc \
66 + ${PKGDIR}/usr/lib/pkgconfig/history.pc
67 +
62 68 rm -d ${PKGDIR}/usr/bin
63 69 package: |
64 70 true
@@ -298,6 +298,8 @@ build: |
298 298 mkdir build
299 299 cd build
300 300
301 + sed -i 's/ERR_remove_state(0)/ERR_clear_error()/' ../src/common/ssl.c
302 +
301 303 meson --prefix=/usr -Dwith-lua=lua ..
302 304 ninja
303 305 DESTDIR=${PKGDIR} ninja install
@@ -94,9 +94,7 @@ build: |
94 94 git clone https://gitlab.gnome.org/GNOME/libgxps.git ${pkgname}-${pkgver}
95 95 cd ${pkgname}-${pkgver}
96 96 git checkout ${pkgver}
97 - meson --prefix=/usr \
98 - ${pkgname}-${pkgver} \
99 - build \
97 + meson setup --prefix=/usr . build \
100 98 -D enable-man=true \
101 99 -D enable-gtk-doc=true
102 100 meson compile -C build
@@ -41,6 +41,7 @@ build: |
41 41 -DCMAKE_INSTALL_SYSCONFDIR:PATH='/etc' \
42 42 -DBUILD_EXAMPLES:BOOL='OFF' \
43 43 -DBUILD_TESTS:BOOL='ON' \
44 + -DCMAKE_CXX_FLAGS:STRING='-include cstdint' \
44 45 -DVPL_INSTALL_LICENSEDIR:PATH="share/licenses/${pkgname}" \
45 46 -Wno-dev
46 47