mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-29 17:35:13 +08:00
🌴 Sync 2026-03-05 23:51:42
This commit is contained in:
1 parent
97c049ed0a
commit
0acff03804
14253 files changed
+3893239
No files matched your search
@@ -0,0 +1,45 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=python-gobject
|
||||
PKG_VERSION:=3.46.0
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=python311-gobject-prebuilt-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://github.com/jjm2473/openwrt-apps/releases/download/prebuilt/
|
||||
PKG_HASH:=skip
|
||||
|
||||
PKG_MAINTAINER:=jjm2473 <jjm2473@gmail.com>
|
||||
PKG_LICENSE:=LGPL-2.1-or-later
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/python-gobject
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/python3-gobject
|
||||
SECTION:=lang
|
||||
CATEGORY:=Languages
|
||||
SUBMENU:=Python
|
||||
TITLE:=Python bindings for the GObject library
|
||||
DEPENDS:=@(x86_64||aarch64) +gobject-introspection
|
||||
URL:=https://pygobject.gnome.org
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
true
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
rm -f $(PKG_BUILD_DIR)/*/usr/lib/python3.*/site-packages/gi/_gi_cairo.*.so
|
||||
endef
|
||||
|
||||
define Package/python3-gobject/install
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr
|
||||
|
||||
$(CP) \
|
||||
$(PKG_BUILD_DIR)/$(ARCH)/usr/lib \
|
||||
$(1)/usr
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,python3-gobject))
|
||||
Reference in new issue
Block a user