smlinux/gtk/libunique/libunique.SMBuild
PktSurf 4a7a115ed4 Fixed CFLAGS in extra/{feh,v4l-utils} and gtk/libunique
Upgraded net/samba to 4.18.0
Discarded doinst.sh from extra/{mpv,v4l-utils} and gtk/{gcr,goffice,gsettings-desktop-schemas}
Discarded gtk/gtk-sharp
Repositioned nand-utils source extraction code inside a subshell in extra/mtd-utils
Discarded code to remove tests in gtk/{atkmm,cairomm,libsoup}
Disabled tests in build option of gtk/{gdk-pixbuf,gtk3,libdazzle}
Fixed mkdir code in gtk/{gegl,gnome-desktop,gobject-introspection,libdazzle,libglade,libmanette} for aiding in resuming build
Rewrote gtk/gnome-icon-theme pc file in the build file itself
Fixed gtk/gtk2's doinst.sh
Disabled static libraries compile in gtk/openjpeg
Updated buildlist of net
Fixed net/privoxy build file
2023-03-16 23:19:14 +05:30

44 lines
1.1 KiB
Text
Executable file

app=libunique
version=1.1.6
build=1sml
homepage="https://wiki.gnome.org/Attic/LibUnique"
download="https://download.gnome.org/sources/libunique/1.1/libunique-$version.tar.bz2"
desc="Library for writing single instance applications"
requires="gtk2 graphite2"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
applypatch $srcdir/libunique-1.1.6-G_CONST_RETURN.patch
}
build() {
CFLAGS+=" -Wno-deprecated-declarations" \
CXXFLAGS="$CFLAGS" \
./configure \
--prefix="" \
--enable-dbus=yes \
--with-x \
--enable-debug=no \
--disable-dependency-tracking \
--disable-maintainer-flags \
--enable-static=no \
$builddist
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
a675115244e9df0ea48add1f84b06ec33f3207773c91817e77b902a4dd8b01cdba1ad18ce00e4fa6a65adc2631b9cd1a33b4a426fb1b852a6d64c100e0b858f3 libunique-1.1.6.tar.lz
b1df46be67911e2ddc8cb99f0dbf785121e1c4818f1327c03047d577a3ba2a845166c138873b4f5fde35682831cd099a88e28586db9b3db516facc851723bd7b libunique-1.1.6-G_CONST_RETURN.patch
"