mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
Use https://download.gnome.org instead. In SRC_URI where the reference is https://download.gnome.org/sources ${GNOME_MIRROR} can be substituted. Signed-off-by: Jason Schonberg <schonm@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
34 lines
1.1 KiB
BlitzBasic
34 lines
1.1 KiB
BlitzBasic
SUMMARY = "Proxy libintl"
|
|
HOMEPAGE = "https://download.gnome.org/binaries/win32/dependencies/"
|
|
SECTION = "libs"
|
|
LICENSE = "LGPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://${UNPACKDIR}/src/proxy-libintl/COPYING.LIB.txt;md5=bc400bc21422f9a92e76ec2c5167ca2e"
|
|
|
|
PROVIDES = "virtual/libintl"
|
|
|
|
SRC_URI = " \
|
|
https://download.gnome.org/binaries/win32/dependencies/${BPN}-dev_${PV}_win32.zip \
|
|
"
|
|
SRC_URI[sha256sum] = "291ac350cc5eb4a01b0d651ca99fae64cee8a1c06b2005277fab5a4356f9ae91"
|
|
|
|
UPSTREAM_CHECK_REGEX = "${BPN}-dev_(?P<pver>\d+)_win32\.zip"
|
|
|
|
PACKAGES = "${PN} ${PN}-dev"
|
|
FILES:${PN}-dev = "${includedir}/libintl.h ${libdir}/libintl.a"
|
|
INSANE_SKIP:${PN}-dev = "staticdev"
|
|
ALLOW_EMPTY:${PN} = "1"
|
|
CFLAGS:append = " -fPIC -Wall -I ../../include ${@['-DSTUB_ONLY', ''][d.getVar('USE_NLS') != 'no']}"
|
|
TARGET_CC_ARCH += "${LDFLAGS}"
|
|
|
|
do_compile() {
|
|
cd ${UNPACKDIR}/src/proxy-libintl
|
|
oe_runmake ../../lib/libintl.a
|
|
}
|
|
|
|
do_install() {
|
|
install -d ${D}/${includedir}
|
|
install -d ${D}/${libdir}
|
|
install -m 0644 ${UNPACKDIR}/include/libintl.h ${D}/${includedir}
|
|
install -m 0644 ${UNPACKDIR}/lib/libintl.a ${D}/${libdir}
|
|
}
|