forked from ports/compat-32
libdbusmenu-glib-32: initial import
This commit is contained in:
parent
bb2b71fa13
commit
f86abd4190
0
libdbusmenu-glib-32/.32bit
Normal file
0
libdbusmenu-glib-32/.32bit
Normal file
9
libdbusmenu-glib-32/.footprint
Normal file
9
libdbusmenu-glib-32/.footprint
Normal file
@ -0,0 +1,9 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/lib32/
|
||||
-rw-r--r-- root/root usr/lib32/libdbusmenu-glib.a
|
||||
-rwxr-xr-x root/root usr/lib32/libdbusmenu-glib.la
|
||||
lrwxrwxrwx root/root usr/lib32/libdbusmenu-glib.so -> libdbusmenu-glib.so.4.0.12
|
||||
lrwxrwxrwx root/root usr/lib32/libdbusmenu-glib.so.4 -> libdbusmenu-glib.so.4.0.12
|
||||
-rwxr-xr-x root/root usr/lib32/libdbusmenu-glib.so.4.0.12
|
||||
drwxr-xr-x root/root usr/lib32/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib32/pkgconfig/dbusmenu-glib-0.4.pc
|
6
libdbusmenu-glib-32/.signature
Normal file
6
libdbusmenu-glib-32/.signature
Normal file
@ -0,0 +1,6 @@
|
||||
untrusted comment: verify with /etc/ports/compat-32.pub
|
||||
RWSwxGo/zH7eXSCmMoNtEiyFBSsNSf+5Y2Hfieqy+0wAJnCR7mcl1T5sQVfXg2Q+M1VLy2+9KkCrucRiDRUyLz04lItLWp53swM=
|
||||
SHA256 (Pkgfile) = 4fb8e2a135cc8b2a153605d12dafb30c9381279f7f127c434150b6bf4a723118
|
||||
SHA256 (.footprint) = 163ce6f24154c47e4477265fb08766e9ec8806f8bbd3dabea92f7e6393a3edeb
|
||||
SHA256 (libdbusmenu_18.10.20180917~bzr490+repack1.orig.tar.xz) = f670bc86ea5ae1488b2405f371ceb870ce353127578f9b0aed2862cbbc42053b
|
||||
SHA256 (0001_no-deprecated-gnome-common-macros.patch) = a65626ad3dd26a81037332d881736587929c7f8935cd34d2fc3e7f4a988d5a72
|
@ -0,0 +1,12 @@
|
||||
Description: Drop deprecated gnome-common variables.
|
||||
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
|
||||
|
||||
--- a/autogen.sh
|
||||
+++ b/autogen.sh
|
||||
@@ -9,6 +9,4 @@
|
||||
|
||||
gtkdocize || exit 1
|
||||
|
||||
-USE_GNOME2_MACROS=1 \
|
||||
-USE_COMMON_DOC_BUILD=yes \
|
||||
gnome-autogen.sh --enable-gtk-doc $@
|
37
libdbusmenu-glib-32/Pkgfile
Normal file
37
libdbusmenu-glib-32/Pkgfile
Normal file
@ -0,0 +1,37 @@
|
||||
# Description: Library for passing menus over DBus - Common Files (32bit)
|
||||
# URL: https://launchpad.net/libdbusmenu
|
||||
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
||||
# Depends on: glib-32 libdbusmenu-glib
|
||||
|
||||
name=libdbusmenu-glib-32
|
||||
version=18.10
|
||||
release=1
|
||||
source=(http://cdn-fastly.deb.debian.org/debian/pool/main/libd/libdbusmenu/libdbusmenu_18.10.20180917~bzr490+repack1.orig.tar.xz
|
||||
0001_no-deprecated-gnome-common-macros.patch)
|
||||
|
||||
build() {
|
||||
# export CC='gcc -m32'
|
||||
# export CXX='g++ -m32'
|
||||
# export PKG_CONFIG_PATH='/usr/lib32/pkgconfig:/usr/lib/pkgconfig'
|
||||
export HAVE_VALGRIND_TRUE='#'
|
||||
export HAVE_VALGRIND_FALSE=''
|
||||
|
||||
cd libdbusmenu-18.10.20180917~bzr490
|
||||
patch -Np1 -i $SRC/0001_no-deprecated-gnome-common-macros.patch
|
||||
sed -e 's/-Werror -Wno-error=deprecated-declarations//g' -i libdbusmenu-{glib,gtk}/Makefile.am
|
||||
sed -e 's/gtkdocize || exit 1//g' -i autogen.sh
|
||||
sed -e 's/--enable-gtk-doc//g' -i autogen.sh
|
||||
./autogen.sh --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--libdir=/usr/lib32 \
|
||||
--libexecdir=/usr/lib32/$name \
|
||||
--localstatedir=/var \
|
||||
--disable-{dumper,tests,vala,nls,gtk}
|
||||
make -j1
|
||||
make DESTDIR=$PKG -C libdbusmenu-glib -j1 install
|
||||
|
||||
# mv $PKG/usr/lib/girepository-1.0 $PKG/usr/lib32
|
||||
rm -fr $PKG/usr/{lib,include,share}
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user